/* ============================================================
   Custom site header — one unified white bar
   ============================================================ */
#eshaan-site-header {
  display:         flex;
  flex-direction:  row;
  align-items:     center;
  justify-content: space-between;
  flex-wrap:       nowrap;
  gap:             24px;
  width:           100%;
  box-sizing:      border-box;
  background:      #ffffff;
  padding:         18px 40px;
  min-height:      88px;
  box-shadow:      0 2px 12px rgba(0, 0, 0, 0.10);
}

.eshaan-header-logo {
  display:      block;
  width:        auto;
  height:       auto;
  max-height:   70px;
  max-width:    240px;
  object-fit:   contain;
  flex-shrink:  0;
  flex-grow:    0;
}

#eshaan-site-header .elementor-button {
  white-space:    nowrap;
  flex-shrink:    0;
  flex-grow:      0;
  padding:        12px 32px !important;
  font-weight:    700 !important;
  border-radius:  8px !important;
  transition:     all 0.2s ease !important;
  display:        inline-flex !important;
  align-items:    center !important;
  justify-content: center !important;
}

#eshaan-site-header .elementor-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
}

#eshaan-site-header .elementor-button:active {
  transform: translateY(0) !important;
}

/* Tablet */
@media (max-width: 1024px) {
  #eshaan-site-header {
    padding:     14px 28px;
    min-height:  80px;
    gap:         16px;
  }
  .eshaan-header-logo {
    max-height: 60px;
    max-width:  210px;
  }
  #eshaan-site-header .elementor-button {
    padding:    10px 24px !important;
    font-size:  14px !important;
  }
}

/* Mobile/Tablet */
@media (max-width: 768px) {
  #eshaan-site-header {
    padding:     12px 16px;
    min-height:  72px;
    gap:         12px;
  }
  .eshaan-header-logo {
    max-height: 52px;
    max-width:  160px;
  }
  #eshaan-site-header .elementor-button {
    padding:    9px 18px !important;
    font-size:  13px !important;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  #eshaan-site-header {
    padding:     10px 12px;
    min-height:  65px;
    gap:         10px;
  }
  .eshaan-header-logo {
    max-height: 45px;
    max-width:  130px;
  }
  #eshaan-site-header .elementor-button {
    padding:    8px 14px !important;
    font-size:  12px !important;
  }
}

/* ============================================================
   Eshaan Quote Popup — strong-room-door-locker-landing
   ============================================================ */

/* Overlay */
#eshaan-quote-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999999;
  background: rgba(5, 15, 40, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
#eshaan-quote-popup.is-open {
  display: flex;
}

/* Modal box */
.eshaan-popup-box {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 24px 80px rgba(5, 15, 40, 0.38);
  overflow: hidden;
  animation: eshaanPopIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes eshaanPopIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to   { opacity: 1; transform: scale(1)   translateY(0);     }
}

/* Close button */
.eshaan-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 2;
}
.eshaan-popup-close:hover {
  background: rgba(255,255,255,0.32);
}

