/* Support Section Redesign - Premium Dark Theme */

.support-section {
  background: linear-gradient(
    56deg,
    #fce7e9 0%,
    #ffffff 40%,
    #ffffff 60%,
    #e1f4f9 100%
  ); /* Matches Why Choose us dark theme */
  color: #ffffff;
  padding: 0px 100px 100px 100px;
  position: relative;
  overflow: visible; /* Ensure form doesn't get clipped */
  /* border-bottom-right-radius: 160px; */
}

/* CTA Styles Integrated */
.support-cta-header {
  padding: 40px 0 0 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.support-cta-header h2 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.support-cta-header p {
  font-size: 1.25rem;
  color: #94a3b8;
  max-width: 100%; /* Ensure it can take full width for single line */
  margin: 0 auto;
  line-height: 1.6;
  white-space: nowrap; /* Force single line as requested */
}

@media (max-width: 1200px) {
  .support-cta-header p {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .support-cta-header h2 {
    font-size: 2.1rem;
  }
  .support-cta-header p {
    font-size: 1.1rem;
    white-space: normal; /* Allow wrap on small screens */
  }
}

@media (max-width: 991px) {
  .support-section {
    padding: 40px 20px;
  }
  .support-cta-header {
    padding: 0 !important;
  }
}

@media (max-width: 576px) {
  .support-section {
    padding: 20px 15px;
  }
  .support-cta-header {
    padding: 0 !important;
  }
}

.support-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 15% 50%,
      rgba(23, 92, 255, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 50%,
      rgba(37, 99, 235, 0.05) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.support-content {
  position: relative;
  z-index: 2;
}

.support-content h4 {
  color: #3b82f6;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.support-content h1,
.support-content h2 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 25px;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .support-content h1,
  .support-content h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 576px) {
  .support-content h1,
  .support-content h2 {
    font-size: 2.1rem;
  }
}

.support-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 550px;
}

/* Agent Brand Style (Inspired by reference) */
.support-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
}

.support-brand .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #175cff, #3b82f6);
  padding: 2px;
}

.support-brand .avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.support-brand .info h6 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.support-brand .info span {
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Form container styling */
.support-form-container {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Hover effect for form container */
.support-form-container:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

/* Floating Icon Decoration */
.support-floating-icon {
  position: absolute;
  bottom: 50px;
  left: 50px;
  width: 80px;
  height: 80px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 991px) {
  .support-content {
    text-align: center;
    margin-bottom: 50px;
  }
  .support-content p {
    margin: 0 auto;
  }
  .support-brand {
    justify-content: center;
  }
  .support-content h2 {
    font-size: 2.1rem;
  }
}

/* HubSpot Form Custom Styling - Premium Redesign */
/* Remove separate box look, only provide space */
.feature-tab-info {
  min-height: 500px;
  position: relative;
  z-index: 10;
  width: 100% !important;
}

/* Apply Glassmorphism directly to the HubSpot Form */
.hs-form {
  background: rgba(15, 23, 42, 0.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 40px !important;
  border-radius: 20px !important;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(59, 130, 246, 0.1);
  max-width: 100% !important;
}

@media (max-width: 576px) {
  .hs-form {
    padding: 25px 15px !important;
    border-radius: 15px !important;
  }
}

.hs-form fieldset {
  max-width: 100% !important;
}

/* HubSpot Form Step Background */
.hsfc-Step {
  background-color: transparent !important;
}

.hsfc-Step .hsfc-Step__Content {
  padding: 0 !important;
  background-color: transparent !important;
}

/* Field Labels */
.hsfc-FieldLabel {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  margin-bottom: 10px !important;
  display: block !important;
}

/* Input Fields - Premium Dark Style (Robust Selectors) */
.hs-form .hs-input,
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form input[type="number"],
.hs-form select,
.hs-form textarea {
  background-color: #020617 !important; /* As requested: #020617 */
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
  color: #ffffff !important;
  border-radius: 15px !important;
  padding: 15px 20px !important;
  font-size: 1rem !important;
  width: 100% !important;
  min-height: 55px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-sizing: border-box !important;
}

/* Ensure textarea has enough height */
.hs-form textarea {
  min-height: 120px !important;
}

.hs-form .hs-input:focus,
.hs-form input:focus,
.hs-form select:focus,
.hs-form textarea:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  background-color: rgba(15, 23, 42, 0.9) !important;
  box-shadow:
    0 0 0 4px rgba(59, 130, 246, 0.15),
    0 0 15px rgba(59, 130, 246, 0.2) !important;
  transform: translateY(-1px);
}

/* Input Placeholder */
.hs-form .hs-input::placeholder,
.hs-form input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Primary Button Styling - Animated Gradient */
.hsfc-PrimaryButton {
  background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
  border: none !important;
  padding: 16px 32px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3) !important;
  width: 100% !important;
  margin-top: 15px !important;
}

.hsfc-PrimaryButton:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.4) !important;
  background: linear-gradient(135deg, #1d4ed8, #60a5fa) !important;
}

.hsfc-PrimaryButton:active {
  transform: translateY(-1px);
}

/* Helper Text */
.hsfc-FieldDescription {
  color: rgba(148, 163, 184, 0.8) !important;
  font-size: 0.85rem !important;
  margin-top: 4px !important;
}

/* Error States */
.hsfc-FieldError {
  color: #ef4444 !important;
  font-size: 0.85rem !important;
  margin-top: 6px !important;
}

.hs-input.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2) !important;
}
