/* Inner pages (layouts.front): Inqord look for content built with Bootstrap 5 + theme variables. */

:root {
  --primary-color: var(--base-skin);
  --primary-hover: color-mix(in srgb, var(--base-skin) 78%, #000);
  --primary-light: color-mix(in srgb, var(--base-skin) 60%, #fff);
  --primary-lighter: color-mix(in srgb, var(--base-skin) 35%, #fff);
  --primary-muted: color-mix(in srgb, var(--base-skin) 45%, #fff);
  --primary-border: color-mix(in srgb, var(--base-skin) 45%, #fff);
  --primary-border-soft: color-mix(in srgb, var(--base-skin) 22%, #fff);
  --primary-bg-soft: color-mix(in srgb, var(--base-skin) 14%, #fff);
  --primary-bg: color-mix(in srgb, var(--base-skin) 10%, #fff);
  --primary-bg-light: color-mix(in srgb, var(--base-skin) 7%, #fff);
  --primary-bg-lighter: color-mix(in srgb, var(--base-skin) 4%, #fff);
  --accent-color: var(--base-skin);
  --accent-hover: var(--primary-hover);
  --secondary-color: var(--base-skin);
  --hero-accent-color: #8fb8ff;
  --dark-bg: var(--base-dark);
  --text-heading: var(--base-dark);
  --text-dark: var(--base-dark);
  --text-muted: #5b6880;
  --accent-soft: var(--primary-bg);
  --accent-gradient: linear-gradient(135deg, var(--base-skin) 0%, color-mix(in srgb, var(--base-skin) 65%, #5fa2ff) 100%);
  --accent-gradient-hover: linear-gradient(135deg, var(--base-dark) 0%, color-mix(in srgb, var(--base-dark) 70%, var(--base-skin)) 100%);
  --accent-gradient-vertical: linear-gradient(180deg, color-mix(in srgb, var(--base-skin) 65%, #5fa2ff) 0%, var(--base-skin) 100%);
  --accent-gradient-vertical-hover: var(--accent-gradient-hover);
  --accent-gradient-text: var(--accent-gradient);
  --accent-gradient-dual: var(--accent-gradient);
  --cta-gradient:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--base-skin) 55%, transparent) 0, transparent 42%),
    radial-gradient(circle at 6% 100%, color-mix(in srgb, var(--base-skin) 30%, transparent) 0, transparent 38%),
    linear-gradient(135deg, var(--base-dark) 0%, color-mix(in srgb, var(--base-dark) 78%, var(--base-skin)) 100%);
  --stats-gradient: var(--cta-gradient);
  --footer-gradient: var(--base-dark);
  --accent-shadow: color-mix(in srgb, var(--base-skin) 28%, transparent);
  --accent-shadow-md: color-mix(in srgb, var(--base-skin) 22%, transparent);
  --accent-shadow-lg: color-mix(in srgb, var(--base-skin) 34%, transparent);
  --accent-shadow-sm: color-mix(in srgb, var(--base-skin) 16%, transparent);
  --accent-shadow-xs: color-mix(in srgb, var(--base-skin) 10%, transparent);
  --accent-shadow-card: color-mix(in srgb, var(--base-dark) 8%, transparent);
  --navbar-border: #e6ebf3;
  --in-radius: 18px;
  --in-border: 1px solid #e6ebf3;
  --in-shadow: 0 12px 34px rgba(0, 23, 70, 0.07);
}

.inner-page { background: #fff; }
.inner-page .prt-header-style-01 { position: relative; background: var(--base-dark); }
.inner-main { position: relative; overflow-x: clip; color: #24324a; }

/* ---------- Typography ---------- */
:where(.inner-main) :is(h1, h2, h3, h4, h5, h6) { font-family: var(--base-headingfont); color: inherit; font-weight: 700; margin-bottom: .5em; letter-spacing: -.01em; }
:where(.inner-main) h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.15; }
:where(.inner-main) h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; }
:where(.inner-main) h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; }
:where(.inner-main) h4 { font-size: 20px; line-height: 1.35; }
:where(.inner-main) h5 { font-size: 18px; line-height: 1.4; }
:where(.inner-main) h6 { font-size: 16px; line-height: 1.4; }
:where(.inner-main) p { line-height: 1.75; }
.inner-main .lead { font-size: 18px; }
.inner-main .text-muted { color: var(--text-muted) !important; }
.inner-main a:not(.btn):not(.prt-btn) { transition: color .2s; }
.inner-main :is(.section-title, .card-title, .card h3, .card h4, .card h5):not(.text-white) { color: var(--base-dark); }
.inner-main .text-white :is(h1, h2, h3, h4, h5, h6),
.inner-main .bg-dark :is(h1, h2, h3, h4, h5, h6) { color: #fff; }

/* ---------- Page hero (first section of every page) ---------- */
.inner-main > section:first-of-type:is(.text-white, [class*="-hero"], .hero-section) {
  position: relative !important;
  overflow: hidden !important;
  background: var(--cta-gradient) !important;
  color: #fff;
  padding: 90px 0 110px !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  isolation: isolate;
}
.inner-main > section:first-of-type:is(.text-white, [class*="-hero"], .hero-section)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
}
.inner-main > section:first-of-type:is(.text-white, [class*="-hero"], .hero-section)::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .04);
}
.inner-main > section:first-of-type:is(.text-white, [class*="-hero"], .hero-section) :is(h1, h2, h3, h4, h5, h6) { color: #fff !important; }
.inner-main > section:first-of-type:is(.text-white, [class*="-hero"], .hero-section) :is(p, .lead, li, span:not(.hero-accent):not(.badge)) { color: rgba(255, 255, 255, .82); }
.inner-main > section:first-of-type:is(.text-white, [class*="-hero"], .hero-section) .hero-accent,
.inner-main .hero-accent { color: var(--hero-accent-color) !important; }
.inner-main > section:first-of-type:is(.text-white, [class*="-hero"], .hero-section) .badge {
  background: rgba(255, 255, 255, .14) !important;
  color: #fff !important;
  border: 0;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
}
.inner-main > section:first-of-type:is(.text-white, [class*="-hero"], .hero-section) .breadcrumb-item,
.inner-main > section:first-of-type:is(.text-white, [class*="-hero"], .hero-section) .breadcrumb-item a { color: rgba(255, 255, 255, .8); }
.inner-main .hero-section { min-height: 0 !important; }

/* ---------- Sections & surfaces ---------- */
.inner-main .bg-light { background-color: var(--base-grey) !important; }
.inner-main .bg-primary { background: var(--base-skin) !important; }
.inner-main .bg-dark { background: var(--base-dark) !important; }
.inner-main .text-primary { color: var(--base-skin) !important; }
.inner-main .border-primary { border-color: var(--base-skin) !important; }

.inner-main .card {
  border: var(--in-border);
  border-radius: var(--in-radius);
  box-shadow: var(--in-shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.inner-main .card.border-0 { border: 0; }
.inner-main .card:hover { box-shadow: 0 18px 44px rgba(0, 23, 70, .11); }
.inner-main .card-header,
.inner-main .card-footer { background: #fff; border-color: #eef1f6; }
.inner-main .card-title { color: var(--base-dark); }
.inner-main .shadow-sm { box-shadow: var(--in-shadow) !important; }
.inner-main .rounded-3, .inner-main .rounded-4 { border-radius: var(--in-radius) !important; }

.inner-main :is(.service-card, .pricing-card, .team-card, .feature-card, .product-card, .plan-card, .info-card) {
  border: var(--in-border) !important;
  border-radius: var(--in-radius) !important;
  box-shadow: var(--in-shadow);
  background: #fff;
}
.inner-main :is(.service-card, .pricing-card, .team-card, .feature-card, .product-card, .plan-card, .info-card):hover {
  border-color: var(--primary-border-soft) !important;
  box-shadow: 0 20px 48px rgba(0, 23, 70, .12);
}

/* ---------- Buttons ---------- */
.inner-main .btn {
  border-radius: 50px;
  font-weight: 600;
  padding: 11px 26px;
  letter-spacing: .01em;
  transition: all .25s ease;
}
.inner-main .btn-sm { padding: 7px 16px; font-size: 14px; }
.inner-main .btn-lg { padding: 14px 34px; font-size: 17px; }
.inner-main .btn-primary,
.inner-main .btn-custom,
.inner-main .btn-modern {
  background: var(--base-skin) !important;
  border: 2px solid var(--base-skin) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px var(--accent-shadow);
}
.inner-main .btn-primary:hover,
.inner-main .btn-custom:hover,
.inner-main .btn-modern:hover {
  background: var(--base-dark) !important;
  border-color: var(--base-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
}
.inner-main .btn-outline-primary {
  color: var(--base-skin) !important;
  border: 2px solid var(--base-skin) !important;
  background: transparent !important;
}
.inner-main .btn-outline-primary:hover { background: var(--base-skin) !important; color: #fff !important; }
.inner-main .btn-light,
.inner-main .btn-outline-light { border-width: 2px; }
.inner-main .text-white .btn-outline-light:hover { color: var(--base-dark) !important; }

/* ---------- Forms ---------- */
.inner-main .form-control,
.inner-main .form-select {
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  background-color: #fff;
  color: var(--base-dark);
  font-size: 15px;
  box-shadow: none;
}
.inner-main textarea.form-control { min-height: 130px; }
.inner-main .form-control-sm, .inner-main .form-select-sm { min-height: 38px; padding: 6px 12px; font-size: 14px; }
.inner-main .form-control:focus,
.inner-main .form-select:focus {
  border-color: var(--base-skin);
  box-shadow: 0 0 0 4px var(--accent-shadow-xs);
}
.inner-main .form-label { font-weight: 600; color: var(--base-dark); margin-bottom: 8px; }
.inner-main .input-group-text { border-radius: 12px; border-color: #dfe5ef; background: var(--base-grey); }
.inner-main .input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.inner-main .input-group > .btn:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.inner-main .form-check-input:checked { background-color: var(--base-skin); border-color: var(--base-skin); }

/* ---------- Misc components ---------- */
.inner-main .badge.bg-primary { background: var(--base-skin) !important; }
.inner-main .nav-pills .nav-link { border-radius: 50px; font-weight: 600; color: var(--base-dark); }
.inner-main .nav-pills .nav-link.active { background: var(--base-skin); color: #fff; }
.inner-main .nav-tabs .nav-link.active { color: var(--base-skin); border-bottom-color: #fff; }
.inner-main .table { --bs-table-bg: transparent; vertical-align: middle; }
.inner-main .table thead th { color: var(--base-dark); font-weight: 700; background: var(--base-grey); border-bottom: 0; }
.inner-main .accordion-item { border: var(--in-border); border-radius: 14px !important; overflow: hidden; margin-bottom: 12px; }
.inner-main .accordion-button:not(.collapsed) { background: var(--primary-bg-light); color: var(--base-dark); box-shadow: none; }
.inner-main .alert { border-radius: 14px; }
.inner-main .list-group-item.active { background: var(--base-skin); border-color: var(--base-skin); }
.inner-main .pagination .page-link { border-radius: 10px; margin: 0 3px; color: var(--base-dark); }
.inner-main .pagination .active .page-link { background: var(--base-skin); border-color: var(--base-skin); color: #fff; }
.inner-main img { max-width: 100%; }
.inner-main ul { padding-left: 0; }
.inner-main ul:not(.list-unstyled):not(.nav):not(.pagination):not(.dropdown-menu):not(.list-inline):not(.list-group) { padding-left: 1.25rem; }

/* ---------- Mobile & tablet ---------- */
@media (max-width: 1199px) {
  .inner-main > section:first-of-type:is(.text-white, [class*="-hero"], .hero-section) {
    padding: 70px 0 90px !important;
    height: auto !important;
    max-height: none !important;
  }
  .inner-main .hero-section,
  .inner-main .hero-section * { max-height: none !important; }
  .inner-main > section:first-of-type:is(.text-white, [class*="-hero"], .hero-section)::after { width: 260px; height: 260px; border-width: 40px; }
}

@media (max-width: 767px) {
  .inner-main > section:first-of-type:is(.text-white, [class*="-hero"], .hero-section) { padding: 56px 0 84px !important; }
  :where(.inner-main) h1 { font-size: 30px; }
  :where(.inner-main) h2 { font-size: 26px; }
  .inner-main .display-4, .inner-main .display-5 { font-size: 30px !important; }
  .inner-main .btn-lg { padding: 13px 26px; font-size: 16px; }
  .inner-main .card { border-radius: 16px; }
}
