/* Shared Global Header Styles - Soft Warm Cream #FAF9F5 matching section frames */

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.site-header {
  background-color: #FAF9F5 !important; /* Soft warm cream matching section frame background */
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #E5E1D8;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 12px;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Authentic Brand Logo Lockup - Clean Light Theme on Warm Beige Header */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.site-logo:hover {
  transform: translateY(-1px);
}

.brand-mark-symbol {
  width: 46px; /* Increased by 10% */
  height: 46px;
  background: #181512;
  border: 1px solid rgba(212, 175, 55, 0.50);
  border-radius: 10px;
  padding: 6px;
  object-fit: contain;
  box-shadow: 0 3px 12px rgba(24, 21, 18, 0.18);
  flex-shrink: 0;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.site-logo:hover .brand-mark-symbol {
  border-color: #D4AF37;
  box-shadow: 0 5px 14px rgba(24, 21, 18, 0.24);
}

.brand-text-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.brand-main-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0B213F; /* Deep Sapphire Enterprise Navy */
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  color: #5A7184; /* Slate Blue */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
  border-top: 1.5px solid #1B63B8; /* Sapphire Accent Line */
  padding-top: 2px;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #152940;
  padding: 6px 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #1b63b8;
}

.nav-link.hire-talent-link {
  color: #1b63b8 !important;
  font-weight: 700;
}

.nav-link svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  opacity: 0.8;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  border: 1px solid #DCE3EA;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  min-width: 250px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 9px 16px;
  font-size: 0.86rem;
  color: #18202A;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: #FAF8F5;
  color: #1b63b8;
  padding-left: 20px;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-demo-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #181512;
  color: #FAF9F5 !important;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 3px 12px rgba(24, 21, 18, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.25;
}
.header-demo-cta:hover {
  background: #25201A;
  border-color: #D4AF37;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(24, 21, 18, 0.22), 0 0 14px rgba(212, 175, 55, 0.25);
}
.header-demo-cta .cta-eyebrow {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.62rem;
  font-weight: 800;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 2px;
  line-height: 1;
}
.header-demo-cta .cta-main-text {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FAF9F5;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.header-actions .btn {
  padding: 9px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.header-actions .btn-primary {
  background-color: #1B63B8;
  color: #FFFFFF;
  border: 1px solid #1B63B8;
}
.header-actions .btn-primary:hover {
  background-color: #134B8C;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(27, 99, 184, 0.35);
}

.header-actions .btn-secondary {
  background-color: transparent;
  color: #152940;
  border: 1px solid #152940;
}
.header-actions .btn-secondary:hover {
  background-color: #152940;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Mobile Toggle & Drawer - Base rules */
.mobile-menu-toggle {
  display: none !important;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #152940;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.mobile-drawer {
  display: none !important;
  background: #FAF9F5;
  border-top: 1px solid #E5E1D8;
  padding: 20px 24px 28px;
  width: 100%;
  box-sizing: border-box;
}

.mobile-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-drawer-links a {
  color: #152940;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}
.mobile-drawer-links a:hover {
  color: #1b63b8;
}
.mobile-drawer-actions,
.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-drawer-actions .btn,
.mobile-actions .btn {
  text-align: center;
  width: 100%;
}

/* Fluid Responsive Scaling between 1180px and 1320px */
@media (max-width: 1320px) {
  .header-inner {
    padding: 0 12px;
    gap: 8px;
  }
  .nav-list {
    gap: 3px;
  }
  .nav-link {
    font-size: 0.79rem;
    padding: 5px 3px;
  }
  .brand-mark-symbol {
    width: 34px;
    height: 34px;
  }
  .brand-main-title {
    font-size: 1.05rem;
  }
  .brand-sub-tagline {
    font-size: 0.58rem;
  }
  .header-actions .btn {
    padding: 7px 12px;
    font-size: 0.80rem;
  }
}

/* Desktop Safety Guarantee: NEVER show mobile drawer or hamburger on desktop */
@media (min-width: 1181px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-drawer,
  .mobile-drawer.active {
    display: none !important;
  }
}

/* Mobile & Tablet Breakpoint - Activate Drawer at or below 1180px */
@media (max-width: 1180px) {
  .main-nav {
    display: none !important;
  }
  .header-actions {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
  .mobile-drawer.active {
    display: block !important;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 70px;
    padding: 0 12px;
  }
  .site-logo {
    gap: 8px;
  }
  .brand-mark-symbol {
    width: 32px;
    height: 32px;
  }
  .brand-main-title {
    font-size: 0.98rem;
  }
  .brand-sub-tagline {
    font-size: 0.54rem;
  }
}

/* =========================================================
   Floating WhatsApp Widget & Lead Capture Popup
   Target Number: +91 9920062208 (Jitendra Sir)
   ========================================================= */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF !important;
  padding: 10px 18px 10px 14px;
  border-radius: 50px;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.12);
  text-decoration: none !important;
  border: none;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.floating-whatsapp-widget:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.16);
  background: #20BD5A;
  color: #FFFFFF !important;
}
.floating-whatsapp-icon {
  width: 24px;
  height: 24px;
  fill: #FFFFFF;
  flex-shrink: 0;
}
.floating-whatsapp-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* WhatsApp Lead Capture Popup Card */
.whatsapp-chat-popup {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: 9995;
  display: none;
  flex-direction: column;
  border: 1px solid #E2E8F0;
  animation: waPopupFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.whatsapp-chat-popup.active {
  display: flex;
}

@keyframes waPopupFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wa-popup-header {
  background: #075E54;
  color: #FFFFFF;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-popup-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-popup-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #128C7E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.wa-popup-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.wa-online-status-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #25D366;
  border: 2px solid #075E54;
  border-radius: 50%;
}

.wa-popup-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.wa-popup-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.wa-popup-status {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.74rem;
  color: #D1FAE5;
  margin-top: 2px;
}

.wa-popup-close-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  opacity: 0.85;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: opacity 0.2s;
}

.wa-popup-close-btn:hover {
  opacity: 1;
}

.wa-popup-body {
  padding: 18px 20px 20px;
  background: #FAF8F5;
}

.wa-popup-bubble {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  border-top-left-radius: 4px;
  padding: 12px 14px;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.45;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.wa-popup-bubble strong {
  color: #0F172A;
}

.wa-popup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-form-input, .wa-form-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.86rem;
  background: #FFFFFF;
  color: #1E293B;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wa-form-input:focus, .wa-form-select:focus {
  outline: none;
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}

.wa-submit-btn {
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 11px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.90rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.wa-submit-btn:hover {
  background: #20BD5A;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

.wa-popup-trust {
  font-size: 0.72rem;
  color: #64748B;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .floating-whatsapp-widget {
    bottom: 18px;
    right: 16px;
    padding: 12px;
    border-radius: 50%;
  }
  .floating-whatsapp-text {
    display: none;
  }
  .floating-whatsapp-icon {
    width: 26px;
    height: 26px;
  }
  .whatsapp-chat-popup {
    bottom: 74px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}

/* =========================================================
   Shared Global Footer Styles (Warm Dark Espresso #1F1C18)
   ========================================================= */
.site-footer {
  background-color: #1F1C18 !important;
  color: #FAF9F5 !important;
  padding: 56px 0 28px;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  margin-top: 60px;
  text-align: left !important;
}

.site-footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.footer-top-grid {
  display: grid !important;
  grid-template-columns: 1.4fr 1.15fr 1.15fr 1.1fr !important;
  gap: 36px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
  text-align: left !important;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left !important;
  align-items: flex-start !important;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 4px;
  text-align: left !important;
}

.footer-symbol {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.40);
  transition: all 0.25s ease;
}

.footer-brand-header:hover .footer-symbol {
  transform: translateY(-1px);
}

.footer-text-lockup {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left !important;
}

.footer-main-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #FAF9F5;
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
}

.footer-sub-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #D4AF37; /* Champagne Gold */
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

.footer-wordmark {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.90rem;
  font-weight: 700;
  color: #FAF9F5;
  letter-spacing: -0.01em;
  line-height: 1.45;
  margin: 0;
  text-align: left !important;
}

.footer-subtagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.80rem;
  color: #B8AEA2;
  line-height: 1.5;
  margin: 0;
  text-align: left !important;
}

/* MSME Udyam Registration Trust Badge */
.footer-udyam-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 8px;
  padding: 8px 14px;
  margin-top: 6px;
  max-width: 360px;
  text-align: left !important;
}