/* Header band */
.eshaan-popup-header {
  background: linear-gradient(135deg, #0d1f4e 0%, #1b52d4 100%);
  padding: 28px 32px 24px;
  color: #ffffff;
}
.eshaan-popup-header h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.eshaan-popup-header p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

/* Badges row */
.eshaan-popup-badges {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.eshaan-popup-badge {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.90);
  white-space: nowrap;
}

/* Form body */
.eshaan-popup-body {
  padding: 26px 32px 28px;
  background: #f6f9ff;
}

/* Row of two columns */
.eshaan-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

/* Form group */
.eshaan-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.eshaan-form-row .eshaan-form-group {
  margin-bottom: 0;
}
.eshaan-form-group label {
  font-size: 11px;
  font-weight: 700;
  color: #4a5885;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}
.eshaan-form-group label span {
  color: #d93025;
}
.eshaan-form-group input,
.eshaan-form-group textarea {
  background: #ffffff;
  border: 1.5px solid #cdd7f0;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 14px;
  color: #1a1f3a;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}
.eshaan-form-group input:focus,
.eshaan-form-group textarea:focus {
  border-color: #1b52d4;
  box-shadow: 0 0 0 3px rgba(27, 82, 212, 0.12);
  outline: none;
}
.eshaan-form-group input::placeholder,
.eshaan-form-group textarea::placeholder {
  color: #a8b3cc;
  font-size: 13.5px;
}
.eshaan-form-group textarea {
  resize: vertical;
  min-height: 88px;
}

/* Submit button */
.eshaan-popup-submit {
  width: 100%;
  background: linear-gradient(135deg, #0d1f4e 0%, #1b52d4 100%);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(13, 31, 78, 0.32);
  transition: transform 0.15s, box-shadow 0.18s, opacity 0.15s;
  margin-top: 6px;
}
.eshaan-popup-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13, 31, 78, 0.42);
}
.eshaan-popup-submit:active {
  transform: translateY(0);
}
.eshaan-popup-submit:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

/* Alert */
.eshaan-popup-body .form-alert {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
}
.eshaan-popup-body .form-alert.alert-success {
  display: block;
  background: #e8f5e9;
  color: #256029;
  border: 1px solid #a5d6a7;
}
.eshaan-popup-body .form-alert.alert-danger {
  display: block;
  background: #fff0f0;
  color: #b71c1c;
  border: 1px solid #ffb3b3;
}

/* ── Responsive ── */
@media (max-width: 540px) {
  .eshaan-popup-header {
    padding: 22px 20px 18px;
  }
  .eshaan-popup-body {
    padding: 20px 18px 22px;
  }
  .eshaan-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .eshaan-form-row .eshaan-form-group {
    margin-bottom: 14px;
  }
  .eshaan-popup-header h3 {
    font-size: 19px;
  }
}

/* ============================================================
   Inline Contact Form (bottom of page)
   ============================================================ */
.eshaan-inline-form {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(5, 15, 40, 0.13);
  border: 1px solid #dce5ff;
  overflow: hidden;
  width: 100%;
}

.eshaan-inline-form-header {
  background: linear-gradient(135deg, #0d1f4e 0%, #1b52d4 100%);
  padding: 24px 28px 20px;
}
.eshaan-inline-form-header h4 {
  margin: 0 0 5px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.eshaan-inline-form-header p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.76);
  line-height: 1.5;
}

.eshaan-inline-form-body {
  padding: 24px 28px 26px;
  background: #f6f9ff;
}

/* Reuse the same group/row classes from the popup */
.eshaan-inline-form .eshaan-form-group { margin-bottom: 14px; }
.eshaan-inline-form .eshaan-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.eshaan-inline-form .eshaan-form-row .eshaan-form-group { margin-bottom: 0; }
.eshaan-inline-form .eshaan-form-group label {
  font-size: 11px;
  font-weight: 700;
  color: #4a5885;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
  display: block;
}
.eshaan-inline-form .eshaan-form-group label span { color: #d93025; }
.eshaan-inline-form .eshaan-form-group input,
.eshaan-inline-form .eshaan-form-group textarea {
  background: #ffffff;
  border: 1.5px solid #cdd7f0;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 14px;
  color: #1a1f3a;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}
.eshaan-inline-form .eshaan-form-group input:focus,
.eshaan-inline-form .eshaan-form-group textarea:focus {
  border-color: #1b52d4;
  box-shadow: 0 0 0 3px rgba(27, 82, 212, 0.12);
  outline: none;
}
.eshaan-inline-form .eshaan-form-group input::placeholder,
.eshaan-inline-form .eshaan-form-group textarea::placeholder {
  color: #a8b3cc;
  font-size: 13.5px;
}
.eshaan-inline-form .eshaan-form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.eshaan-inline-submit {
  width: 100%;
  background: linear-gradient(135deg, #0d1f4e 0%, #1b52d4 100%);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(13, 31, 78, 0.32);
  transition: transform 0.15s, box-shadow 0.18s, opacity 0.15s;
  margin-top: 4px;
  font-family: inherit;
}
.eshaan-inline-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13, 31, 78, 0.42);
}
.eshaan-inline-submit:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.eshaan-inline-form .form-alert {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
}
.eshaan-inline-form .form-alert.alert-success {
  display: block;
  background: #e8f5e9;
  color: #256029;
  border: 1px solid #a5d6a7;
}
.eshaan-inline-form .form-alert.alert-danger {
  display: block;
  background: #fff0f0;
  color: #b71c1c;
  border: 1px solid #ffb3b3;
}

/* Hide CF7 artefacts that may still be in the markup */
.eshaan-inline-form .hidden-fields-container,
.eshaan-inline-form .screen-reader-response,
.eshaan-inline-form .wpcf7-response-output,
.eshaan-inline-form .wpcf7-spinner { display: none !important; }

@media (max-width: 600px) {
  .eshaan-inline-form .eshaan-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .eshaan-inline-form .eshaan-form-row .eshaan-form-group {
    margin-bottom: 14px;
  }
  .eshaan-inline-form-header,
  .eshaan-inline-form-body {
    padding-left: 18px;
    padding-right: 18px;
  }
}
