/* ==========================================================================
   DebSzoftver – Modern Dark Theme
   Loaded after style.css. Dark mode is now the site's only mode: this file
   forces a refreshed, single dark palette on top of the legacy template and
   restyles the recurring components (header, buttons, cards, forms, footer)
   with a more current look. Structure/markup from the base template is kept;
   only colors, spacing, radii, shadows and type are modernized.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --ds-bg: #0a0b0d;
  --ds-bg-alt: #0f1114;
  --ds-surface: #16181d;
  --ds-surface-2: #1c1f26;
  --ds-border: rgba(255, 255, 255, 0.08);
  --ds-border-strong: rgba(255, 255, 255, 0.16);
  --ds-text: #f4f4f2;
  --ds-text-muted: #a2a8b3;
  --ds-accent: #ff4d6d;
  --ds-accent-2: #ff8a3d;
  --ds-accent-gradient: linear-gradient(135deg, var(--ds-accent-2) 0%, var(--ds-accent) 100%);
  --ds-radius-lg: 22px;
  --ds-radius-md: 16px;
  --ds-radius-sm: 10px;
  --ds-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  --ds-shadow-md: 0 18px 45px rgba(0, 0, 0, 0.4);
  --ds-shadow-glow: 0 12px 34px rgba(255, 77, 109, 0.28);
  --ds-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body,
.active-dark-mode {
  background: var(--ds-bg) !important;
  color: var(--ds-text-muted);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

::selection {
  background: var(--ds-accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ds-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--ds-surface-2);
  border-radius: 10px;
  border: 2px solid var(--ds-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ds-accent);
}
* {
  scrollbar-color: var(--ds-surface-2) var(--ds-bg);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ds-text) !important;
}

p {
  line-height: 1.75;
}

a {
  transition: color 0.25s var(--ds-ease), background-color 0.25s var(--ds-ease),
    border-color 0.25s var(--ds-ease), transform 0.25s var(--ds-ease), box-shadow 0.25s var(--ds-ease);
}

hr.mb-0 {
  border: none;
  border-top: 1px solid var(--ds-border);
  opacity: 1;
  margin: 0;
}

.bg_color--1,
.bg_color--4,
.bg_color--5,
.brand-separation,
.active-dark-mode .bg_color--1,
.active-dark-mode .brand-separation {
  background: var(--ds-bg) !important;
}

.bg_image--1,
.bg_image--3,
.active-dark-mode .bg_image--1,
.active-dark-mode .bg_image--3 {
  background-color: var(--ds-bg-alt) !important;
}

[data-black-overlay]:before,
.active-dark-mode [data-black-overlay]:before {
  background-color: var(--ds-bg) !important;
  opacity: 0.55 !important;
}

.theme-gradient {
  background: var(--ds-accent-gradient) !important;
  background-image: var(--ds-accent-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.theme-color {
  color: var(--ds-accent) !important;
}

/* ---------- Header ---------- */
.header-area {
  background: rgba(10, 11, 13, 0.72) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ds-border);
  transition: background-color 0.3s var(--ds-ease), box-shadow 0.3s var(--ds-ease);
}

.header-area.header--sticky.sticky {
  background: rgba(10, 11, 13, 0.92) !important;
  box-shadow: var(--ds-shadow-sm);
}

.header-area .header-wrapper .logo a img {
  filter: drop-shadow(0 0 12px rgba(255, 77, 109, 0.15));
}

.mainmenunav ul.mainmenu > li > a {
  color: var(--ds-text) !important;
  font-weight: 600;
  font-size: 15px;
  position: relative;
}

.mainmenunav ul.mainmenu > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--ds-accent-gradient);
  transition: width 0.25s var(--ds-ease);
  border-radius: 2px;
}

.mainmenunav ul.mainmenu > li > a:hover::after,
.mainmenunav ul.mainmenu > li.current > a::after,
.mainmenunav ul.mainmenu > li.is-current > a::after {
  width: 100%;
}

