/* =========================================================
   OVERRIDES – FORCE BIGGER TEXT, BETTER CONTRAST, HERO TITLE
   ========================================================= */

/* 1) HERO TITLE – FORCE SINGLE LINE ON DESKTOP + TIDY */
section.bg-gradient-to-b.from-slate-50.to-white h1 {
  font-size: clamp(2.2rem, 3vw, 2.7rem) !important; /* slightly smaller so it fits */
  font-weight: 900 !important;
  letter-spacing: -0.08em !important;
  line-height: 1.05 !important;
  white-space: normal !important;      /* mobile/tablet can wrap */
  display: inline-block !important;
}

@media (min-width: 992px) {
  section.bg-gradient-to-b.from-slate-50.to-white h1 {
    white-space: nowrap !important;    /* keep on one line on desktop */
    max-width: none !important;
    overflow: visible !important;
    word-break: keep-all !important;
  }
}

/* 2) MAKE ALL P TEXT BIGGER IN PRODUCT AREA (MIDDLE SECTIONS) */
section.bg-gradient-to-b.from-slate-50.to-white p,
#features p,
#specs p,
#applications p,
section.border-y.border-slate-200.bg-slate-50 p,
.blog_section p,
#contactForm p {
  font-size: 1.12rem !important;
  line-height: 1.7 !important;
}

/* Also bump list and spec text sizes */
#features li,
#applications li,
section.border-y.border-slate-200.bg-slate-50 li,
.blog_section li {
  font-size: 1.06rem !important;
}

#specs dt {
  font-size: 2.9rem !important;
}

#specs dd {
  font-size: 1.06rem !important;
}

/* 3) IMAGE – NO BLACK BACK, WHITE FRAME WITH FADE */
section.bg-gradient-to-b.from-slate-50.to-white img.img-responsive,
.bg-gradient-to-b img.img-responsive,
img.img-responsive {
  background: #ffffff !important;
  border-radius: 24px !important;
  border: 4px solid #ffffff !important;
  box-shadow:
    0 24px 70px rgba(15, 23, 42, 0.55),
    0 0 0 1px rgba(148, 163, 184, 0.3) !important;
}

/* White ? colour halo into background */
section.bg-gradient-to-b.from-slate-50.to-white .relative::before {
  content: "" !important;
  position: absolute !important;
  inset: 4% !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(248, 250, 252, 0.9), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(191, 219, 254, 0.7), transparent 70%) !important;
  z-index: -1 !important;
}

/* 4) TECHNICAL SPEC BLOCKS – CLEARLY DIFFERENT FROM BACKGROUND */
#specs {
  background: linear-gradient(135deg, #c7ddff 0%, #dbeafe 45%, #e5f0ff 100%) !important;
}

#specs .rounded-3xl.bg-white {
  background: #ffffff !important;
  border-radius: 22px !important;
  border: 2px solid #1d4ed8 !important;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.35) !important;
}

/* Strong dark text in spec cards */
#specs h2,
#specs h3,
#specs dt,
#specs dd,
#specs p {
  color: #020617 !important;
}

/* 5) FIX CONTRAST ON DARK SECTIONS (e.g. APPLICATIONS) */
#applications,
#applications .rounded-3xl {
  color: #f9fafb !important;
}

#applications h2,
#applications h3,
#applications p,
#applications li {
  color: #f9fafb !important;
}

/* Ensure hero text is bright on dark gradient */
section.bg-gradient-to-b.from-slate-50.to-white,
section.bg-gradient-to-b.from-slate-50.to-white * {
  color: inherit;
}

section.bg-gradient-to-b.from-slate-50.to-white p,
section.bg-gradient-to-b.from-slate-50.to-white li {
  color: #e5e7eb !important;
}

/* 6) FOOTER LOGO – BACK TO ORIGINAL LOOK */
footer img,
.footer img,
.footer-logo img {
  filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  max-height: none !important;
}
