/* ============================================
   Lancing UK – Compact Dropper BIG + BOLD (TUNED)
   Middle sections only (header/hero/footer unchanged)
   ============================================ */

/* ---------- 1. PRODUCT TITLE + IMAGE BAND ---------- */

section.bg-gradient-to-b.from-slate-50.to-white {
  position: relative;
  overflow: hidden;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  background:
    radial-gradient(circle at 0% 0%, #1d4ed8 0%, transparent 55%),
    radial-gradient(circle at 100% 0%, #0f766e 0%, transparent 55%),
    linear-gradient(135deg, #020617 0%, #1e3a8a 45%, #0ea5e9 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.85);
}

section.bg-gradient-to-b.from-slate-50.to-white .container7 {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

/* 1) HERO TITLE – LOOK BETTER & ONE LINE ON DESKTOP */
section.bg-gradient-to-b.from-slate-50.to-white h1 {
  color: #f9fafb !important;
  font-size: clamp(2.8rem, 4vw, 3.1rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-transform: none;
  white-space: normal; /* can wrap on small screens */
}

/* Force single line on larger screens */
@media (min-width: 992px) {
  section.bg-gradient-to-b.from-slate-50.to-white h1 {
    white-space: nowrap;
  }
}

/* Hero text */
section.bg-gradient-to-b.from-slate-50.to-white p {
  color: #e5e7eb !important;
  font-size: 2.08rem; /* bigger than before */
}

/* Hero bullet points */
section.bg-gradient-to-b.from-slate-50.to-white ul li {
  color: #e5e7eb;
  font-size: 1.52rem;
}

section.bg-gradient-to-b.from-slate-50.to-white ul li span.inline-block {
  background: #fbbf24 !important;
}

/* CTAs */
section.bg-gradient-to-b.from-slate-50.to-white a[href="#specs"],
section.bg-gradient-to-b.from-slate-50.to-white a[href="#quote"] {
  border-radius: 999px;
  padding: 11px 26px;
  font-size: 1.62rem;
  border-width: 1px;
  border-style: solid;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: 0.18s ease;
}

/* Outline */
section.bg-gradient-to-b.from-slate-50.to-white a[href="#specs"] {
  background: transparent;
  border-color: rgba(226, 232, 240, 0.85);
  color: #f9fafb;
}
section.bg-gradient-to-b.from-slate-50.to-white a[href="#specs"]:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* Primary */
section.bg-gradient-to-b.from-slate-50.to-white a[href="#quote"] {
  background: #fbbf24;
  border-color: transparent;
  color: #020617 !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
}
section.bg-gradient-to-b.from-slate-50.to-white a[href="#quote"]:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* 3) IMAGE – NO BLACK, WHITE BORDER FADING INTO BG */
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;                 /* no black behind */
  border-radius: 10px;
  border: 2px solid #ffffff;                     /* crisp white frame */
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(148, 163, 184, 0.35);
}

/* White?colour halo behind image frame */
section.bg-gradient-to-b.from-slate-50.to-white .relative::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 10px;
  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%);
  z-index: -1;
}

/* ---------- 2. SECTION SPACING + BIGGER P TEXT ---------- */

#features,
#specs,
#applications,
section.border-y.border-slate-200.bg-slate-50,
.blog_section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#features h2,
#specs h2,
#applications h2,
section.border-y.border-slate-200.bg-slate-50 h2,
.blog_section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: #0b1120;
}

/* 2) MAKE ALL P TEXT BIGGER IN PRODUCT AREAS */
#features p,
#specs p,
#applications p,
section.border-y.border-slate-200.bg-slate-50 p,
.blog_section p {
  font-size: 1.62rem;
  line-height: 1.7;
  color: #111827;
}

/* Lists in those sections also a bit larger */
#features li,
#applications li,
.blog_section li,
section.border-y.border-slate-200.bg-slate-50 li {
  font-size: 1.62rem;
}

/* ---------- 3. FEATURES SECTION (unchanged look, bigger text) ---------- */

#features {
  background: #e5f0ff;
  border-top: 1px solid #93c5fd;
  border-bottom: 1px solid #bfdbfe;
}

#features .container {
  max-width: 1180px;
}

#features .rounded-3xl {
  position: relative;
  background: #ffffff;
  border-radius: 20px !important;
  border: 1px solid #cbd5e1;
  padding: 22px 22px 20px !important;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

#features .rounded-3xl::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 16px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8, #0ea5e9);
}

#features .rounded-3xl::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.16), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

#features .rounded-3xl > * {
  position: relative;
  z-index: 1;
}

#features .rounded-3xl:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.3);
  border-color: #60a5fa;
}

#features h3 {
  font-size: 2.0rem;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 6px;
  color: #0b1120;
}

/* #features p already enlarged above */

/* ---------- 4. TECHNICAL SPECS (CARDS CLEARLY STAND OUT) ---------- */

/* 4) DIFFERENT COLOUR FOR SPEC BACKGROUND VS CARDS */
#specs {
  background: linear-gradient(135deg, #c7ddff 0%, #dbeafe 45%, #e5f0ff 100%);
  border-top: 1px solid #60a5fa;
  border-bottom: 1px solid #bfdbfe;
}

#specs .container {
  max-width: 1180px;
}