.mainmenunav ul.mainmenu > li > a:hover,
.mainmenunav ul.mainmenu > li.current > a {
  color: var(--ds-accent) !important;
}

.humberger-menu .menutrigger,
.close-menu .closeTrigger {
  color: var(--ds-text) !important;
}

/* The base theme only gives .mainmenunav position:absolute below the lg
   breakpoint (relying on JS to slide it in as a drawer) — it never actually
   sets display:none, so the full desktop menu still occupies layout width
   in the header and pushes the hamburger button off-screen on real phones. */
@media (max-width: 991.98px) {
  .header-area .mainmenunav {
    display: none !important;
  }
}

/* ---------- Buttons ---------- */
a.rn-btn,
button.rn-btn,
.rn-btn,
a.rn-button-style--2,
button.rn-button-style--2,
.rn-button-style--2,
.form-wrapper form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ds-accent-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: var(--ds-shadow-glow);
  transition: transform 0.25s var(--ds-ease), box-shadow 0.25s var(--ds-ease), filter 0.25s var(--ds-ease);
}

a.rn-btn:hover,
button.rn-btn:hover,
a.rn-button-style--2:hover,
button.rn-button-style--2:hover,
.form-wrapper form button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(255, 77, 109, 0.4);
  filter: brightness(1.06);
  color: #ffffff !important;
}

a.btn-transparent,
a.btn-transparent.rn-btn-dark {
  color: var(--ds-text) !important;
  font-weight: 700;
  border-bottom: 1px solid var(--ds-border-strong);
  padding-bottom: 4px;
  transition: border-color 0.25s var(--ds-ease), color 0.25s var(--ds-ease);
}

a.btn-transparent:hover {
  color: var(--ds-accent) !important;
  border-color: var(--ds-accent);
}

.rn-pricing .pricing-table-inner .pricing-footer a.rn-btn {
  width: 100%;
}

/* ---------- Hero / page title areas ---------- */
.rn-slider-area .slide,
.rn-slider-area .slide .container,
.rn-slider-area .slide .inner,
.rn-page-title-area .rn-page-title {
  width: 100%;
}

/* .slide is a flex container (d-flex); its .container child is a flex item
   and defaults to min-width:auto, which refuses to shrink below its
   content's intrinsic width — on narrow viewports this pushes the hero
   text wider than the screen instead of wrapping. */
.rn-slider-area .slide.d-flex > .container {
  min-width: 0;
}

.rn-slider-area .slide .inner,
.rn-page-title-area .rn-page-title {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.rn-slider-area .slide-style-2 .inner {
  max-width: 900px;
}

.rn-slider-area .slide-style-2 .inner h2.title,
.rn-page-title .title {
  display: block;
  width: 100%;
  font-size: clamp(28px, 5vw, 58px);
  line-height: 1.15;
  overflow-wrap: break-word;
}

.rn-slider-area .slide .inner p.description,
.rn-page-title p {
  color: var(--ds-text-muted) !important;
  font-size: 18px;
  max-width: 100%;
}

/* Inner-page heroes only show a title + one line of text, so the legacy
   theme's huge slide padding (built for the homepage) leaves a lot of dead
   air below. Tighten it and give the eyebrow badge room instead. */
.rn-page-title-area {
  padding-top: 100px !important;
  padding-bottom: 70px !important;
}

.rn-page-title .hero-eyebrow {
  margin-bottom: 18px !important;
}

.slide-btn a,
.rn-page-title .slide-btn a {
  margin-top: 24px;
}

.hero-eyebrow {
  display: inline-flex !important;
  align-items: center;
  color: var(--ds-accent-2) !important;
  background: rgba(255, 138, 61, 0.1);
  border: 1px solid rgba(255, 138, 61, 0.25);
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.14em !important;
  padding: 8px 20px;
  margin-bottom: 20px !important;
}

/* Give the otherwise flat hero/page-title areas some depth */
.rn-page-title-area,
.rn-slider-area .slide.slide-style-2 {
  position: relative;
  overflow: hidden;
}

.rn-page-title-area::after,
.rn-slider-area .slide.slide-style-2::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 77, 109, 0.18), transparent 42%),
    radial-gradient(circle at 82% 25%, rgba(255, 138, 61, 0.14), transparent 40%);
}

