/* ============================================
   Compact Dropper Screw Capper – Page-specific CSS
   - Hero title strong & single-line on desktop
   - Bigger paragraph text
   - White-framed product image (no black)
   - Technical Specification blocks stand out
   - Footer logo back to original look
   ============================================ */

/* ------------- HERO BAND UNDER VIDEO ------------- */

section.bg-gradient-to-b.from-slate-50.to-white {
  position: relative;
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
  background:
    radial-gradient(circle at 0% 0%, #1d4ed8 0, transparent 55%),
    radial-gradient(circle at 100% 0, #0ea5e9 0, transparent 55%),
    linear-gradient(180deg, #020617 0, #1e3a8a 45%, #0f172a 100%);
  color: #f9fafb;
}

/* Keep hero container nicely sized */
section.bg-gradient-to-b.from-slate-50.to-white .container7 {
  max-width: 1180px;
}

/* HERO TITLE */
section.bg-gradient-to-b.from-slate-50.to-white h1 {
  color: #f9fafb !important;
  font-weight: 900 !important;
  letter-spacing: -0.08em !important;
  line-height: 1.05 !important;
  text-transform: none !important;
  display: inline-block !important;
  white-space: normal !important; /* mobile can wrap */
  font-size: 2.6rem !important;   /* base size */
}

/* Force one line on desktop – title is in the left column (half width) */
@media (min-width: 992px) {
  section.bg-gradient-to-b.from-slate-50.to-white h1 {
    font-size: 2.6rem !important;   /* big but safe for half-width column */
    white-space: nowrap !important;
    max-width: none !important;
    word-break: keep-all !important;
  }
}





/* ------------- 2. BIGGER TEXT EVERYWHERE THAT MATTERS ------------- */

/* All main paragraphs in the product content area */
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.62rem !important;
  line-height: 1.7 !important;
}

/* Lists slightly bigger */
#features li,
#applications li,
section.border-y.border-slate-200.bg-slate-50 li,
.blog_section li {
  font-size: 1.62rem !important;
}

/* Spec label & value sizes */
#specs dt {
  font-size:1.7rem !important;
 
  letter-spacing: 0.08em;
}
#specs dd {
  font-size: 1.62rem !important;
  font-weight: 600;
}

/* Section headings */
#features h2,
#specs h2,
#applications h2,
section.border-y.border-slate-200.bg-slate-50 h2,
.blog_section h2 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  color: #020617;
}

/* ------------- 3. FEATURES SECTION ------------- */

#features {
  background: #e5f0ff;                /* light blue strip */
  border-top: 1px solid #93c5fd;
  border-bottom: 1px solid #bfdbfe;
}

#features .container {
  max-width: 1180px;
}

/* Feature cards */
#features .rounded-3xl {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Blue accent line */
#features .rounded-3xl::before {
  content: "";
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  top: 1rem;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8, #0ea5e9);
}

#features .rounded-3xl > * {
  position: relative;
  z-index: 1;
}

#features .rounded-3xl:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.26);
  border-color: #60a5fa;
}

#features h3 {
  font-size: 1.62rem;
  font-weight: 700;
  margin-top: 1.2rem;
  margin-bottom: 0.3rem;
  color: #020617;
}

#features p {
  color: #111827 !important;
}

/* ------------- 4. TECHNICAL SPECS – BLOCKS STAND OUT ------------- */

/* Section background slightly tinted so cards stand out */
#specs {
  background: #e1e9f5 !important;
  border-top: 1px solid #93c5fd;
  border-bottom: 1px solid #bfdbfe;
}

/* Cards: pure white, strong border & shadow */
#specs .rounded-3xl {
  background: #ffffff !important;
  border-radius: 22px !important;
  border: 2px solid #1d4ed8 !important;
  padding: 1.6rem 1.4rem 1.4rem !important;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.3) !important;
}

/* Inside text dark and readable */
#specs h3,
#specs dt,
#specs dd,
#specs p {
  color: #020617 !important;
}

/* Note paragraph under the spec grid */
#specs p {
  margin-top: 0.9rem;
}

