/* IPD Finetech EN overrides — keep theme look, fix brand & reveal */

.preloader { display: none !important; }

.ipd-brand-logo {
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

/* Header sits on dark hero — lighten blue brand mark for contrast */
.main-header .ipd-brand-logo {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.ipd-auth-page .main-header .ipd-brand-logo {
  filter: none;
  opacity: 1;
}

.main-footer .footer-logo img {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: none;
}

/* Theme hides .reveal until GSAP plays — keep photos visible */
figure.reveal,
.reveal {
  visibility: visible !important;
  opacity: 1 !important;
}

.hero .wow,
.hero .text-anime-style-2,
.wow,
.text-anime-style-2 {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Consultation form on dark/light FAQ-style section */
#consultation.our-faqs {
  padding: 100px 0;
}

#consultation .ipd-lead-card {
  margin-top: 0;
}

/* Stock about photos peek into the hero fold and look like an extra corner image — hide them on IPD. */
.ipd-finetech .about-us-images {
  display: none !important;
}

.ipd-finetech .about-us > .container > .row > .col-lg-6:first-child {
  display: none !important;
}

.ipd-finetech .about-us > .container > .row > .col-lg-6:last-child {
  flex: 0 0 100%;
  max-width: 100%;
}

.ipd-finetech .about-us-content {
  margin-left: 0 !important;
  max-width: 920px;
}

/* Theme class is .why-choose-image (singular). Wrong plural class made img-2 position:absolute escape into the hero. */
.ipd-finetech .why-choose-images {
  position: relative;
  padding: 0 0 165px 235px;
}

.main-footer .abanteb-brand-strip {
  margin-bottom: 18px;
}

.main-footer .footer-logo img,
.main-footer .abanteb-brand-card__media-frame img {
  filter: none !important;
}

.ipd-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.ipd-hero-stats > div {
  min-width: 100px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: grid;
  gap: 2px;
}

.ipd-hero-stats strong {
  font-size: 15px;
  font-weight: 800;
}

.ipd-hero-stats span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.ipd-auth-slot .ipd-auth-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
}

.ipd-auth-slot .ipd-auth-link {
  color: var(--primary-color, #0f766e);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 12px;
}

.ipd-auth-slot .ipd-auth-link-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid rgba(15, 118, 110, 0.25);
  color: #0f766e;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

.ipd-lead-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.ipd-lead-card label {
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.ipd-lead-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 18px;
}

.ipd-form-note {
  font-size: 12px;
  color: #64748b;
}

.ipd-journey-link {
  display: inline-flex;
}

/* Auth pages */
.ipd-auth-page .main-footer {
  margin-top: 0;
}

.ipd-auth-shell {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  padding: 40px 0 60px;
}

.ipd-auth-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.ipd-auth-card h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.ipd-auth-card .lead {
  color: #64748b;
  margin-bottom: 24px;
}

.ipd-auth-card .form-control {
  min-height: 48px;
}

.ipd-auth-aside {
  background: linear-gradient(145deg, #0f766e, #0e7490 55%, #0369a1);
  border-radius: 28px;
  color: #fff;
  padding: 36px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ipd-auth-aside h2 {
  font-size: 30px;
  line-height: 1.25;
  margin: 12px 0;
}

.ipd-auth-aside ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.ipd-auth-aside li {
  margin-bottom: 10px;
  font-weight: 600;
}

.ipd-auth-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 600;
}

@media (max-width: 991px) {
  .ipd-auth-aside {
    margin-bottom: 24px;
    min-height: auto;
  }
}