.rn-page-title-area .container,
.rn-slider-area .slide.slide-style-2 .container {
  position: relative;
  z-index: 2;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

/* ---------- Service cards ---------- */
.single-service.service__style--3 {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-lg);
  box-shadow: none;
  padding: 40px 30px;
  margin-top: 0 !important;
  margin-bottom: 24px;
  height: calc(100% - 24px);
  transition: transform 0.3s var(--ds-ease), box-shadow 0.3s var(--ds-ease), border-color 0.3s var(--ds-ease);
}

.single-service.service__style--3:hover {
  transform: translateY(-6px);
  border-color: var(--ds-border-strong);
  box-shadow: var(--ds-shadow-md);
}

.single-service.service__style--3 .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--ds-radius-sm);
  background: var(--ds-accent-gradient);
  margin-bottom: 24px;
}

.single-service.service__style--3 .icon i {
  font-size: 20px;
  color: #ffffff;
}

.single-service.service__style--3 .icon img {
  max-width: 34px;
}

.single-service.service__style--3 .content h3.title {
  margin-bottom: 12px;
  font-size: 20px;
}

.single-service.service__style--3 .content p {
  color: var(--ds-text-muted) !important;
}

/* ---------- Workflow / pricing cards ---------- */
/* The base theme's .rn-pricing carries its own 2px accent border plus a
   ::before gradient reveal shape, sized to the old flat card. Both now sit
   behind our differently-sized/radiused card and show through as an
   offset "ghost" outline, so they're disabled here in favor of the border
   on .pricing-table-inner below. */
.rn-pricing {
  height: calc(100% - 24px);
  margin-bottom: 24px;
  border: none !important;
}

.rn-pricing::before {
  display: none !important;
}

.rn-pricing .pricing-table-inner {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: transform 0.3s var(--ds-ease), box-shadow 0.3s var(--ds-ease), border-color 0.3s var(--ds-ease);
}

.rn-pricing .pricing-table-inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow-md);
}

.rn-pricing.active .pricing-table-inner {
  border-color: var(--ds-accent);
  box-shadow: var(--ds-shadow-glow);
}