/* ------------- 5. APPLICATIONS SECTION (COLOURFUL, HIGH CONTRAST) ------------- */

#applications {
  background: linear-gradient(135deg, #1e3a8a 0, #2563eb 45%, #0ea5e9 100%);
  border-top: 1px solid #1d4ed8;
  border-bottom: 1px solid #1d4ed8;
  color: #f9fafb;
}

#applications .container {
  max-width: 1180px;
}

#applications h2,
#applications h3,
#applications p,
#applications li {
  color: #f9fafb !important;
}

/* Application tiles */
#applications .rounded-3xl {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 20px;
  border: 1px solid rgba(191, 219, 254, 0.85);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Colour badge */
#applications .rounded-3xl::before {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 1rem;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: conic-gradient(from 140deg, #fbbf24, #22c55e, #0ea5e9, #2563eb, #fbbf24);
}

#applications .rounded-3xl:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 1);
  border-color: #fbbf24;
}

/* ------------- 6. WHAT’S INCLUDED SECTION ------------- */

section.border-y.border-slate-200.bg-slate-50 {
  background: #f3f4ff;
  border-top: 1px solid #c4d3ff;
  border-bottom: 1px solid #c4d3ff;
}

section.border-y.border-slate-200.bg-slate-50 ul.list-disc li {
  position: relative;
  padding-left: 1.6rem;
  color: #020617 !important;
}

section.border-y.border-slate-200.bg-slate-50 ul.list-disc li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #2563eb, #0ea5e9);
}

/* ------------- 7. CONFIGURE YOUR MACHINE & ENQUIRY FORM ------------- */

/* Configure section (before the form) */
.blog_section:not(#contactForm .blog_section) {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.2rem 2rem;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.2);
  border: 1px solid #d1d5db;
}

/* Enquiry form block */
#contactForm .blog_section {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.2rem 2rem 2.5rem;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.28);
  border: 2px solid #1d4ed8;
  position: relative;
}

/* Blue strip on the left side */
#contactForm .blog_section::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1d4ed8, #0ea5e9);
}

/* Form heading */
#contactForm .comments_form h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #020617;
}

/* Form inputs */
#contactForm .form-control {
  border-radius: 14px !important;
  border: 1px solid #94a3b8 !important;
  padding: 0.75rem 0.85rem !important;
  font-size: 1.52rem !important;
  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;
}

/* Submit button */
#contactForm .btn.btn-primary {
  margin-top: 0.75rem;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9) !important;
  border: none !important;
  padding: 0.75rem 1.9rem !important;
  font-size: 1.62rem !important;
  font-weight: 700;
  border-radius: 999px !important;
  min-width: 190px;
  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);
}

/* ------------- 8. FOOTER LOGO BACK TO ORIGINAL ------------- */

.footer .wrapper_first_image img {
  filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  opacity: 1 !important;
}

/* ------------- 9. RESPONSIVE TWEAKS ------------- */

@media (max-width: 991px) {
  #specs dl {
    grid-template-columns: 1fr;
  }

  .blog_section:not(#contactForm .blog_section),
  #contactForm .blog_section {
    padding: 1.8rem 1.4rem;
  }
}

@media (max-width: 768px) {
  section.bg-gradient-to-b.from-slate-50.to-white {
    padding-top: 2.8rem !important;
    padding-bottom: 2.8rem !important;
  }
}
/* HERO PRODUCT IMAGE – SCALE TO CONTAINER */
section.bg-gradient-to-b.from-slate-50.to-white img.img-responsive {
 display: block;
  width: 100% !important;       /* fill the column width */
  max-width: 100% !important;   /* never overflow horizontally */
  height: auto !important;      /* keep correct proportions */
  max-height: 480px;            /* stop it getting too tall on desktop */
  object-fit: contain;          /* fit inside the box without cropping */
  margin: 0 auto;               /* centre it */

  /* keep your styling */
  background: transparent !important;
  border-radius: 12px !important;
  border: 4px solid #ffffff !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(148, 163, 184, 0.3) !important;
}
