/* Compact layout styles for contact page */
.inner-hero-section {
  padding-bottom: 15px;
  margin-bottom: 0;
}

.hero-inner-text {
  font-size: 32px;
  line-height: 38px;
  margin-bottom: 5px;
}

.content-section.contact-page {
  margin-top: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper.contact {
  margin: 20px auto;
  padding: 40px 30px 30px;
  border-radius: 25px;
  background-color: white;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.success-header {
  margin: 0 0 25px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.success-header h1 {
  font-size: 28px;
  margin-bottom: 5px;
  line-height: 1.2;
  color: var(--weddins);
  text-align: center;
}

/* Plan card styles */
.plans-container {
  gap: 16px;
  padding: 0;
  max-width: 980px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  position: relative;
  z-index: 3;
}

.plan-card {
  padding: 15px;
  min-width: 220px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
}

.plan-header {
  font-size: 22px;
  margin-bottom: 5px;
}

.plan-price {
  font-size: 32px;
  margin-bottom: 10px;
}

.plan-features {
  margin-bottom: 15px;
  text-align: left;
}

.feature-row {
  padding: 5px 0;
  font-size: 14px;
  text-align: center;
}

.select-plan {
  padding: 10px;
  font-size: 15px;
  margin-top: auto;
}

.plan-card.featured {
  transform: scale(1.03);
  border: 2px solid var(--weddins);
}

/* Form styles */
.form {
  width: 100%;
  margin-left: 0;
  margin-top: 15px;
}

.flex-inputs {
  margin-bottom: 8px;
}

.form-input {
  margin-bottom: 0;
}

.form-button.shadow.w-button {
  margin-top: 15px !important;
  margin-bottom: 15px !important;
}

/* Fix subtitle position and spacing */
.subtitle-box {
  margin-top: 0;
  margin-bottom: 40px;
}

.hero-subtitle {
  margin-top: 0;
  margin-bottom: 0;
  /* Ensure subtitle is visible by default */
  opacity: 1 !important;
  transform: none !important;
}

/* Media query for very small heights */
@media screen and (max-height: 700px) {
  .inner-hero-section {
    padding-bottom: 0;
  }
  
  .content-section.contact-page {
    margin-top: 10px;
  }
  
  .hero-inner-text {
    font-size: 26px;
    line-height: 32px;
  }
  
  .success-header h1 {
    font-size: 24px;
    margin-bottom: 3px;
  }
  
  .plan-card {
    padding: 10px;
  }
  
  .feature-row {
    padding: 3px 0;
    font-size: 13px;
  }
  
  .form-button.shadow.w-button {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }
  
}

/* Mobile responsive fixes */
@media screen and (max-width: 767px) {
  /* Fix column form width on mobile */
  .column-form {
    width: 100% !important;
  }
  
  /* Fix form block width on mobile */
  .form-block {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Fix form width and margin on mobile */
  .form {
    width: 100% !important;
    margin-left: 0 !important;
  }
  
  /* Ensure hero subtitle is visible */
  .hero-subtitle {
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Adjust padding for better layout */
  .content-wrapper.contact {
    padding: 30px 15px 20px;
  }
  
  /* Make plan cards more compact */
  .plan-card {
    min-width: 150px;
    padding: 10px;
    align-self: center;
  }
  
  /* Reduce plan feature size */
  .feature-row {
    font-size: 13px;
    padding: 3px 0;
  }
  .subtitle-box {
    margin-bottom: 0px;
  }
}

/* Dynamic sizing classes */
.compact-view .content-section.contact-page {
  margin-top: 15px;
}

.compact-view .inner-hero-section {
  padding-bottom: 5px;
}

.compact-view .hero-inner-text {
  font-size: 28px;
  line-height: 34px;
}

.compact-view .success-header h1 {
  font-size: 26px;
  margin-bottom: 5px;
}

.compact-view .plan-card {
  padding: 12px;
}

.compact-view .feature-row {
  padding: 4px 0;
  font-size: 13px;
}

.compact-view .form-button.shadow.w-button {
  margin-top: 12px !important;
  margin-bottom: 12px !important;
}

/* Very compact view for small screens */
.very-compact-view .content-section.contact-page {
  margin-top: 5px;
}

.very-compact-view .inner-hero-section {
  padding-bottom: 0;
  margin-bottom: 0;
}

.very-compact-view .hero-inner-text {
  font-size: 24px;
  line-height: 30px;
}

.very-compact-view .success-header h1 {
  font-size: 22px;
  margin-bottom: 3px;
}

.very-compact-view .plan-card {
  padding: 8px;
}

.very-compact-view .plan-header {
  font-size: 20px;
  margin-bottom: 3px;
}

.very-compact-view .plan-price {
  font-size: 28px;
  margin-bottom: 8px;
}

.very-compact-view .feature-row {
  padding: 2px 0;
  font-size: 12px;
}

.very-compact-view .select-plan {
  padding: 8px;
  font-size: 14px;
}

.very-compact-view .form-button.shadow.w-button {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
  padding: 8px 15px;
}

/* Ensure card alignment is perfect */
.column-form {
  width: 100%;
  padding-top: 0;
}

/* Adjust card top corner */
.card-top-corner {
  display: none;
}

/* Adjust heading and container */
body {
  background-color: #f9f9f9;
} 