.rn-pricing .pricing-header .pricing .subtitle {
  color: var(--ds-accent-2) !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.rn-pricing .pricing-body .subtitle,
.rn-pricing .pricing-body .subtitle-2 {
  color: var(--ds-text-muted) !important;
  font-weight: 400;
  text-transform: none;
  font-size: 15px;
  letter-spacing: normal;
  line-height: 1.7;
}

.rn-pricing .pricing .price {
  font-size: 34px !important;
  font-weight: 800 !important;
  color: var(--ds-text) !important;
}

.rn-pricing .list-style--1 li {
  padding: 8px 0;
  color: var(--ds-text-muted);
}

.rn-pricing .list-style--1 li i,
.rn-pricing .list-style--1 li i.fa-check {
  color: var(--ds-accent);
  margin-right: 10px;
}

/* ---------- Portfolio gallery (homepage) ---------- */
.item-portfolio-static {
  margin-bottom: 24px;
  display: block;
}

.portfolio-static {
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  transition: transform 0.35s var(--ds-ease), box-shadow 0.35s var(--ds-ease);
}

.item-portfolio-static:hover .portfolio-static {
  transform: translateY(-6px);
  box-shadow: var(--ds-shadow-md);
}

.portfolio-static .thumbnail-inner .thumbnail {
  border-radius: 0;
  overflow: hidden;
}

.portfolio-static .thumbnail-inner .thumbnail img {
  transition: transform 0.6s var(--ds-ease);
}

.item-portfolio-static:hover .thumbnail img {
  transform: scale(1.06);
}

.portfolio-static .content {
  padding: 24px 26px;
}

.portfolio-static .content .inner p {
  color: var(--ds-text-muted) !important;
  margin-bottom: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portfolio-static .content .inner h4 {
  color: var(--ds-text) !important;
  margin: 0;
}

/* ---------- Portfolio detail pages ---------- */
.portfolio-details .inner h2 {
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ds-accent-2) !important;
  margin-bottom: 20px;
}

.portfolio-details .inner p.subtitle {
  color: var(--ds-text) !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  margin-top: 0 !important;
}

.portfolio-details .inner p {
  color: var(--ds-text-muted);
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* Simple label/value spec rows instead of a card grid — quieter and less
   repetitive than boxing every single field. */
.portfolio-view-list {
  display: flex !important;
  flex-direction: column;
  border-top: 1px solid var(--ds-border);
  margin: 32px 0;
  width: 100%;
}

.portfolio-view-list .port-view {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 18px 0;
  margin: 0;
  width: 100%;
  border-bottom: 1px solid var(--ds-border);
}

.portfolio-view-list .port-view span {
  color: var(--ds-text-muted) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  flex: 0 0 140px;
}

.portfolio-view-list .port-view h4,
.portfolio-view-list .port-view h4 a {
  color: var(--ds-text) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  margin: 0;
}

.portfolio-view-list .port-view h4 a {
  border-bottom: 1px solid var(--ds-border-strong);
  transition: color 0.25s var(--ds-ease), border-color 0.25s var(--ds-ease);
}

.portfolio-view-list .port-view h4 a:hover {
  color: var(--ds-accent) !important;
  border-color: var(--ds-accent);
}

.portfolio-thumb-inner .thumb img {
  border-radius: var(--ds-radius-lg);
  border: 1px solid var(--ds-border);
  box-shadow: var(--ds-shadow-md);
}

/* ---------- Counter stats ---------- */
.counterup_style--1 {
  text-align: center;
  padding: 20px;
}

.counterup_style--1 h5.counter {
  font-size: 46px;
  font-weight: 800;
  background: var(--ds-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.counterup_style--1 .description {
  color: var(--ds-text-muted) !important;
}

/* ---------- Blog cards ---------- */
.blog.blog-style--1 {
  background: var(--ds-surface) !important;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  margin-top: 0 !important;
  margin-bottom: 24px;
  transition: transform 0.3s var(--ds-ease), box-shadow 0.3s var(--ds-ease);
}

.blog.blog-style--1:hover {
  transform: translateY(-6px);
  box-shadow: var(--ds-shadow-md);
}

.blog.blog-style--1 .thumbnail img {
  transition: transform 0.5s var(--ds-ease);
}

.blog.blog-style--1:hover .thumbnail img {
  transform: scale(1.05);
}

.blog.blog-style--1 .content {
  padding: 26px 24px;
  background: transparent !important;
}

.blog.blog-style--1 .content p.blogtype {
  display: inline-block;
  color: var(--ds-accent) !important;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.blog.blog-style--1 .content h4.title a {
  color: var(--ds-text) !important;
  font-size: 19px;
}

/* This link is a shared .rn-btn (gradient pill) sitting on the card's own
   reddish hover scrim — the two gradients blend together, so give it a
   solid, high-contrast treatment specific to this context. */
.blog.blog-style--1 .content .blog-btn a.rn-btn {
  background: #ffffff !important;
  color: #14161a !important;
  font-weight: 700;
  font-size: 13px;
  box-shadow: none;
  padding: 10px 22px !important;
}

.blog.blog-style--1 .content .blog-btn a.rn-btn:hover {
  background: var(--ds-text) !important;
  transform: translateY(-2px);
}

/* Blog / rich-text article content injected via {!! $blog->content !!} */
.page-wrapper img {
  border-radius: var(--ds-radius-md);
}

.page-wrapper blockquote {
  border-left: 3px solid var(--ds-accent);
  padding: 6px 0 6px 22px;
  color: var(--ds-text) !important;
  font-style: italic;
}

/* ---------- Contact form ---------- */
.form-wrapper form input[type="text"],
.form-wrapper form input[type="email"],
.form-wrapper form input[type="tel"],
.form-wrapper form select,
.form-wrapper form textarea {
  width: 100%;
  background: var(--ds-surface) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-sm) !important;
  color: var(--ds-text) !important;
  padding: 14px 18px !important;
  margin-bottom: 16px;
  font-family: inherit;
  box-shadow: none !important;
  transition: border-color 0.25s var(--ds-ease), box-shadow 0.25s var(--ds-ease);
}

.form-wrapper form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23a2a8b3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  padding-right: 44px !important;
}

.form-wrapper form input::placeholder,
.form-wrapper form textarea::placeholder {
  color: var(--ds-text-muted);
}

/* Browsers (Firefox in particular) draw their own red glow on required
   fields that haven't been filled/selected yet; it doesn't respect our
   border-radius and shows up as a skewed-looking ring. Keep validation
   silent until submit and rely on our own :focus ring instead. */
.form-wrapper form input:invalid,
.form-wrapper form select:invalid,
.form-wrapper form textarea:invalid {
  box-shadow: none !important;
}

.form-wrapper form input:focus,
.form-wrapper form select:focus,
.form-wrapper form textarea:focus {
  outline: none;
  border-color: var(--ds-accent) !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.18) !important;
}

.form-wrapper form select option {
  background: var(--ds-surface);
  color: var(--ds-text);
}

.form-wrapper form input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--ds-accent);
  flex-shrink: 0;
}

