.contact-page-redesign {
  background-color: #fcfafc;
  font-family: var(--font-primary, sans-serif);
  padding-bottom: 50px;
  /* Hero Section */
  /* Main Content Area */
  /* Help Card */
  /* Shared Card Styles */
  /* Message Form */
  /* Other Ways Card */
}

.contact-page-redesign .contact-hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
}

.ltr .contact-page-redesign .contact-hero {
  background: linear-gradient(180deg, rgba(235, 212, 252, 0.8) 0%, rgb(255, 255, 255) 100%);
}

.rtl .contact-page-redesign .contact-hero {
  background: linear-gradient(-180deg, rgba(235, 212, 252, 0.8) 0%, rgb(255, 255, 255) 100%);
}

.contact-page-redesign .contact-hero .hero-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: 0;
  mix-blend-mode: multiply;
}

.ltr .contact-page-redesign .contact-hero .hero-bg {
  left: 0;
}

.rtl .contact-page-redesign .contact-hero .hero-bg {
  right: 0;
}

.contact-page-redesign .contact-hero .hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

@media (max-width: 767px) {
  .contact-page-redesign .contact-hero .hero-content {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(8px);
    padding: 25px 20px !important;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(28, 17, 59, 0.08);
    margin: 0 15px;
  }
}

.contact-page-redesign .contact-hero .hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a0e35;
  margin-bottom: 15px;
  font-family: serif;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8), 0 0 1px rgba(255, 255, 255, 0.9);
}

.contact-page-redesign .contact-hero .hero-subtitle {
  font-size: 15px;
  color: #332a4e;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 0 1px rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
  .contact-page-redesign .contact-hero .hero-title {
    font-size: 28px;
  }

  .contact-page-redesign .contact-hero .hero-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #110b29;
  }
}

.contact-page-redesign .contact-hero .hero-underline {
  width: 40px;
  height: 3px;
  background: #8b3dff;
  border-radius: 2px;
}

.contact-page-redesign .contact-main-content {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  /* Pull up over the background */
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  /* Mobile first, centered on desktop */
  margin-left: auto;
  margin-right: auto;
}

.contact-page-redesign .help-card {
  border-radius: 20px;
  padding: 30px 25px;
  color: white;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(28, 17, 59, 0.15);
  position: relative;
  overflow: hidden;
  /* Envelope graphic overlay */
}

.ltr .contact-page-redesign .help-card {
  background: linear-gradient(135deg, #1c113b 0%, #291552 100%);
}

.rtl .contact-page-redesign .help-card {
  background: linear-gradient(-135deg, #1c113b 0%, #291552 100%);
}

.contact-page-redesign .help-card::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: 0;
  mix-blend-mode: screen;
}

.ltr .contact-page-redesign .help-card::after {
  right: -10px;
  background-position: right center;
}

.rtl .contact-page-redesign .help-card::after {
  left: -10px;
  background-position: left center;
}

.contact-page-redesign .help-card .help-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(167, 66, 255, 0.4);
  z-index: 1;
}

