/* ===== SCOPED RESET ===== */
.ta-partners-revamp {
  font-family: 'Poppins', sans-serif;
}

.ta-partners-revamp * {
  box-sizing: border-box;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HERO ===== */
.partners-hero {
  position: relative;
  height: 60vh;
  overflow: hidden;

  display: flex;
  align-items: center;

  background: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf') center/cover no-repeat;
}

/* ===== OVERLAY (THIS WAS THE MAIN ISSUE) ===== */
.partners-hero__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(6, 18, 35, 0.95) 0%,
      rgba(6, 18, 35, 0.9) 25%,
      rgba(6, 18, 35, 0.75) 50%,
      rgba(6, 18, 35, 0.4) 75%,
      rgba(6, 18, 35, 0.2) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 106, 26, 0.08) 0%,
      transparent 40%
    );
}

/* Bottom depth */
.partners-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,18,35,0.9),
    transparent 55%
  );
}

/* ===== CONTENT WRAP ===== */
.partners-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Push content slightly left visually */
.partners-hero__content {
  position: absolute;
  left: 0;
}

/* ===== TAG ===== */
.partners-hero__tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.partners-hero__tag-line {
  width: 42px;
  height: 2px;
  background: #ff6a1a;
}

.partners-hero__tag-text {
  font-size: 12px;
  letter-spacing: 2.2px;
  color: #ff6a1a;
  font-weight: 500;
}

/* ===== TITLE ===== */
.partners-hero__title {
  font-size: 76px;
  font-weight: 700;
  line-height: 1.02;
  color: #ffffff;
}

.partners-hero__title span {
  color: #ff6a1a;
}

/* ===== SCROLL ===== */
.partners-hero__scroll {
  position: absolute;
  right: 38px;
  bottom: 90px;

  writing-mode: vertical-rl;
  transform: rotate(180deg);

  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.35);
}



/* ===== SECTION ===== */
.partners-intro {
  padding: 120px 0;
  background: #ffffff;
}

/* ===== GRID ===== */
.partners-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 120px; /* important for visual balance */
  align-items: flex-start;
}

/* ===== LEFT ===== */
.partners-intro__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.partners-intro__tag-line {
  width: 32px;
  height: 2px;
  background: #ff6a1a;
}

.partners-intro__tag-text {
  font-size: 12px;
  letter-spacing: 2px;
  color: #ff6a1a;
  font-weight: 500;
}

/* Title */
.partners-intro__title {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  color: #0f172a; /* deep navy */
}

.partners-intro__title span {
  color: #ff6a1a;
}

/* ===== RIGHT ===== */

.partners-intro__card {
  position: relative;
  padding: 34px 34px 32px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.72));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.partners-intro__card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 106, 26, 0.05), transparent 70%);
  pointer-events: none;
}

/* Lead */
.partners-intro__lead {
  font-size: 16px;
  line-height: 1.7;
  color: #0f172a;
  font-weight: 500;
  margin-bottom: 20px;
}

.partners-intro__lead span {
  color: #3b3f47; /* subtle gray like design */
  /* font-weight: 400; */
}

/* Description */
.partners-intro__desc {
  font-size: 15px;
  line-height: 1.8;
  color: #3b3f47;
}

/* ===== SECTION ===== */
.partners {
  padding: 100px 0 120px;
  /* background:
    radial-gradient(circle at top left, rgba(255, 106, 26, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fffef6 100%); */
    background: #d3d3d317;
}

/* ===== HEADER ===== */
.partners__header {
  text-align: center;
  margin-bottom: 60px;
}

.partners__tag {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.partners__tag-line {
  width: 30px;
  height: 2px;
  background: #ff6a1a;
}

.partners__tag-text {
  font-size: 12px;
  letter-spacing: 2px;
  color: #ff6a1a;
  font-weight: 500;
}

.partners__title {
  font-size: 42px;
  font-weight: 700;
  color: #1c1d2f;
}

.partners__title span {
  color: #ff6a1a;
}

/* ===== GRID ===== */
.partners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: stretch;
}