.form-wrapper form p.d-flex {
  align-items: center;
  color: var(--ds-text-muted);
  margin-bottom: 20px;
}

.form-wrapper .alert-success {
  background: rgba(76, 217, 123, 0.12);
  border: 1px solid rgba(76, 217, 123, 0.35);
  color: #7be3a1;
  border-radius: var(--ds-radius-sm);
  padding: 14px 18px;
  margin-bottom: 18px;
}

/* ---------- Footer ---------- */
.footer-area.footer-default {
  background: var(--ds-bg-alt) !important;
  border-top: 1px solid var(--ds-border);
  padding-top: 40px;
}

.footer-left .inner span {
  color: var(--ds-accent-2);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* The footer-left panel is itself an accent-gradient background, so the
   shared gradient button would blend into it — give it a solid, high
   contrast treatment instead just in this context. */
.footer-left .inner a.rn-button-style--2 {
  background: var(--ds-bg) !important;
  color: #ffffff !important;
  box-shadow: var(--ds-shadow-sm);
}

.footer-left .inner a.rn-button-style--2:hover {
  background: #000000 !important;
  box-shadow: var(--ds-shadow-md);
}

.footer-widget h4 {
  color: var(--ds-text) !important;
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-widget ul.ft-link li a {
  color: var(--ds-text-muted) !important;
  transition: color 0.25s var(--ds-ease), padding-left 0.25s var(--ds-ease);
}

.footer-widget ul.ft-link li a:hover {
  color: var(--ds-accent) !important;
  padding-left: 4px;
}

ul.social-share.social-style--2 li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ds-surface) !important;
  border: 1px solid var(--ds-border);
  color: var(--ds-text) !important;
  transition: background 0.25s var(--ds-ease), transform 0.25s var(--ds-ease);
}

ul.social-share.social-style--2 li a:hover {
  background: var(--ds-accent-gradient) !important;
  transform: translateY(-3px);
  color: #fff !important;
}

.copyright-text p {
  color: var(--ds-text-muted) !important;
}

/* ---------- 404 ---------- */
.error-page-inner .inner h1.title {
  font-size: clamp(60px, 10vw, 140px);
}

.error-page-inner .inner .sub-title {
  color: var(--ds-text) !important;
}