.ltr .contact-page-redesign .help-card .help-icon-box {
  background: linear-gradient(135deg, #a742ff 0%, #6815cf 100%);
}

.rtl .contact-page-redesign .help-card .help-icon-box {
  background: linear-gradient(-135deg, #a742ff 0%, #6815cf 100%);
}

.contact-page-redesign .help-card .help-icon-box i {
  font-size: 24px;
  color: white;
}

.contact-page-redesign .help-card .help-text {
  z-index: 1;
}

.contact-page-redesign .help-card .help-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.contact-page-redesign .help-card .help-text p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact-page-redesign .message-card,
.contact-page-redesign .other-ways-card {
  background: white;
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.contact-page-redesign .message-card .card-header,
.contact-page-redesign .other-ways-card .card-header {
  margin-bottom: 25px;
}

.contact-page-redesign .message-card .card-header h2,
.contact-page-redesign .other-ways-card .card-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a0e35;
  margin-bottom: 8px;
}

.contact-page-redesign .message-card .card-header .title-underline,
.contact-page-redesign .other-ways-card .card-header .title-underline {
  width: 30px;
  height: 3px;
  background: #8b3dff;
  border-radius: 2px;
}

.contact-page-redesign .message-card .icon-input {
  position: relative;
  margin-bottom: 15px;
}

.contact-page-redesign .message-card .icon-input i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #888;
  z-index: 1;
}

.ltr .contact-page-redesign .message-card .icon-input i {
  left: 15px;
}

.rtl .contact-page-redesign .message-card .icon-input i {
  right: 15px;
}

.contact-page-redesign .message-card .icon-input.align-top i {
  top: 26px;
}

.contact-page-redesign .message-card .icon-input .form-control {
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fafafa;
  font-size: 14px;
  height: 50px;
  box-shadow: none;
}

.ltr .contact-page-redesign .message-card .icon-input .form-control {
  padding-left: 45px;
}

.rtl .contact-page-redesign .message-card .icon-input .form-control {
  padding-right: 45px;
}

.contact-page-redesign .message-card .icon-input .form-control:focus {
  border-color: #8b3dff;
  background: white;
  box-shadow: 0 0 0 3px rgba(139, 61, 255, 0.1);
}

.contact-page-redesign .message-card .icon-input .form-control::-moz-placeholder {
  color: #999;
}

.contact-page-redesign .message-card .icon-input .form-control::placeholder {
  color: #999;
}

.contact-page-redesign .message-card .icon-input textarea.form-control {
  height: auto;
  padding-top: 15px;
}

.contact-page-redesign .message-card .btn-submit {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(139, 61, 255, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 20px;
}

.ltr .contact-page-redesign .message-card .btn-submit {
  background: linear-gradient(135deg, #8b3dff 0%, #6815cf 100%);
}

.rtl .contact-page-redesign .message-card .btn-submit {
  background: linear-gradient(-135deg, #8b3dff 0%, #6815cf 100%);
}

.contact-page-redesign .message-card .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 61, 255, 0.4);
}

.contact-page-redesign .message-card .btn-submit i {
  font-size: 20px;
}

.contact-page-redesign .other-ways-card {
  background: #1c113b;
  color: white;
}

.contact-page-redesign .other-ways-card .card-header h2 {
  color: white;
}

.contact-page-redesign .other-ways-card .contact-option-item {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: white;
  transition: transform 0.2s;
}

.contact-page-redesign .other-ways-card .contact-option-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ltr .contact-page-redesign .other-ways-card .contact-option-item:hover {
  transform: translateX(5px);
}

.rtl .contact-page-redesign .other-ways-card .contact-option-item:hover {
  transform: translateX(-5px);
}

.contact-page-redesign .other-ways-card .contact-option-item:hover .option-icon {
  box-shadow: 0 0 15px rgba(167, 66, 255, 0.4);
}

.ltr .contact-page-redesign .other-ways-card .contact-option-item:hover .option-icon {
  background: linear-gradient(135deg, #a742ff 0%, #6815cf 100%);
}

.rtl .contact-page-redesign .other-ways-card .contact-option-item:hover .option-icon {
  background: linear-gradient(-135deg, #a742ff 0%, #6815cf 100%);
}

.contact-page-redesign .other-ways-card .contact-option-item .option-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.ltr .contact-page-redesign .other-ways-card .contact-option-item .option-icon {
  margin-right: 15px;
}

.rtl .contact-page-redesign .other-ways-card .contact-option-item .option-icon {
  margin-left: 15px;
}

.contact-page-redesign .other-ways-card .contact-option-item .option-icon i {
  font-size: 20px;
  color: #a742ff;
}

.contact-page-redesign .other-ways-card .contact-option-item .option-details {
  flex-grow: 1;
}

.contact-page-redesign .other-ways-card .contact-option-item .option-details h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: white;
}

.contact-page-redesign .other-ways-card .contact-option-item .option-details p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.contact-page-redesign .other-ways-card .contact-option-item .option-arrow i {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
}

@media screen and (min-width: 768px) {
  .contact-page-redesign .contact-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "help help" "form other";
    max-width: 1000px;
    gap: 30px;
  }

  .contact-page-redesign .help-card {
    grid-area: help;
  }

  .contact-page-redesign .message-card {
    grid-area: form;
  }

  .contact-page-redesign .other-ways-card {
    grid-area: other;
  }
}

@media screen and (max-width: 767px) {
  .contact-page-redesign .help-card::after {
    opacity: 0.1 !important;
  }
}