/* Contact Page Specific Styles */
.contact-page {
    background: linear-gradient(180deg, rgba(88, 100, 255, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
  }
  
  /* Contact Section Styles */
  .contact-section {
    position: relative;
    z-index: 1;
    padding: 200px 0 100px;
    background-image: url("../img/hero/hero-bg.svg");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 0;
  }
  
  .contact-section .section-title h2 {
    color: #fff;
  }
  
  .contact-section .section-title p {
    color: #fff;
    opacity: 0.9;
  }
  
  
  @media (max-width: 991px) {
    .contact-section {
      padding: 140px 0 80px;
    }
  }
  
  /* Form Wrapper Styles */
  .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(88, 100, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(88, 100, 255, 0.06);
    transition: all 0.3s ease;
  }
  
  .contact-form-wrapper:hover {
    border-color: rgba(88, 100, 255, 0.2);
    box-shadow: 0 12px 30px rgba(88, 100, 255, 0.08);
  }
  
  /* Form Input Styles */
  .single-input {
    margin-bottom: 24px;
  }
  
  .single-input label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #162447;
  }
  
  .single-input input,
  .single-input select,
  .single-input textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid rgba(88, 100, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #162447;
    font-size: 16px;
    transition: all 0.3s ease;
  }
  
  .single-input input:focus,
  .single-input select:focus,
  .single-input textarea:focus {
    outline: none;
    border-color: rgba(88, 100, 255, 0.4);
    background: #fff;
    box-shadow: 0 4px 12px rgba(88, 100, 255, 0.08);
  }
  
  .single-input input::placeholder,
  .single-input select::placeholder,
  .single-input textarea::placeholder {
    color: #5B657E;
    opacity: 0.7;
  }
  
  .single-input select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235864FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 44px;
  }
  
  .single-input textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  /* Form Button Styles */
  .form-button {
    margin-top: 16px;
  }
  
  .form-button .main-btn {
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
  }
  
  /* Contact Info Cards */
  .contact-info {
    margin-top: 80px;
  }
  
  .info-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(88, 100, 255, 0.1);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
  }
  
  .info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 100, 255, 0.2);
    box-shadow: 0 12px 30px rgba(88, 100, 255, 0.08);
  }
  
  .info-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(88, 100, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .info-card:hover .icon {
    background: #5864FF;
  }
  
  .info-card .icon i {
    font-size: 32px;
    color: #5864FF;
    transition: all 0.3s ease;
  }
  
  .info-card:hover .icon i {
    color: #fff;
  }
  
  .info-card h5 {
    font-size: 20px;
    color: #162447;
    margin-bottom: 12px;
  }
  
  .info-card p {
    font-size: 15px;
    color: #5B657E;
    margin-bottom: 16px;
  }
  
  .info-card .contact-link {
    color: #5864FF;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .info-card .contact-link:hover {
    color: #4852d9;
  }
  
  /* Form Validation Styles */
  .single-input input:invalid:not(:placeholder-shown),
  .single-input select:invalid:not(:placeholder-shown),
  .single-input textarea:invalid:not(:placeholder-shown) {
    border-color: #ff6b6b;
  }
  
  .single-input input:valid:not(:placeholder-shown),
  .single-input select:valid:not(:placeholder-shown),
  .single-input textarea:valid:not(:placeholder-shown) {
    border-color: #51cf66;
  }
  
  /* Loading State Styles */
  .form-button .main-btn.loading {
    position: relative;
    color: transparent;
  }
  
  .form-button .main-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  /* Responsive Adjustments */
  @media (max-width: 991px) {
    .contact-form-wrapper {
      padding: 30px;
    }
    
    .info-card {
      margin-bottom: 24px;
    }
  }
  
  @media (max-width: 767px) {
    .contact-form-wrapper {
      padding: 24px;
    }
    
    .single-input input,
    .single-input select,
    .single-input textarea {
      padding: 10px 16px;
      font-size: 15px;
    }
    
    .form-button .main-btn {
      width: 100%;
      padding: 14px 32px;
    }
    
    .info-card {
      padding: 24px 20px;
    }
    
    .info-card .icon {
      width: 56px;
      height: 56px;
    }
    
    .info-card .icon i {
      font-size: 28px;
    }
    
    .info-card h5 {
      font-size: 18px;
    }
  }
  
  /* Print Styles */
  @media print {
    .contact-form-wrapper,
    .info-card {
      box-shadow: none;
      border: 1px solid #000;
    }
    
    .single-input input,
    .single-input select,
    .single-input textarea {
      border: 1px solid #000;
    }
  }
  
  .hidden {
    display: none !important;
  }
  
  .form-success,
  .form-error {
    display: none;
    text-align: center;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
  }
  
  .form-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }
  
  .form-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus,
  .contact-form select:focus {
    outline: none;
    border-color: #5864FF;
    box-shadow: 0 0 0 2px rgba(88, 100, 255, 0.1);
  }
  
  /* Loading indicator for form submission */
  .btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
  }
  
  .btn-loading::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 50%;
    left: 50%;
    margin: -0.5rem 0 0 -0.5rem;
    border: 2px solid #ffffff;
    border-right-color: transparent;
    border-radius: 50%;
    animation: button-loading-spinner 0.75s linear infinite;
  }
  
  @keyframes button-loading-spinner {
    from {
      transform: rotate(0turn);
    }
    to {
      transform: rotate(1turn);
    }
  }
  
  /* Mobile Fixes for How It Works Section */