/* ----- Scope ----- */
.indus-hero-supported { --blue-900: #0b2f87; --blue-700: #1246bc; --blue-500: #2a66e6;
  --text: #0f172a; --muted: #5b6b88; --white: #fff; --pill-bg: rgba(255,255,255,.12);
  --card: #f8fafc; --border: #e5e7eb; --shadow: 0 10px 30px rgba(0,0,0,.15);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
}
/* ----- Hero ----- */

.design-index-index .page-footer {
    margin-top: 0px !important;
}
.design-index-index .page-title-wrap {
    display: none;
}
.design-index-index #maincontent {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.ihs-hero { position: relative; overflow: hidden; }
.design-index-index .ihs-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(23, 85, 168, 0.9), rgba(23, 85, 168, 0.7)),url('/media/wysiwyg/indus/hero-board.jpg')
  transform: translateZ(0);
}
.ihs-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 25px 20px 84px !important;
}
.ihs-title {
 color: #fff;
    font-weight: 800;
    line-height: 1.15;
    font-size: 45px;
    letter-spacing: .2px;
    margin: 0 0 12px;
}
.ihs-subtitle {
    color: #fff;
    font-size: 17px;
    max-width: 100%;
    margin: 20px auto !important;
    width: 900px;
}
.ihs-pills { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.design-index-index .ihs-pill {
  color: #3065bf;
    background: #fff;
    border: 1px solid #3065bf;
    border-radius: 999px;
    padding: 12px 15px;
    font-size: 15px;
    backdrop-filter: blur(4px);
}
.ihs-pill:hover {
    background: #3065bf;
    color: #fff;
    border: 1px solid #3065bf;
    transform: scale(1.2);
}

/* Floating stats card */
.design-index-index .ihs-stats {
    position: relative;
    z-index: 3;
    margin: -38px auto 0;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 18px 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 12px;
    max-width: 1050px;
    animation: ihsFloat 9sease-in-out infinite;
}
.ihs-stat { text-align: center; }
.design-index-index .ihs-num { 
    font-size: 42px;
    font-weight: 800;
    color: #3065bf;
    padding: 8px 5px;
    margin-top: 15px;
}
.design-index-index .ihs-label { 
    font-size: 16px;
    color: #666;
    letter-spacing: .2px;
    padding: 12px 0;
    line-height: 31px;
    text-align: center;
    text-transform: uppercase;
 }

/* Soft shadow below hero */
.ihs-hero-shadow {
  position: relative; height: 48px; z-index: 1;
}

/* ----- Supported tools section ----- */
.ihs-supported { background: #fff; }
.ihs-supported-inner { max-width: 1100px; margin: 0 auto; padding: 40px 20px 70px; }
.design-index-index .ihs-supported-title {
     text-align: center;
    color: #3065bf !important;
    font-size: 45px;
    font-weight: 800;
    margin: 0 0 8px;
}
.design-index-index .ihs-supported-sub {
      text-align: center !important;
    color: #666 !important;
    margin: 0 0 28px !important;
    font-size: 16px !important;
}

.ihs-tools {
  display: grid; gap: 30px;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
}
@media (max-width: 1100px) { .ihs-tools { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .ihs-tools { grid-template-columns: repeat(2, 1fr); } }

.ihs-tool {
  display: grid; place-items: center; text-align: center; text-decoration: none;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 22px 16px; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative;
}
.ihs-tool:hover { transform: translateY(-3px); box-shadow: 0 12px 22px rgba(0,0,0,.08); border-color: #b6cef4; }
.ihs-tool-icon { font-size: 28px; margin-bottom: 8px; }
.ihs-tool-title { font-weight: 600; font-size: 14px; }
.ihs-tool-sub { color: var(--muted); font-size: 12px; }

/* Subtle float for hero stats (iOS-safe) */
@keyframes ihsFloat {
  0%   { transform: translateY(0) }
  50%  { transform: translateY(-6px) }
  100% { transform: translateY(0) }
}



/* ===== Scope to the form area only ===== */
.design-form-wrap {
  --card: #ffffff;
  --border: #e6edf5;
  --text: #0f172a;
  --muted: #607d8b;
  --shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
  --radius-card: 16px;
  --radius-input: 10px;
  --blue-500: #2a66e6;
  --blue-600: #1f54d6;
  --blue-700: #1246bc;

  background: var(--bg);
  padding: 48px 0 64px; /* visual space above/below the card */
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.design-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.design-container h2 {
    text-align: center;
    color: #3065bf !important;
    font-size: 45px;
    font-weight: 800;
    margin: 0 0 8px;
}

.design-container .sub {
   text-align: center;
    color: #666;
    margin: 0 0 28px !important;
    font-size: 16px;
}

/* ===== Card ===== */
.design-form-card {
  background: var(--card);
  border: 1px solid #b6cef4;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 26px;
  text-align: left;
}

/* Add a faint top highlight on the card, like the screenshot */
.design-form-card::before {
  content: "";
  display: block;
  height: 10px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: linear-gradient(180deg, rgba(15,23,42,.06), rgba(15,23,42,0));
  position: relative;
  top: -16px;
  margin: -10px -26px 6px;
}

/* ===== Grid rows ===== */
.design-form {
  display: grid;
  gap: 16px;
}

.design-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.design-field:has(.design-textarea) {
  grid-template-columns: 1fr; /* textarea row spans full width */
}

/* responsive: 2 cols -> 1 col */
@media (max-width: 720px) {
  .design-field { grid-template-columns: 1fr; }
}

/* ===== Columns & labels ===== */
.design-field .col { display: flex;
    flex-direction: column;
    margin-bottom: 10px; }

.design-label {
    font-size: 14px;
    color: #000;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
input#design_files {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
}
.design-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
}

/* ===== Inputs / selects / textarea ===== */


/* Select height & arrow align */
.design-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #98a8bd 50%), linear-gradient(135deg, #98a8bd 50%, transparent 50%); background-position: calc(100% - 16px) calc(50% - 6px), calc(100% - 11px) calc(50% - 6px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }

.design-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
}

/* Placeholder color */
.design-input::placeholder,
.design-select::placeholder,
.design-textarea::placeholder { color: #9aa8ba; }

/* Focus style: blue outline & glow */
.design-input:focus,
.design-select:focus,
.design-textarea:focus {
  border-color: rgba(42, 102, 230, .65);
  box-shadow: 0 0 0 3px rgba(42, 102, 230, .18);
}

/* Invalid style (Magento validation adds .mage-error message) */
.design-input.mage-error,
.design-select.mage-error,
.design-textarea.mage-error {
  border-color: #e57373;
  box-shadow: 0 0 0 3px rgba(229, 115, 115, .18);
}

/* ===== Inline validation messages ===== */
div.mage-error { 
  color: #d32f2f; 
  font-size: 12px; 
  margin-top: 6px; 
}

/* File input helper text */
#file-errors { font-size: 12px; }

/* ===== Submit button ===== */
.design-submit {
  display: inline-block;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  margin-top: 6px;
  font-weight: 700;
  font-size: 14.5px;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, #1755a8, #1a7abf);
  box-shadow: 0 8px 18px rgba(18, 70, 188, .25);
  transition: transform .12s ease, box-shadow .18s ease, filter .18s ease;
}

.design-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(18, 70, 188, .25);
  filter: saturate(1.05);
  background: linear-gradient(135deg, #1755a8, #1a7abf);
}

.design-submit:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(18, 70, 188, .25);
}

/* ===== Small refinements ===== */
.design-form-card small {
  color: var(--muted);
  font-size: 12px;
}

.design-form-wrap .note {
  color: var(--muted);
  font-size: 12px;
}

/* Improve select alignment in Safari/iOS */
@supports (-webkit-touch-callout: none) {
  .design-select { line-height: 1.1; }
}