/* Cards: pure white, bold border, heavy shadow so they pop */
#specs .rounded-3xl.bg-white {
  position: relative;
  background: #ffffff;
  border-radius: 22px !important;
  border: 2px solid #1d4ed8;
  padding: 26px 24px 22px !important;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

/* Subtle blue highlight, but content stays super readable */
#specs .rounded-3xl.bg-white::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    linear-gradient(135deg, rgba(191, 219, 254, 0.7), transparent 55%),
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.18), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

#specs .rounded-3xl.bg-white > * {
  position: relative;
  z-index: 1;
}

/* Headings + spec text */
#specs h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #020617;
}

#specs dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  column-gap: 22px;
  row-gap: 12px;
}

#specs dt {
  font-size: 1.8rem;
  letter-spacing: 0.09em;
  color: #1d4ed8;
  margin-bottom: 2px;
}

#specs dd {
  font-size: 1.62rem;
  font-weight: 700;
  color: #020617;
  margin: 0;
}

/* Note text under specs already enlarged via p rule */

/* ---------- 5. APPLICATIONS SECTION ---------- */

#applications {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 40%, #0ea5e9 100%);
  border-top: 1px solid #1d4ed8;
  border-bottom: 1px solid #1d4ed8;
}

#applications .container {
  max-width: 1180px;
}

#applications h2 {
  color: #f9fafb;
}

#applications .rounded-3xl {
  position: relative;
  background: rgba(15, 23, 42, 0.92);
  border-radius: 20px !important;
  border: 1px solid rgba(191, 219, 254, 0.85);
  padding: 22px 22px 20px !important;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.95);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

#applications .rounded-3xl::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: conic-gradient(from 140deg, #fbbf24, #22c55e, #0ea5e9, #2563eb, #fbbf24);
  opacity: 1;
}

#applications .rounded-3xl::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -6px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.9), transparent 70%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

#applications .rounded-3xl:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 1);
  border-color: #fbbf24;
}
#applications .rounded-3xl:hover::after {
  opacity: 1;
}

#applications h3 {
  font-size: 1.62rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #f9fafb;
}

/* #applications p already enlarged and recoloured via p rule */

/* ---------- 6. WHAT’S INCLUDED ---------- */

section.border-y.border-slate-200.bg-slate-50:not(#specs) {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 70%);
  border-top: 1px solid #60a5fa;
  border-bottom: 1px solid #bfdbfe;
}

section.border-y.border-slate-200.bg-slate-50:not(#specs) .container {
  max-width: 1180px;
}

section.border-y.border-slate-200.bg-slate-50:not(#specs) ul.list-disc {
  margin-top: 8px;
}

section.border-y.border-slate-200.bg-slate-50:not(#specs) ul.list-disc li {
  position: relative;
  padding-left: 26px;
  font-size: 1.62rem;
  line-height: 1.6;
  color: #020617;
}

section.border-y.border-slate-200.bg-slate-50:not(#specs) ul.list-disc li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #2563eb, #0ea5e9);
}

/* ---------- 7. CONFIGURE YOUR MACHINE ---------- */

.blog_section:not(#contactForm .blog_section) {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 40%, #bfdbfe 100%);
  border-radius: 24px;
  padding: 32px 26px;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.26);
  border: 1px solid #60a5fa;
}

.blog_section:not(#contactForm .blog_section) h2 {
  color: #020617;
}

/* p + list already larger via global p / li rules */

.blog_section:not(#contactForm .blog_section) ul.list-disc li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
}

/* ---------- 8. ENQUIRY FORM ---------- */

#contactForm .blog_section {
  background: #ffffff;
  border-radius: 26px;
  padding: 28px 24px 32px;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.32);
  border: 2px solid #1d4ed8;
  position: relative;
}

#contactForm .blog_section::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 18px;
  bottom: 18px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1d4ed8, #0ea5e9);
}

#contactForm .comments_form h4 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #020617;
}

#contactForm .form-control {
  border-radius: 14px !important;
  border: 1px solid #94a3b8 !important;
  padding: 12px 14px !important;
  font-size: 1.5rem;
  background: #f9fafb;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#contactForm .form-control:focus {
  background: #ffffff;
  border-color: #1d4ed8 !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
}

#contactForm textarea.form-control {
  min-height: 170px;
}

#contactForm .btn.btn-primary {
  margin-top: 12px;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9) !important;
  border: none !important;
  padding: 12px 30px !important;
  font-size: 1.62rem !important;
  font-weight: 700;
  border-radius: 999px !important;
  width: auto;
  min-width: 190px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb !important;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

#contactForm .btn.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 32px 100px rgba(15, 23, 42, 0.8);
}

/* ---------- 9. FOOTER LOGO BACK TO ORIGINAL ---------- */

/* 5) REMOVE ANY UNWANTED STYLING ON FOOTER LOGO */
footer img,
.footer img,
.footer-logo img {
  filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* ---------- 10. RESPONSIVE ---------- */

@media (max-width: 991px) {
  #specs dl {
    grid-template-columns: 1fr;
  }

  .blog_section:not(#contactForm .blog_section),
  #contactForm .blog_section {
    padding: 24px 20px;
    border-radius: 22px;
  }
}

@media (max-width: 768px) {
  section.bg-gradient-to-b.from-slate-50.to-white {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  #features,
  #specs,
  #applications,
  section.border-y.border-slate-200.bg-slate-50,
  .blog_section {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }
}