/* ===== CARD ===== */
.partners__card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px;
  border-radius: 22px;
  /* background: linear-gradient(180deg, #ffffff 0%, rgba(255, 249, 244, 0.05) 100%); */
  background-color: #fff;
  border: 1px solid rgba(148, 148, 148, 0.12);
  box-shadow: 0 18px 38px rgba(64, 33, 120, 0.06);
  min-height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Highlight card */
.partners__card:hover{
  border: 1px solid rgba(255, 106, 26, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 24px 46px rgba(70, 70, 70, 0.1);
}

/* ===== ICON ===== */
.partners__icon {
  min-width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  font-size: 18px;
}

.partners__card-body {
  display: flex;
  flex: 1;
  min-height: 100%;
  flex-direction: column;
}

.partners__card-copy {
  flex: 1;
}

.partners__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  min-height: 42px;
}

/* Colors */
.pink { background: linear-gradient(135deg, #ff4d6d, #ff7a9c); }
.purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.blue { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.green { background: linear-gradient(135deg, #16a34a, #22c55e); }
.orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.indigo { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.bubblegum { background: linear-gradient(135deg, #9353d0, #da59c0); }

/* ===== TEXT ===== */
.partners__card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #201c2f;
  margin-bottom: 0;
}

.partners__card p {
  font-size: 14px;
  line-height: 1.7;
  color: #2a2934;
}

.partners__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2e2e2e;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 106, 26, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partners__link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 106, 26, 0.34);
  box-shadow: 0 4px 8px rgba(255, 106, 26, 0.05);
}

.partners__link .lucide-arrow-up-right {
  width: 15px;
  height: 15px;
}

/* Orange dot */
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #ff6a1a;
  border-radius: 50%;
  margin-left: 6px;
}


/* ===== CONTACT FORM SECTION ===== */
.contact-form {
  padding: 120px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.contact-form__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e7edf4;
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.08);
}

.contact-form__image {
  position: relative;
  min-height: 610px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}

.contact-form__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form__image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 40px;
  background: linear-gradient(
    180deg,
    rgba(8,15,30,0.14) 0%,
    rgba(8,15,30,0.38) 46%,
    rgba(8,15,30,0.92) 100%
  );
  color: #fff;
}

.contact-form__image-overlay::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  height: 220px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(8,15,30,0.02) 0%,
    rgba(8,15,30,0.34) 42%,
    rgba(8,15,30,0.74) 100%
  );
  z-index: 0;
}

.contact-form__image-overlay > * {
  position: relative;
  z-index: 1;
}

.contact-form__image-overlay h3 {
  max-width: 420px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.18;
  text-shadow: 0 2px 16px rgba(2, 6, 23, 0.45);
  color: #ffffff !important;
}

.contact-form__image-overlay span {
  color: #ff6a1a;
}

.contact-form__image-overlay p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 12px rgba(2, 6, 23, 0.42);
}

.contact-form__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 8px 14px 0;
}

.contact-form__card h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #10233f;
}

.contact-form__card .subtitle {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #65758f;
}

.contact-form__fields {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid #d6deea;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 110px;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6f7f98;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255,106,26,0.9);
  box-shadow: 0 0 0 4px rgba(255,106,26,0.12);
}

.contact-form button {
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff6a1a, #ff952f);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,106,26,0.3);
}

.contact-form button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

/* ===== MOBILE FIX (important) ===== */
@media (max-width: 768px) {
  .partners-intro {
    padding: 90px 0;
  }

  .partners-intro__grid,
  .partners__grid,
  .contact-form__shell,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .partners-intro__card {
    padding: 28px 22px;
  }

  .partners__card {
    padding: 22px;
  }

  .partners__card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form {
    padding: 32px 0 96px;
  }

  .contact-form__shell {
    gap: 24px;
    padding: 18px;
  }

  .contact-form__image {
    min-height: 420px;
  }

  .contact-form__image-overlay {
    padding: 22px;
  }

  .contact-form__card {
    padding: 6px 4px 4px;
  }

  .contact-form__card h3 {
    font-size: 24px;
  }
}