.udyam-logo-box {
  background: #FFFFFF;
  border-radius: 5px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.udyam-emblem {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.udyam-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left !important;
}

.udyam-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #FAF9F5;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.udyam-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  color: #B8AEA2;
  line-height: 1.3;
}

.udyam-badge-id {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.60rem;
  font-weight: 800;
  color: #D4AF37;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 1px;
}

.footer-col {
  text-align: left !important;
}

.footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  color: #FAF9F5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0;
  margin-bottom: 18px;
  line-height: 1.3;
  text-align: left !important;
  display: block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left !important;
  align-items: flex-start !important;
}

.footer-links li {
  margin: 0;
  padding: 0;
  text-align: left !important;
}

.footer-links a {
  font-size: 0.84rem;
  color: #D0C7BC;
  text-decoration: none;
  line-height: 1.45;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: left !important;
}

.footer-links a:hover {
  color: #D4AF37;
  transform: translateX(4px);
}

.footer-contact-item,
.contact-item {
  font-size: 0.84rem;
  color: #DCD4C7;
  margin-bottom: 12px;
  line-height: 1.5;
  display: flex;
  gap: 10px;
  text-align: left !important;
  align-items: flex-start !important;
}

.footer-contact-item svg,
.contact-item svg {
  color: #D4AF37 !important;
  stroke: #D4AF37 !important;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a,
.contact-item a {
  color: #D4AF37;
  text-decoration: none;
}

.footer-contact-item a:hover,
.contact-item a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  font-size: 0.74rem;
  color: #9E9385;
  text-align: center !important;
  padding-top: 14px;
}

.footer-bottom p {
  margin: 4px 0;
}

@media (max-width: 991px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
}