/* ===============================
   Flow Studio - Popup Form Styling
   Add this file as style.css
   =============================== */

/* html {
  scroll-behavior: smooth;
} */

body.modal-open {
  overflow: hidden;
}

/* Modal wrapper */
.project-modal[hidden] {
  display: none !important;
}

.project-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
}

.project-modal-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(4, 2, 40, 0.68) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.project-modal-box {
  position: relative !important;
  z-index: 1 !important;
  width: min(100%, 780px) !important;
  max-height: calc(100vh - 48px) !important;
  overflow-y: auto !important;
  background: #ffffff !important;
  color: #050429 !important;
  border-radius: 28px !important;
  padding: 34px !important;
  box-shadow: 0 30px 100px rgba(4, 2, 40, 0.28) !important;
  border: 1px solid rgba(98, 93, 245, 0.16) !important;
}

.close-btn {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: 1px solid #e7e7f2 !important;
  background: #f7f7ff !important;
  color: #050429 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.form-kicker {
  margin: 0 0 8px !important;
  color: #4a5dff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.project-modal-box h2 {
  margin: 0 0 10px !important;
  font-size: clamp(30px, 4vw, 46px) !important;
  line-height: 1.05 !important;
  color: #050429 !important;
}

.form-subtitle {
  margin: 0 0 22px !important;
  max-width: 620px !important;
  color: #696a78 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.form-actions {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-bottom: 24px !important;
}

.form-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid #e2e3f0 !important;
  background: #fff !important;
  color: #050429 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

.form-action.active {
  color: #fff !important;
  background: linear-gradient(135deg, #6d4cff, #2458ff) !important;
  border-color: transparent !important;
}

.form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.form-grid label {
  display: block !important;
  margin-bottom: 8px !important;
  color: #050429 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
}

.optional {
  color: #8b8c99 !important;
  font-weight: 600 !important;
}

.form-grid input,
.form-grid textarea {
  width: 100% !important;
  border: 1px solid #e3e4ef !important;
  border-radius: 16px !important;
  background: #f8f9ff !important;
  color: #050429 !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: #5264ff !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(82, 100, 255, 0.12) !important;
}

.form-grid textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

.full-width {
  grid-column: 1 / -1 !important;
}

.whatsapp-btn {
  border: none !important;
  cursor: pointer !important;
  min-height: 54px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #6d4cff, #2458ff) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  box-shadow: 0 16px 34px rgba(36, 88, 255, 0.28) !important;
}

.full-btn {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

/* mobile */
@media (max-width: 640px) {
  .project-modal {
    align-items: flex-end !important;
    padding: 12px !important;
  }

  .project-modal-box {
    width: 100% !important;
    max-height: 92vh !important;
    border-radius: 24px 24px 18px 18px !important;
    padding: 26px 18px 20px !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .project-modal-box h2 {
    font-size: 30px !important;
    padding-right: 44px !important;
  }

  .close-btn {
    top: 14px !important;
    right: 14px !important;
  }
}
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 14px;
  overflow-y: auto;
  background: rgba(5, 5, 20, 0.72);
}

.project-modal-box {
  width: min(100%, 640px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.modal-open {
  overflow: hidden !important;
  height: 100vh;
}
@media (min-width: 992px) {

  .hero-content,
  .hero-wrapper,
  .hero-text-wrap,
  .banner-content {
    margin: 0 auto;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .hero-content p,
  .banner-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .banner-buttons {
    justify-content: center;
  }
}

/* DESKTOP HERO CENTER FIX */
@media (min-width: 992px){

  .hero-wrapper{
      display:flex !important;
      justify-content:center !important;
      align-items:center !important;
      text-align:center !important;
  }

  .hero-wrapper .section-header{
      max-width:900px !important;
      width:100% !important;
      margin:0 auto !important;
      text-align:center !important;
  }

  .hero-p-wrap{
      max-width:700px !important;
      margin:0 auto !important;
  }

  .hero-button-wrapper{
      justify-content:center !important;
  }

}

.cta-wrapper{
    text-align:center !important;
}

.cta-wrapper .section-header{
    margin:0 auto !important;
    align-items:center !important;
}

.faq-button-wrapper{
    justify-content:center !important;
}