/*------------------------------------------------------
   CSS INDEX
-----------------------------------------------------

    01. Base CSS 
        # Base CSS
        # Common CSS
    02. Components CSS 
        # Header CSS
        # Elements CSS
        # Project
        # Accordion
        # Pricing
        # Team
        # Testimonial
        # Blogs
        # Footer
    03. Templates
        # Banner
        # Service
        # Sections
        # Contact    
-------------------------------------------------------    */
/*---- 

====================
1. Base CSS
    # base  CSS
====================

----*/
/* Base CSS */
:root {
  --primary-color: #9CFE4F;
  --heading-color: #1A1A1A;
  --primary-black-color: #0E0F11;
  --white-color: #ffffff;
  --text-color: #9E9FA0;
  --border-color: #313131;
  --gray-dark: #18191B;
  --heading-font: "Source Sans 3", serif;
  --body-font: "Roboto", serif;
}

html {
  font-size: 100%;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
a:hover, a:focus {
  color: inherit;
  text-decoration: none;
}

a:focus,
input:focus,
textarea:focus,
button:focus {
  text-decoration: none;
  outline: none;
}

i,
span,
a {
  display: inline-block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin: 0px;
  color: var(--white-color);
  font-family: var(--heading-font);
}

h1 {
  font-size: 85px;
  line-height: 100px;
}

h2 {
  font-size: 52px;
  line-height: 58px;
}

h3 {
  font-size: 27px;
  line-height: 40px;
}

h4 {
  font-size: 24px;
  line-height: 34px;
}

h5 {
  font-size: 20px;
  line-height: 1;
}

h6 {
  font-size: 18px;
  line-height: 1;
}

ul, ol {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

p {
  margin: 0px;
}

input, textarea {
  display: inherit;
}

button {
  border: none;
}

label {
  margin-bottom: 0;
}

iframe {
  width: 100%;
  border: none;
  display: inherit;
}

img {
  max-width: 100%;
}

body {
  background-color: var(--primary-black-color);
  font-weight: normal;
  font-style: normal;
  font-weight: 400;
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 30px;
  overflow-x: hidden;
}

main {
  display: inline-block;
  width: 100%;
}

/*===== Scrollbar =====*/
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #abafb9;
}

::-webkit-scrollbar-thumb {
  background-color: #13172b;
}

/* Preloader CSS */
.preloader {
  bottom: 0;
  height: 100vh;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100vw;
  z-index: 99999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: var(--primary-black-color);
}

.loading-container,
.loading {
  height: 100px;
  position: relative;
  width: 100px;
  border-radius: 100%;
}

.loading-container {
  margin: 40px auto;
}

.loading {
  border: 1px solid transparent;
  border-color: transparent var(--border-color) transparent var(--border-color);
  -webkit-animation: rotate-loading 1.5s linear 0s infinite normal;
          animation: rotate-loading 1.5s linear 0s infinite normal;
  -webkit-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
}

.loading-container:hover .loading,
.loading-container .loading {
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

#loading-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 66px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

@-webkit-keyframes rotate-loading {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes rotate-loading {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
/*  Back To Top */
.scrollTop {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background-color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--heading-color);
  z-index: 1;
}
.scrollTop:hover {
  color: var(--heading-color);
}

/*---- 

====================
01. Base CSS
    # Common CSS
====================

----*/
#smooth-wrapper {
  z-index: 1;
}

label {
  margin-bottom: 0;
}

@media (min-width: 1451px) {
  .container {
    max-width: 1314px;
  }
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .container {
    max-width: 1200px;
  }
}
.p-r {
  position: relative;
}

.bg_cover {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100% 100%;
}

.font-200 {
  font-weight: 200;
}

.form-group {
  position: relative;
}

.form_control {
  width: 100%;
}

.gray-dark {
  background-color: var(--gray-dark);
}

.sub-title {
  border: 1px solid var(--primary-color);
  padding: 10px;
  border-radius: 30px;
  color: var(--white-color);
  line-height: 10px;
  text-transform: capitalize;
  margin-bottom: 20px;
}

.section-title h2 {
  color: var(--white-color);
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .section-title h2 {
    font-size: 40px;
    line-height: 50px;
  }
}
@media screen and (max-width: 991px) {
  .section-title h2 {
    font-size: 36px;
    line-height: 47px;
  }
}
@media (max-width: 767px) {
  .section-title h2 {
    font-size: 28px;
    line-height: 40px;
  }
}

.text-white p,
.text-white h6,
.text-white h5,
.text-white h4,
.text-white h3,
.text-white h2, .text-white h1 {
  color: var(--white-color);
}
.text-white .sub-heading {
  background-color: var(--white-color);
  color: var(--heading-color);
  border-color: transparent;
}

.video-popup {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  z-index: 1;
}

.play-button.style-one .video-popup {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  font-size: 24px;
  color: var(--white-color);
}
.play-button.style-one .video-popup:hover {
  color: var(--white-color);
}

@-webkit-keyframes playpopup {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 0.6;
  }
  50% {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
    opacity: 0.3;
  }
  100% {
    -webkit-transform: scale(2);
            transform: scale(2);
    opacity: 0;
  }
}

@keyframes playpopup {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 0.6;
  }
  50% {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
    opacity: 0.3;
  }
  100% {
    -webkit-transform: scale(2);
            transform: scale(2);
    opacity: 0;
  }
}
.theme-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.theme-btn.style-one {
  background-color: var(--primary-color);
  padding: 10px 30px;
  border-radius: 30px;
  color: var(--heading-color);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  -webkit-transition: all 0.1s cubic-bezier(0.68, 0.01, 0.58, 0.75);
  transition: all 0.1s cubic-bezier(0.68, 0.01, 0.58, 0.75);
}
.theme-btn.style-one:hover .text-flip {
  -webkit-transform: translateY(-150%);
          transform: translateY(-150%);
}
.theme-btn.style-one:hover .text-flip .text:nth-child(1) {
  opacity: 0;
}
.theme-btn.style-one:hover .text-flip .text:nth-child(2) {
  -webkit-transform: translate(-50%, 100%);
          transform: translate(-50%, 100%);
  opacity: 1;
}
.theme-btn.style-one:hover .icon i {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.theme-btn.style-one .text-flip {
  -webkit-transition: opacity 0.6s, -webkit-transform 0.8s;
  transition: opacity 0.6s, -webkit-transform 0.8s;
  transition: opacity 0.6s, transform 0.8s;
  transition: opacity 0.6s, transform 0.8s, -webkit-transform 0.8s;
  -webkit-transition-timing-function: cubic-bezier(0.15, 0.85, 0.31, 1);
          transition-timing-function: cubic-bezier(0.15, 0.85, 0.31, 1);
}
.theme-btn.style-one .text-flip .text {
  -webkit-transition: opacity 0.6s, -webkit-transform 0.8s;
  transition: opacity 0.6s, -webkit-transform 0.8s;
  transition: opacity 0.6s, transform 0.8s;
  transition: opacity 0.6s, transform 0.8s, -webkit-transform 0.8s;
  -webkit-transition-timing-function: cubic-bezier(0.15, 0.85, 0.31, 1);
          transition-timing-function: cubic-bezier(0.15, 0.85, 0.31, 1);
}
.theme-btn.style-one .text-flip .text:nth-child(2) {
  display: inline-block;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, 80%);
          transform: translate(-50%, 80%);
  opacity: 0;
}
.theme-btn.style-one .icon {
  margin-left: 10px;
}
.theme-btn.style-one .icon i {
  -webkit-transition: all 0.3s cubic-bezier(0.68, 0.01, 0.58, 0.75);
  transition: all 0.3s cubic-bezier(0.68, 0.01, 0.58, 0.75);
}
.theme-btn.style-two {
  padding: 10px 20px;
  font-weight: 500;
  background-color: var(--primary-color);
  color: var(--heading-color);
  line-height: 20px;
  border-radius: 40px;
}

.read-more {
  color: var(--white-color);
  font: 600 16px var(--body-font);
}
.read-more.style-one {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}
.read-more.style-one:after {
  content: "";
  width: 40px;
  height: 1px;
  margin-left: 10px;
  background-color: var(--white-color);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.read-more.style-one:hover {
  color: var(--primary-color);
}
.read-more.style-one:hover:after {
  width: 50px;
}

.check-list.style-one li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.check-list.style-one li:not(:last-child) {
  margin-bottom: 10px;
}
.check-list.style-one li i {
  color: var(--primary-color);
  margin-right: 10px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .check-list.style-one li {
    font-size: 14px;
  }
}

.ratings li {
  display: inline-block;
  color: #FF9900;
}

/* Offcanvas Overlay */
.offcanvas__overlay {
  position: fixed;
  height: 100%;
  width: 100%;
  background: #151515;
  z-index: 1;
  top: 0;
  opacity: 0;
  visibility: hidden;
  right: 0;
}
.offcanvas__overlay.overlay-open {
  opacity: 0.8;
  visibility: visible;
}

/* Animated List Wrap */
.headline-wrap {
  font-size: 250px;
  line-height: normal;
  font-family: var(--heading-font);
  text-transform: capitalize;
}
@media (max-width: 767px) {
  .headline-wrap {
    font-size: 80px;
  }
}
.headline-wrap .marquee-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}
.headline-wrap .marquee-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-right: 50px;
}
.headline-wrap .marquee-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.headline-wrap .marquee-inner.left {
  -webkit-animation: marquee_left 15s linear infinite;
          animation: marquee_left 15s linear infinite;
}
.headline-wrap.style-one {
  color: var(--white-color);
}
.headline-wrap.style-two {
  color: var(--heading-color);
}

/* Headline Animation */
@-webkit-keyframes marquee {
  100% {
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
  }
}
@keyframes marquee {
  100% {
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
  }
}
@-webkit-keyframes marquee_right {
  from {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes marquee_right {
  from {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes marquee_left {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  to {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}
@keyframes marquee_left {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  to {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}
.animate-float-bob-x {
  -webkit-animation-name: float-bob-x;
          animation-name: float-bob-x;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
}

.animate-float-bob-y {
  -webkit-animation-name: float-bob-y;
          animation-name: float-bob-y;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
}

@-webkit-keyframes float-bob-x {
  0% {
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
  }
  50% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }
  100% {
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
  }
}

@keyframes float-bob-x {
  0% {
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
  }
  50% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }
  100% {
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
  }
}
@-webkit-keyframes float-bob-y {
  0% {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  100% {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
}
@keyframes float-bob-y {
  0% {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  100% {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
}
@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.rotate360 {
  -webkit-animation: spin 7s linear infinite;
  animation: spin 7s linear infinite;
}

.zoomInOut {
  -webkit-animation: zoomInOut 6s linear infinite;
          animation: zoomInOut 6s linear infinite;
}

@-webkit-keyframes zoomInOut {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes zoomInOut {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
/* Offcanvas Overlay */
.offcanvas__overlay {
  position: fixed;
  height: 100%;
  width: 100%;
  background: #151515;
  z-index: 900;
  top: 0;
  opacity: 0;
  visibility: hidden;
  right: 0;
}
.offcanvas__overlay.overlay-open {
  opacity: 0.8;
  visibility: visible;
}

.sidebar-btn {
  margin-left: 15px;
  cursor: pointer;
  text-align: right;
}

.sidebar-btn span {
  width: 30px;
  display: block;
  height: 2px;
  background-color: var(--heading-color);
}
.sidebar-btn span:nth-child(2) {
  margin-top: 5px;
  margin-bottom: 5px;
  width: 25px;
  margin-left: auto;
}

.sidebar-panel {
  position: fixed;
  z-index: 1111;
  right: 0;
  top: 0;
  width: 350px;
  height: 100%;
  opacity: 1;
  background-color: var(--white-color);
  -webkit-transition: opacity 0.45s ease-in-out, -webkit-transform 0.45s ease-in-out;
  transition: opacity 0.45s ease-in-out, -webkit-transform 0.45s ease-in-out;
  transition: transform 0.45s ease-in-out, opacity 0.45s ease-in-out;
  transition: transform 0.45s ease-in-out, opacity 0.45s ease-in-out, -webkit-transform 0.45s ease-in-out;
  -webkit-transform: translateX(calc(100% + 80px));
          transform: translateX(calc(100% + 80px));
  padding: 40px 30px;
  overflow: auto;
}
.sidebar-panel.info-open {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  opacity: 1;
}
.sidebar-panel .panel-close .panel-close-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: transparent;
}
.sidebar-panel .panel-body .panel-box h5 {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}
.sidebar-panel .panel-body .panel-box p {
  margin-bottom: 15px;
}
.sidebar-panel .panel-body .panel-box p i {
  width: 20px;
  margin-right: 10px;
  color: var(--primary-color);
}
.sidebar-panel .panel-body .panel-box ul.social-link li {
  display: inline-block;
  margin-right: 5px;
}
.sidebar-panel .panel-body .panel-box ul.social-link li a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 50%;
}
.sidebar-panel .panel-body .panel-box ul.social-link li a:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* Quant Pagination */
.Quant-pagination.text-center ul li {
  margin-left: 7px;
}
.Quant-pagination ul li {
  display: inline-block;
  margin-right: 7px;
}
.Quant-pagination ul li a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid rgba(31, 31, 31, 0.1);
  font: 600 16px var(--heading-font);
  letter-spacing: -0.36px;
}
.Quant-pagination ul li a:hover, .Quant-pagination ul li a.active {
  background-color: var(--primary-color);
  color: var(--heading-color);
  border-color: transparent;
}

/*---- 
====================
3. Components CSS
    # Header CSS
====================

----*/
/*  Transparent Header  */
.transparent-header {
  position: absolute;
  background-color: transparent;
  top: 30px;
  left: 0;
  width: 100%;
  z-index: 999;
}

/*  Header Area */
.header-area {
  position: relative;
  z-index: 9999;
}

/* Header Navigation */
.header-navigation .primary-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header-navigation .site-branding {
  max-width: 160px;
  line-height: 1;
  border: 1px solid var(--border-color);
  text-align: center;
  padding: 3px 5px;
  border-radius: 40px;
}
.header-navigation .site-branding a {
  line-height: 1;
}
.header-navigation .pf-nav-menu {
  padding: 5px;
  border-radius: 40px;
  border: 1px solid var(--border-color);
  background: #0E0F11;
  margin-left: 30px;
}
@media screen and (max-width: 991px) {
  .header-navigation .pf-nav-menu {
    margin-left: 0;
  }
}
.header-navigation .main-menu ul > li {
  display: inline-block;
  position: relative;
}
.header-navigation .main-menu ul > li > a {
  position: relative;
  display: block;
  font: 600 16px var(--heading-font);
  text-transform: capitalize;
  line-height: 1;
  color: var(--white-color);
  padding: 11px 20px;
  border-radius: 40px;
  line-height: 14px;
}
.header-navigation .main-menu ul > li > a span.dd-trigger {
  margin-left: 5px;
}
.header-navigation .main-menu ul > li .sub-menu {
  position: absolute;
  left: 0;
  top: 120%;
  width: 250px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  z-index: 99;
  padding: 10px 10px;
  background-color: #0E0F11;
  height: auto;
  text-align: left;
  -webkit-box-shadow: 0px 30px 80px 15px rgba(0, 0, 0, 0.09);
          box-shadow: 0px 30px 80px 15px rgba(0, 0, 0, 0.09);
  border-radius: 7px;
}
.header-navigation .main-menu ul > li .sub-menu li {
  display: block;
  margin: 0;
}
.header-navigation .main-menu ul > li .sub-menu li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 15px;
  position: relative;
  line-height: 2.5;
  margin: 0;
  color: var(--white-color);
  -webkit-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
.header-navigation .main-menu ul > li .sub-menu li a span.dd-trigger {
  margin-left: auto;
}
.header-navigation .main-menu ul > li .sub-menu li a:hover {
  color: var(--primary-color);
}
.header-navigation .main-menu ul > li .sub-menu li .sub-menu {
  left: 100%;
  top: 50%;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .header-navigation .main-menu ul > li .sub-menu li .sub-menu {
    left: auto;
    right: 100%;
    top: 50%;
  }
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .header-navigation .main-menu ul > li .sub-menu li .sub-menu {
    left: auto;
    right: 100%;
    top: 50%;
  }
}
.header-navigation .main-menu ul > li .sub-menu li:hover .sub-menu {
  top: 0%;
}
.header-navigation .main-menu ul > li .sub-menu li:hover > a {
  color: var(--primary-color);
}
.header-navigation .main-menu ul > li:hover > a {
  color: var(--primary-color);
  background-color: #18191B;
}
.header-navigation .main-menu ul > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  top: 115%;
}
.header-navigation .navbar-toggler {
  padding: 11px 7px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background-color: transparent;
  cursor: pointer;
  display: none;
  border-radius: 5px;
  margin-left: 20px;
}
.header-navigation .navbar-toggler span {
  position: relative;
  border-radius: 3px;
  display: block;
  height: 2px;
  padding: 0;
  width: 30px;
  cursor: pointer;
  display: block;
  -webkit-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  background-color: rgba(255, 255, 255, 0.5);
}
.header-navigation .navbar-toggler span:not(:first-child) {
  margin-top: 5px;
}
.header-navigation .navbar-toggler.active span:nth-of-type(1) {
  -webkit-transform: rotate3d(0, 0, 1, 45deg);
          transform: rotate3d(0, 0, 1, 45deg);
  top: 7px;
}
.header-navigation .navbar-toggler.active span:nth-of-type(2) {
  opacity: 0;
}
.header-navigation .navbar-toggler.active span:nth-of-type(3) {
  -webkit-transform: rotate3d(0, 0, 1, -45deg);
          transform: rotate3d(0, 0, 1, -45deg);
  top: -7px;
}
@media screen and (max-width: 991px) {
  .header-navigation .pf-nav-menu {
    text-align: left;
    position: fixed;
    top: 0;
    left: -290px;
    width: 290px;
    height: 100%;
    -webkit-transition-duration: 500ms;
            transition-duration: 500ms;
    padding: 20px 20px 30px;
    display: block;
    overflow-x: hidden;
    overflow-y: scroll;
    z-index: 9999;
    border-radius: 0;
    background-color: var(--primary-black-color);
  }
  .header-navigation .pf-nav-menu.menu-on {
    left: 0;
  }
  .header-navigation .pf-nav-menu .site-branding {
    margin: 0 auto 20px;
  }
  .header-navigation .pf-nav-menu .main-menu {
    margin-top: 30px;
  }
  .header-navigation .pf-nav-menu .main-menu ul li {
    display: block;
    margin: 0;
  }
  .header-navigation .pf-nav-menu .main-menu ul li:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
  }
  .header-navigation .pf-nav-menu .main-menu ul li a {
    display: block;
    padding: 12px 0;
    font-size: 18px;
  }
  .header-navigation .pf-nav-menu .main-menu ul li a:after {
    display: none;
  }
  .header-navigation .pf-nav-menu .main-menu ul li .sub-menu {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
    background-color: transparent;
    visibility: visible;
    opacity: 1;
    display: none;
    -webkit-transition: none;
    transition: none;
  }
  .header-navigation .pf-nav-menu .main-menu ul li .sub-menu > li > a {
    padding: 5px 20px;
    color: var(--white-color);
  }
  .header-navigation .pf-nav-menu .main-menu ul li .sub-menu > li .sub-menu {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
    background-color: transparent;
    visibility: visible;
    opacity: 1;
    display: none;
    -webkit-transition: none;
    transition: none;
    margin-left: 30px;
  }
  .header-navigation .pf-nav-menu .main-menu ul li .dd-trigger {
    position: absolute;
    right: 0;
    top: 10px;
    height: 25px;
    width: 25px;
    border-radius: 3px;
    z-index: 2;
    cursor: pointer;
    font-size: 16px;
  }
  .header-navigation .navbar-close {
    width: 35px;
    height: 35px;
    border-radius: 4px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border: 1px solid var(--border-color);
    font-size: 16px;
  }
  .header-navigation .navbar-toggler {
    display: block;
  }
  .header-navigation .pf-nav-button .theme-btn.style-one {
    padding: 10px 40px;
  }
  .header-navigation .pf-menu-bottom h5 {
    margin-bottom: 25px;
  }
  .header-navigation .pf-menu-bottom .social-link li {
    display: inline-block;
    margin-right: 10px;
  }
  .header-navigation .pf-menu-bottom .social-link li a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .header-navigation .pf-menu-bottom .social-link li a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
  }
}

.nav-right-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.header-one.transparent-header {
  top: 30px;
}

/* Quant Eotate Image */
.Quant-rotate-image {
  text-align: center;
}
.Quant-rotate-image .Quant-image img {
  -webkit-transform: rotate(-10deg);
          transform: rotate(-10deg);
  border-radius: 20px;
}

/* Quant Dot */
.Quant-dot {
  position: relative;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

/* Quant Icon Button */
.icon-btn.style-one {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: var(--gray-dark);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.icon-btn.style-one i {
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

/* Quant Setp */
.Quant-step {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: var(--primary-color);
  color: var(--heading-color);
  border-radius: 30px;
  padding: 5px 15px;
  line-height: 20px;
}

/* Quant Iconic Box */
.Quant-iconic-box.style-one {
  padding: 23px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 300px;
  background-color: var(--gray-dark);
  border: 1px solid var(--border-color);
  border-radius: 60px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.Quant-iconic-box.style-one:hover {
  background-color: var(--primary-color);
}
.Quant-iconic-box.style-one:hover .content h4.title {
  color: var(--heading-color);
}
.Quant-iconic-box.style-one .icon {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 60px;
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 50%;
  background-color: #2F3031;
  font-size: 30px;
  color: var(--white-color);
  margin-right: 15px;
}
.Quant-iconic-box.style-one .content h4.title {
  font-size: 20px;
  color: var(--white-color);
  line-height: 1.4;
}
.Quant-iconic-box.style-two {
  background-color: var(--gray-dark);
  padding: 30px;
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .Quant-iconic-box.style-two {
    padding: 30px 25px 30px;
  }
}
.Quant-iconic-box.style-two .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 25px;
  color: var(--white-color);
  font-size: 20px;
}
.Quant-iconic-box.style-two .content h4 {
  margin-bottom: 15px;
}
.Quant-iconic-box.style-two .content p {
  margin-bottom: 40px;
}
.Quant-iconic-box.style-two .content .step {
  display: inline-block;
  padding: 7px 10px;
  line-height: 10px;
  color: var(--heading-color);
  background-color: var(--primary-color);
  border-radius: 30px;
  letter-spacing: 0.48px;
}
.Quant-iconic-box.style-three {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.Quant-iconic-box.style-three .icon {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-margin-end: 20px;
          margin-inline-end: 20px;
}
.Quant-iconic-box.style-three .content h6 {
  margin-bottom: 10px;
}
.Quant-iconic-box.style-three .content p {
  letter-spacing: 0.48px;
  line-height: 20px;
}
.Quant-iconic-box.style-three .content p:hover a {
  color: var(--primary-color);
}
.Quant-iconic-box.style-four {
  background-color: var(--gray-dark);
  padding: 35px 40px 30px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-iconic-box.style-four {
    padding: 35px 30px 30px;
  }
}
@media screen and (max-width: 991px) {
  .Quant-iconic-box.style-four {
    margin-top: 40px;
  }
}
.Quant-iconic-box.style-four .icon {
  font-size: 60px;
  color: var(--white-color);
  margin-bottom: 25px;
}
.Quant-iconic-box.style-four .content h4.title {
  margin-bottom: 20px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-iconic-box.style-four .content h4.title {
    font-size: 20px;
  }
}
.Quant-iconic-box.style-four .content p {
  margin-bottom: 25px;
}
.Quant-iconic-box.style-five {
  background-color: var(--gray-dark);
  padding: 30px;
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .Quant-iconic-box.style-five {
    padding: 30px 25px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-iconic-box.style-five {
    padding: 30px 10px;
  }
}
.Quant-iconic-box.style-five .icon {
  font-size: 40px;
  color: var(--white-color);
  margin-bottom: 30px;
}
.Quant-iconic-box.style-five .content h5 {
  margin-bottom: 15px;
}
.Quant-iconic-box.style-six {
  background-color: var(--gray-dark);
  padding: 40px;
}
.Quant-iconic-box.style-six > .icon {
  font-size: 45px;
  margin-bottom: 20px;
}
.Quant-iconic-box.style-six .content h4 {
  margin-bottom: 15px;
}
.Quant-iconic-box.style-six .content p {
  margin-bottom: 20px;
}
.Quant-iconic-box.style-seven {
  background-color: var(--primary-black-color);
  padding: 30px;
}
.Quant-iconic-box.style-seven:hover .icon {
  color: var(--primary-color);
}
.Quant-iconic-box.style-seven .icon {
  font-size: 60px;
  color: var(--white-color);
  margin-bottom: 15px;
}
.Quant-iconic-box.style-seven .content h4 {
  margin-bottom: 15px;
}
@media screen and (max-width: 991px) {
  .Quant-iconic-box.style-eight .Quant-dot {
    display: none;
  }
}
.Quant-iconic-box.style-eight .content .number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--gray-dark);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 20px;
}
.Quant-iconic-box.style-eight .content h4 {
  margin-bottom: 20px;
}
.Quant-iconic-box.style-eight .content p {
  margin-bottom: 35px;
}

/* Quant Card Item */
.Quant-card-item.style-one {
  padding: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: var(--primary-black-color);
  border: 1px solid var(--border-color);
  border-radius: 40px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-card-item.style-one {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
@media screen and (max-width: 991px) {
  .Quant-card-item.style-one {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
.Quant-card-item.style-one .card-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.Quant-card-item.style-one .card-title .sn-number {
  font-size: 40px;
  margin-right: 30px;
  font-family: var(--heading-font);
  font-weight: 700;
}
@media (max-width: 767px) {
  .Quant-card-item.style-one .card-title .sn-number {
    font-size: 20px;
    margin-right: 15px;
  }
}
@media (max-width: 767px) {
  .Quant-card-item.style-one .card-title h3 {
    font-size: 18px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-card-item.style-one .content {
    padding: 20px 0;
  }
}
@media screen and (max-width: 991px) {
  .Quant-card-item.style-one .content {
    padding: 20px 0;
  }
}
.Quant-card-item.style-one .content p {
  max-width: 430px;
  padding: 0 30px;
}
.Quant-card-item.style-one .content p span {
  color: var(--white-color);
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-card-item.style-one .content p {
    max-width: 100%;
    padding: 0;
  }
}
@media screen and (max-width: 991px) {
  .Quant-card-item.style-one .content p {
    max-width: 100%;
    padding: 0;
  }
}
.Quant-card-item.style-two {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 30px;
  background-color: var(--gray-dark);
  border-radius: 15px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
@media screen and (max-width: 991px) {
  .Quant-card-item.style-two {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
.Quant-card-item.style-two:hover {
  background-color: var(--primary-color);
}
.Quant-card-item.style-two:hover .card-title h2 {
  color: var(--heading-color);
}
.Quant-card-item.style-two:hover .card-title h4 {
  color: var(--heading-color);
}
.Quant-card-item.style-two:hover .content p {
  color: var(--heading-color);
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-card-item.style-two .thumbnail {
    max-width: 200px;
  }
}
.Quant-card-item.style-two .thumbnail img {
  border-radius: 110px;
}
@media screen and (max-width: 991px) {
  .Quant-card-item.style-two .thumbnail img {
    border-radius: 30px;
  }
}
.Quant-card-item.style-two .card-title {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding-left: 10%;
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .Quant-card-item.style-two .card-title {
    padding-left: 5%;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-card-item.style-two .card-title {
    padding-left: 5%;
  }
}
@media screen and (max-width: 991px) {
  .Quant-card-item.style-two .card-title {
    padding-left: 0;
    padding: 30px 0;
  }
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .Quant-card-item.style-two .card-title h2 {
    font-size: 37px;
    line-height: 45px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-card-item.style-two .card-title h2 {
    font-size: 27px;
    line-height: 40px;
  }
}
@media screen and (max-width: 991px) {
  .Quant-card-item.style-two .card-title h2 {
    font-size: 24px;
    line-height: 35px;
  }
}
.Quant-card-item.style-two .card-title h4 {
  color: var(--text-color);
  font-family: var(--body-font);
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-card-item.style-two .card-title h4 {
    font-size: 22px;
    line-height: 35px;
  }
}
@media screen and (max-width: 991px) {
  .Quant-card-item.style-two .card-title h4 {
    font-size: 22px;
    line-height: 35px;
  }
}
.Quant-card-item.style-two .content {
  max-width: 385px;
}
@media screen and (max-width: 991px) {
  .Quant-card-item.style-two .content {
    max-width: 100%;
  }
}

/* Quant Client Item */
.Quant-client-item.style-one {
  padding: 60px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
}
@media (max-width: 767px) {
  .Quant-client-item.style-one {
    padding: 20px 15px;
  }
}
.Quant-client-item.style-one:hover .client-image img {
  opacity: 1;
}
.Quant-client-item.style-one .client-image {
  cursor: pointer;
}
.Quant-client-item.style-one .client-image img {
  opacity: 0.7;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.Quant-client-item.style-two {
  width: 235px;
  height: 235px;
  border-radius: 50%;
  background-color: var(--gray-dark);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .Quant-client-item.style-two {
    width: 200px;
    height: 200px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-client-item.style-two {
    width: 170px;
    height: 170px;
  }
}
@media screen and (max-width: 991px) {
  .Quant-client-item.style-two {
    width: 200px;
    height: 200px;
  }
}
.Quant-client-item.style-two .client-image img {
  -webkit-filter: grayscale(1);
          filter: grayscale(1);
  max-width: 150px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-client-item.style-two .client-image img {
    max-width: 120px;
  }
}

/* Quant Experince Box */
.Quant-experince-box.style-one {
  display: inline-block;
  background-color: var(--primary-color);
  padding: 20px 25px;
  border-radius: 10px;
  max-width: 160px;
  text-align: center;
}
.Quant-experince-box.style-one h2 {
  color: var(--heading-color);
  margin-bottom: 10px;
}
.Quant-experince-box.style-one p {
  font-size: 16px;
  line-height: 26px;
  color: var(--heading-color);
}

/* Quant Skill Item */
.Quant-skill-item.style-one .progress-title {
  margin-bottom: 15px;
}
.Quant-skill-item.style-one .progress-title h5 span {
  float: right;
}
.Quant-skill-item.style-one .progress {
  height: 6px;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.1);
}
.Quant-skill-item.style-one .progress .progress-bar {
  border-radius: 0;
  background-color: var(--primary-color);
}

/* Quant Award Box */
.Quant-award-box.style-one {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  background-color: var(--gray-dark);
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 26px 40px;
}
@media (max-width: 767px) {
  .Quant-award-box.style-one {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
  }
}
.Quant-award-box.style-one:hover .award-date h5, .Quant-award-box.style-one:hover .award-platform h5 {
  color: var(--white-color);
}
.Quant-award-box.style-one:hover .award-name h5 {
  color: var(--primary-color);
}
.Quant-award-box.style-one .award-platform {
  width: 30%;
}
@media (max-width: 767px) {
  .Quant-award-box.style-one .award-platform {
    width: 100%;
  }
}
.Quant-award-box.style-one .award-platform h5 {
  font-size: 18px;
  color: var(--text-color);
}
.Quant-award-box.style-one .award-name {
  width: 50%;
}
@media (max-width: 767px) {
  .Quant-award-box.style-one .award-name {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .Quant-award-box.style-one .award-name {
    padding: 20px 0;
  }
}
.Quant-award-box.style-one .award-date {
  width: 20%;
  text-align: right;
}
.Quant-award-box.style-one .award-date h5 {
  font-size: 18px;
  color: var(--text-color);
}
@media (max-width: 767px) {
  .Quant-award-box.style-one .award-date {
    width: 100%;
    text-align: center;
  }
}

/* Quant Counter Box */
.Quant-counter-box.style-one .content h2 {
  color: #EBFFDC;
}
.Quant-counter-box.style-two .content h2 {
  margin-bottom: 15px;
}
.Quant-counter-box.style-two .content p {
  font-weight: 500;
}

.Quant-info-box .content h3 {
  margin-bottom: 15px;
}
.Quant-info-box .content p {
  font: 500 20px var(--heading-font);
  margin-bottom: 10px;
}
.Quant-info-box .content .social-link a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--white-color);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--heading-color);
  margin-right: 5px;
}
.Quant-info-box .content .social-link a:hover {
  background-color: var(--primary-color);
}

.Quant-project-item:hover .thumbnail img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.Quant-project-item .thumbnail {
  overflow: hidden;
}
.Quant-project-item .thumbnail img {
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
@media screen and (max-width: 991px) {
  .Quant-project-item.style-one {
    max-width: 550px;
    margin: 0 auto 45px;
  }
}
.Quant-project-item.style-one:hover .thumbnail .project-button a {
  background-color: var(--primary-color);
  color: var(--heading-color);
}
.Quant-project-item.style-one .thumbnail {
  position: relative;
}
.Quant-project-item.style-one .thumbnail img {
  border-radius: 10px;
}
.Quant-project-item.style-one .thumbnail .project-button a {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: var(--primary-black-color);
  color: var(--white-color);
  font-size: 20px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.Quant-project-item.style-one .content {
  padding-top: 20px;
}
.Quant-project-item.style-one .content .project-categories {
  margin-bottom: 15px;
}
.Quant-project-item.style-one .content .project-categories a {
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  line-height: 18px;
  margin-bottom: 10px;
}
.Quant-project-item.style-one .content .project-categories a:not(:last-child) {
  margin-right: 5px;
}
.Quant-project-item.style-one .content h4.title:hover {
  color: var(--primary-color);
}
.Quant-project-item.style-two {
  padding: 30px 30px 25px;
  background-color: var(--gray-dark);
  border-radius: 20px;
}
@media screen and (max-width: 991px) {
  .Quant-project-item.style-two {
    max-width: 600px;
    margin: 0 auto 60px;
  }
}
@media (max-width: 575px) {
  .Quant-project-item.style-two {
    padding: 30px 15px 25px;
  }
}
.Quant-project-item.style-two .thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.Quant-project-item.style-two .thumbnail img {
  width: 100%;
  border-radius: 20px;
}
.Quant-project-item.style-two .thumbnail .hover-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 30px;
}
@media (max-width: 575px) {
  .Quant-project-item.style-two .thumbnail .hover-content {
    padding: 15px;
  }
}
.Quant-project-item.style-two .thumbnail .hover-content .project-categories a {
  padding: 9px 20px;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  background-color: var(--gray-dark);
  color: var(--white-color);
  line-height: 20px;
  margin-bottom: 10px;
}
@media (max-width: 575px) {
  .Quant-project-item.style-two .thumbnail .hover-content .project-categories a {
    padding: 9px 15px;
    font-size: 14px;
  }
}
.Quant-project-item.style-two .content {
  padding-top: 25px;
}
.Quant-project-item.style-two .content h4.title {
  margin-bottom: 5px;
}
.Quant-project-item.style-two .content h4.title:hover {
  color: var(--primary-color);
}
.Quant-project-item.style-three .thumbnail {
  position: relative;
  z-index: 1;
}
.Quant-project-item.style-three .thumbnail img {
  border-radius: 10px;
  width: 100%;
}
.Quant-project-item.style-three .thumbnail .hover-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.Quant-project-item.style-three .thumbnail .project-categories a {
  background-color: var(--primary-black-color);
  padding: 10px 20px;
  line-height: 20px;
  color: var(--white-color);
  border-radius: 30px;
}
@media (max-width: 575px) {
  .Quant-project-item.style-three .thumbnail .project-categories a {
    padding: 7px 15px;
    font-size: 14px;
  }
}
.Quant-project-item.style-three .content {
  padding-top: 20px;
}
.Quant-project-item.style-three .content h4:hover {
  color: var(--primary-color);
}
.Quant-project-item.style-four:hover .thumbnail .hover-content {
  visibility: visible;
  opacity: 1;
  bottom: 30px;
}
.Quant-project-item.style-four .thumbnail {
  position: relative;
  z-index: 1;
}
.Quant-project-item.style-four .thumbnail img {
  width: 100%;
  min-height: 300px;
}
.Quant-project-item.style-four .thumbnail .hover-content {
  position: absolute;
  bottom: 80px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 80%;
  padding: 20px 20px 15px;
  background-color: #EBFFDC;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-project-item.style-four .thumbnail .hover-content {
    width: 90%;
  }
}
@media screen and (max-width: 991px) {
  .Quant-project-item.style-four .thumbnail .hover-content {
    width: 90%;
  }
}
.Quant-project-item.style-four .content {
  text-align: center;
}
.Quant-project-item.style-four .content .category-btn {
  padding: 8px 15px;
  line-height: 20px;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  color: var(--heading-color);
  font-weight: 500;
  margin-bottom: 10px;
}
.Quant-project-item.style-four .content h4 {
  max-width: 350px;
  margin: 0 auto;
  color: var(--heading-color);
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-project-item.style-four .content h4 {
    font-size: 20px;
    line-height: 30px;
  }
}
@media (max-width: 767px) {
  .Quant-project-item.style-four .content h4 {
    font-size: 20px;
    line-height: 30px;
  }
}

/*  Accordion Item */
.Quant-accordion-item {
  border-radius: 10px;
  border: 1px solid rgba(16, 16, 16, 0.1);
  background-color: var(--gray-dark);
  padding: 16px 30px;
}
.Quant-accordion-item .accordion-header .accordion-title {
  line-height: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
}
@media (max-width: 575px) {
  .Quant-accordion-item .accordion-header .accordion-title {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    font-size: 16px;
  }
}
.Quant-accordion-item .accordion-header .accordion-title span.sn {
  margin-right: 8px;
}
.Quant-accordion-item .accordion-header .accordion-title:after {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  content: "\f067";
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  margin-left: auto;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.Quant-accordion-item .accordion-header .accordion-title[aria-expanded=true]:after {
  border-color: #26272B;
  content: "\f068";
}
.Quant-accordion-item .accordion-content p {
  padding-top: 10px;
  padding-bottom: 10px;
  letter-spacing: 0.48px;
}

.Quant-pricing-item.style-one {
  position: relative;
  z-index: 1;
  background-color: var(--gray-dark);
  padding: 30px;
}
.Quant-pricing-item.style-one .shape {
  position: absolute;
  z-index: -1;
}
.Quant-pricing-item.style-one .shape.shape-one {
  bottom: 20px;
  right: 20px;
}
.Quant-pricing-item.style-one .pricing-head {
  margin-bottom: 25px;
}
.Quant-pricing-item.style-one .pricing-head h2 {
  margin-bottom: 15px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-pricing-item.style-one .pricing-head h2 {
    font-size: 27px;
    line-height: 1.2;
  }
}
@media (max-width: 767px) {
  .Quant-pricing-item.style-one .pricing-head h2 {
    font-size: 24px;
    line-height: 1.2;
  }
}
.Quant-pricing-item.style-one .pricing-body {
  margin-bottom: 25px;
}
.Quant-pricing-item.style-one .pricing-footer .theme-btn.style-two {
  padding: 12px 30px;
}
.Quant-pricing-item.style-two {
  background-color: var(--gray-dark);
  padding: 30px 30px 25px;
}
.Quant-pricing-item.style-two .pricing-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 15px;
}
.Quant-pricing-item.style-two .pricing-head h4 {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.Quant-pricing-item.style-two .pricing-head .pricing {
  color: var(--primary-color);
  font-size: 27px;
  font-weight: 700;
  font-family: var(--heading-font);
}
.Quant-pricing-item.style-three {
  background-color: var(--gray-dark);
  padding: 40px 35px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.Quant-pricing-item.style-three .shape {
  position: absolute;
  top: -35%;
  right: -40%;
}
.Quant-pricing-item.style-three .shape span {
  width: 328px;
  height: 328px;
  border-radius: 50%;
  border: 50px solid rgba(235, 255, 220, 0.02);
}
.Quant-pricing-item.style-three .pricing-head {
  padding-bottom: 25px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}
.Quant-pricing-item.style-three .pricing-head h2 {
  margin-bottom: 15px;
}
.Quant-pricing-item.style-three .pricing-body {
  margin-bottom: 25px;
}
.Quant-pricing-item.style-three .pricing-footer .theme-btn {
  width: 100%;
  padding: 15px 35px;
}

.Quant-team-item.style-one .member-image {
  position: relative;
}
.Quant-team-item.style-one .member-image img {
  width: 100%;
}
.Quant-team-item.style-one .member-image .icon-btn {
  position: absolute;
  top: 20px;
  right: 20px;
}
.Quant-team-item.style-one .member-image .icon-btn a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--heading-color);
}
.Quant-team-item.style-one .member-info {
  padding-top: 5px;
}
.Quant-team-item.style-one .member-info span {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 15px;
}
.Quant-team-item.style-one .member-info span:before {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  content: "";
  width: 50px;
  height: 1px;
  background-color: var(--border-color);
  margin-right: 10px;
}
.Quant-team-item.style-two:hover .member-image .hover-content {
  right: 30px;
}
.Quant-team-item.style-two .member-image {
  position: relative;
  overflow: hidden;
}
.Quant-team-item.style-two .member-image .hover-content {
  position: absolute;
  bottom: 30px;
  right: -50%;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
.Quant-team-item.style-two .member-image .hover-content ul.social-link li:not(:last-child) {
  margin-bottom: 10px;
}
.Quant-team-item.style-two .member-image .hover-content ul.social-link li a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 50%;
  background-color: var(--white-color);
  color: var(--heading-color);
}
.Quant-team-item.style-two .member-image .hover-content ul.social-link li a:hover {
  background-color: var(--primary-color);
}
.Quant-team-item.style-two .member-info {
  padding-top: 20px;
}
.Quant-team-item.style-three:hover .member-image .hover-content {
  visibility: visible;
  opacity: 1;
}
.Quant-team-item.style-three:hover .member-info {
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
}
.Quant-team-item.style-three .member-image {
  position: relative;
  z-index: 1;
}
.Quant-team-item.style-three .member-image img {
  width: 100%;
}
.Quant-team-item.style-three .member-image .hover-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  padding: 30px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(17.41%, rgba(235, 255, 220, 0)), color-stop(90.28%, #EBFFDC));
  background: linear-gradient(180deg, rgba(235, 255, 220, 0) 17.41%, #EBFFDC 90.28%);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.Quant-team-item.style-three .member-info {
  -webkit-transform: translateY(-30px);
          transform: translateY(-30px);
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}
.Quant-team-item.style-three .member-info ul.social-link {
  margin-top: 20px;
}
.Quant-team-item.style-three .member-info ul.social-link li {
  display: inline-block;
  margin-left: 5px;
  margin-right: 5px;
}
.Quant-team-item.style-three .member-info ul.social-link li a {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white-color);
  color: var(--heading-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.Quant-team-item.style-three .member-info h4 {
  color: var(--heading-color);
}
.Quant-team-item.style-three .member-info span.position {
  font: 700 18px var(--heading-font);
  color: var(--heading-color);
}
.Quant-team-item.style-four:hover .member-image .hover-content {
  visibility: visible;
  opacity: 1;
}
.Quant-team-item.style-four .member-image {
  position: relative;
  z-index: 1;
}
.Quant-team-item.style-four .member-image img {
  width: 100%;
}
.Quant-team-item.style-four .member-image .hover-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(156, 254, 79, 0.1);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.Quant-team-item.style-four .member-image .social-box {
  position: absolute;
  top: 20px;
  left: 20px;
}
.Quant-team-item.style-four .member-image .social-box a {
  margin-bottom: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--heading-color);
}
.Quant-team-item.style-four .member-image .social-box a:hover {
  background-color: var(--primary-color);
  color: var(--heading-color);
}
.Quant-team-item.style-four .member-info {
  padding-top: 20px;
}

.author-item {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.author-item .author-thumb {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 70px;
  height: 70px;
  -webkit-margin-end: 15px;
          margin-inline-end: 15px;
  -o-object-fit: cover;
     object-fit: cover;
}
.author-item .author-thumb img {
  width: 100%;
  border-radius: 50%;
}
.author-item .author-info h4 {
  margin-bottom: 10px;
}
.author-item .author-info h5 {
  color: var(--text-color);
  font-weight: 500;
}

.Quant-testimonial-item.style-one .testimonial-content ul.ratings {
  margin-bottom: 20px;
}
.Quant-testimonial-item.style-one .testimonial-content ul.ratings li {
  color: var(--primary-color);
  font-size: 30px;
}
.Quant-testimonial-item.style-one .testimonial-content p {
  font: 700 24px var(--heading-font);
  color: var(--white-color);
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .Quant-testimonial-item.style-one .testimonial-content p {
    font-size: 16px;
  }
}
.Quant-testimonial-item.style-one .testimonial-content .author-item-quote .quote i {
  font-size: 30px;
  color: var(--primary-color);
}
.Quant-testimonial-item.style-two .testimonial-content ul.ratings {
  margin-bottom: 40px;
}
.Quant-testimonial-item.style-two .testimonial-content p {
  font: 700 27px var(--heading-font);
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 30px;
}
@media (max-width: 767px) {
  .Quant-testimonial-item.style-two .testimonial-content p {
    font-size: 24px;
  }
}
.Quant-testimonial-item.style-three .testimonial-content ul.ratings {
  margin-bottom: 22px;
}
.Quant-testimonial-item.style-three .testimonial-content ul.ratings li i {
  color: var(--primary-color);
}
.Quant-testimonial-item.style-three .testimonial-content p {
  line-height: 45px;
  font: 500 32px var(--heading-font);
  margin-bottom: 40px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-testimonial-item.style-three .testimonial-content p {
    font-size: 22px;
    line-height: 35px;
  }
}
@media screen and (max-width: 991px) {
  .Quant-testimonial-item.style-three .testimonial-content p {
    font-size: 18px;
    line-height: 30px;
  }
}
@media (max-width: 575px) {
  .Quant-testimonial-item.style-three .testimonial-content p {
    font-size: 15px;
    line-height: 25px;
  }
}

.post-categories a {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  font-weight: 600;
  line-height: 20px;
  color: var(--white-color);
}

.Quant-blog-item.style-one {
  position: relative;
  background-color: var(--gray-dark);
  padding: 0 30px;
}
.Quant-blog-item.style-one:hover .post-hover-wrap {
  visibility: visible;
  opacity: 1;
}
.Quant-blog-item.style-one .post-hover-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 60px 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
@media (max-width: 767px) {
  .Quant-blog-item.style-one .post-hover-wrap {
    display: none;
  }
}
.Quant-blog-item.style-one .post-inner-wrap {
  padding: 60px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (max-width: 991px) {
  .Quant-blog-item.style-one .post-inner-wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.Quant-blog-item.style-one .author-item {
  width: 20%;
}
@media screen and (max-width: 991px) {
  .Quant-blog-item.style-one .author-item {
    width: 100%;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-blog-item.style-one .author-item .author-thumb {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-bottom: 10px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-blog-item.style-one .author-item {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.Quant-blog-item.style-one .post-content {
  width: 60%;
  padding: 0 30px;
}
@media screen and (max-width: 991px) {
  .Quant-blog-item.style-one .post-content {
    width: 100%;
    padding: 25px 0;
  }
}
@media (max-width: 767px) {
  .Quant-blog-item.style-one .post-content .post-categories {
    padding: 20px 0;
  }
}
.Quant-blog-item.style-one .post-content h3.title {
  margin-bottom: 15px;
}
.Quant-blog-item.style-one .post-content h3.title:hover {
  color: var(--primary-color);
}
.Quant-blog-item.style-one .post-date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 20%;
}
@media screen and (max-width: 991px) {
  .Quant-blog-item.style-one .post-date {
    width: 100%;
  }
}
.Quant-blog-item.style-one .post-date i {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--white-color);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(26, 26, 26, 0.2);
  margin-right: 15px;
}
.Quant-blog-item.style-two {
  background-color: var(--gray-dark);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 20px;
  border-radius: 10px;
}
@media (max-width: 767px) {
  .Quant-blog-item.style-two {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
.Quant-blog-item.style-two .post-thumbnail {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  max-width: 260px;
  margin-right: 30px;
}
.Quant-blog-item.style-two .post-thumbnail img {
  border-radius: 7px;
}
@media (max-width: 767px) {
  .Quant-blog-item.style-two .post-thumbnail {
    margin-bottom: 25px;
    max-width: 100%;
    margin-right: 0;
  }
  .Quant-blog-item.style-two .post-thumbnail img {
    width: 100%;
  }
}
.Quant-blog-item.style-two .post-content .post-categories {
  margin-bottom: 15px;
}
.Quant-blog-item.style-two .post-content .post-categories a {
  padding: 9px 20px;
  line-height: 20px;
  border: 1px solid var(--border-color);
  border-radius: 30px;
}
.Quant-blog-item.style-two .post-content h4.title {
  margin-bottom: 15px;
}
.Quant-blog-item.style-two .post-content h4.title:hover {
  color: var(--primary-color);
}
.Quant-blog-item.style-two .post-content p {
  margin-bottom: 10px;
}
.Quant-blog-item.style-three:hover .post-button .icon-btn.style-one {
  background-color: var(--primary-color);
  color: var(--heading-color);
}
.Quant-blog-item.style-three:hover .post-button .icon-btn.style-one i {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.Quant-blog-item.style-three .post-content-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.Quant-blog-item.style-three .post-thumbnail img {
  width: 100%;
}
.Quant-blog-item.style-three .post-content {
  padding-top: 20px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding-right: 30px;
}
.Quant-blog-item.style-three .post-content h4.title:hover {
  color: var(--primary-color);
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-blog-item.style-three .post-content h4.title {
    font-size: 20px;
    line-height: 30px;
  }
}
@media screen and (max-width: 991px) {
  .Quant-blog-item.style-three .post-content h4.title {
    font-size: 20px;
    line-height: 30px;
  }
}
.Quant-blog-item.style-three .post-meta span {
  margin-bottom: 5px;
}
.Quant-blog-item.style-three .post-meta span:not(:last-child):after {
  display: inline-block;
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  vertical-align: middle;
  margin-left: 10px;
  margin-right: 8px;
}
.Quant-blog-item.style-four .post-thumbnail img {
  width: 100%;
}
.Quant-blog-item.style-four .post-content {
  padding-top: 25px;
}
.Quant-blog-item.style-four .post-content .post-meta span {
  margin-bottom: 10px;
}
.Quant-blog-item.style-four .post-content .post-meta span:not(:last-child) {
  margin-right: 15px;
}
.Quant-blog-item.style-four .post-content .post-meta span i {
  margin-right: 10px;
}
.Quant-blog-item.style-four .post-content .post-meta span:last-child {
  float: right;
}
.Quant-blog-item.style-four .post-content h4.title {
  margin-bottom: 15px;
}
.Quant-blog-item.style-four .post-content h4.title:hover {
  color: var(--primary-color);
}
@media screen and (max-width: 991px) {
  .Quant-blog-item.style-four .post-content h4.title {
    font-size: 20px;
    line-height: 30px;
  }
}

/*---- 
====================
3. Components CSS
    # Header CSS
====================

----*/
.Quant-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.Quant-footer .shape {
  position: absolute;
  z-index: -1;
}
.Quant-footer .shape.shape-one {
  left: -35px;
  bottom: 110px;
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .Quant-footer .shape.shape-one img {
    width: 50%;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-footer .shape.shape-one {
    display: none;
  }
}
@media screen and (max-width: 991px) {
  .Quant-footer .shape.shape-one {
    display: none;
  }
}
.Quant-footer .shape.shape-two {
  bottom: 140px;
  right: 130px;
}
.Quant-footer .shape.shape-blur_one {
  top: -150px;
  left: -150px;
}
.Quant-footer .shape.shape-blur_one span {
  width: 261px;
  height: 261px;
  background-color: rgba(155, 254, 79, 0.5);
  -webkit-filter: blur(80px);
          filter: blur(80px);
}
.Quant-footer .shape.shape-blur_two {
  bottom: -150px;
  right: -150px;
}
.Quant-footer .shape.shape-blur_two span {
  width: 261px;
  height: 261px;
  background-color: rgba(202, 186, 231, 0.6);
  -webkit-filter: blur(80px);
          filter: blur(80px);
}

.footer-widget {
  color: var(--white-color);
}
.footer-widget .footer-content .widget-title {
  margin-bottom: 15px;
}
.footer-widget .footer-content .footer-logo {
  padding: 0px;
  display: inline-block;
  border-radius: 40px;
  border: 0px solid var(--Stock-Color, #313131);
  background-color: #0E0F11;
  margin-bottom: 20px;
}

.footer-logo {
  width: 50%;
}

.footer-widget .footer-content ul li:not(:last-child) {
  margin-bottom: 13px;
}
.footer-widget .footer-content ul li a:hover {
  color: var(--primary-color);
}
.footer-widget .footer-content .form-group {
  max-width: 340px;
}
.footer-widget .footer-content .form-group .form_control {
  width: 100%;
  background-color: var(--white-color);
  border-radius: 30px;
  padding: 10px 130px 10px 50px;
  color: var(--heading-color);
  border: none;
}
.footer-widget .footer-content .form-group .form_control::-webkit-input-placeholder {
  color: var(--heading-color);
}
.footer-widget .footer-content .form-group .form_control::-moz-placeholder {
  color: var(--heading-color);
}
.footer-widget .footer-content .form-group .form_control:-ms-input-placeholder {
  color: var(--heading-color);
}
.footer-widget .footer-content .form-group .form_control::-ms-input-placeholder {
  color: var(--heading-color);
}
.footer-widget .footer-content .form-group .form_control::placeholder {
  color: var(--heading-color);
}
.footer-widget .footer-content .form-group label {
  position: absolute;
  top: 12px;
  left: 20px;
  color: var(--heading-color);
}
.footer-widget .footer-content .form-group .theme-btn {
  position: absolute;
  top: 5px;
  right: 5px;
}
.footer-widget.footer-about-widget .footer-content p {
  max-width: 340px;
  margin-bottom: 20px;
}
.footer-widget.footer-contact-info-widget {
  padding-left: 40px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .footer-widget.footer-contact-info-widget {
    padding-left: 0;
  }
}
@media screen and (max-width: 991px) {
  .footer-widget.footer-contact-info-widget {
    padding-left: 0;
  }
}
.footer-widget.footer-contact-info-widget .footer-content p {
  max-width: 230px;
  line-height: 27px;
  letter-spacing: 0.48px;
}
.footer-widget.footer-nav-widget {
  padding-left: 40px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .footer-widget.footer-nav-widget {
    padding-left: 0;
  }
}
@media screen and (max-width: 991px) {
  .footer-widget.footer-nav-widget {
    padding-left: 0;
  }
}
.footer-widget.footer-contact-widget .footer-content h4.widget-title {
  margin-bottom: 20px;
}

.footer-copyright {
  border-top: 1px solid var(--border-color);
  padding: 35px 0 30px;
}
@media (max-width: 767px) {
  .footer-copyright .copyright-text {
    text-align: center;
  }
}
.footer-copyright .copyright-text p {
  font: 500 18px var(--heading-font);
  color: var(--white-color);
}
.footer-copyright .copyright-text p span {
  color: var(--primary-color);
}
.footer-copyright .copyright-nav {
  float: right;
}
@media (max-width: 767px) {
  .footer-copyright .copyright-nav {
    float: none;
    text-align: center;
  }
}
.footer-copyright .copyright-nav ul li {
  display: inline-block;
}
.footer-copyright .copyright-nav ul li:not(:last-child) {
  margin-right: 20px;
}
@media (max-width: 767px) {
  .footer-copyright .copyright-nav ul li {
    margin-left: 10px;
    margin-right: 10px;
  }
  .footer-copyright .copyright-nav ul li:not(:last-child) {
    margin-right: 0px;
  }
}
.footer-copyright .copyright-nav ul li a {
  font: 500 18px var(--heading-font);
  color: var(--white-color);
}
.footer-copyright .copyright-nav ul li a:hover {
  color: var(--primary-color);
}
@media (max-width: 767px) {
  .footer-copyright .copyright-nav ul li a {
    font-size: 16px;
  }
}
@media screen and (max-width: 991px) {
  .footer-copyright .copyright-nav ul li a {
    font-size: 16px;
  }
}

.hero-wrapper-one {
  background-color: #000;
  padding: 180px 0 200px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero-wrapper-one .shape {
  position: absolute;
  z-index: -1;
}
.hero-wrapper-one .shape.shape-blur_one {
  top: -30%;
  left: -25%;
}
.hero-wrapper-one .shape.shape-blur_one span {
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: rgba(156, 254, 79, 0.6);
  -webkit-filter: blur(200px);
          filter: blur(200px);
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .hero-wrapper-one .shape.shape-blur_one span {
    width: 500px;
    height: 500px;
    -webkit-filter: blur(100px);
            filter: blur(100px);
  }
}
@media screen and (max-width: 991px) {
  .hero-wrapper-one .shape.shape-blur_one span {
    width: 360px;
    height: 360px;
    -webkit-filter: blur(100px);
            filter: blur(100px);
  }
}
.hero-wrapper-one .shape.shape-blur_two {
  top: -30%;
  right: -15%;
}
.hero-wrapper-one .shape.shape-blur_two span {
  width: 660px;
  height: 660px;
  border-radius: 50%;
  background: #8778F5;
  -webkit-filter: blur(150px);
          filter: blur(150px);
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .hero-wrapper-one .shape.shape-blur_two span {
    width: 500px;
    height: 500px;
    -webkit-filter: blur(100px);
            filter: blur(100px);
  }
}
@media screen and (max-width: 991px) {
  .hero-wrapper-one .shape.shape-blur_two span {
    width: 300px;
    height: 300px;
    -webkit-filter: blur(70px);
            filter: blur(70px);
  }
}
.hero-wrapper-one .shape.shape-blur_three {
  bottom: -70%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.hero-wrapper-one .shape.shape-blur_three span {
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: rgba(156, 254, 79, 0.6);
  -webkit-filter: blur(200px);
          filter: blur(200px);
}
.hero-wrapper-one .hero-content {
  position: relative;
  margin-bottom: 130px;
}
.hero-wrapper-one .hero-content h1 {
  font-size: 200px;
  line-height: 1;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .hero-wrapper-one .hero-content h1 {
    font-size: 140px;
  }
}
@media screen and (max-width: 991px) {
  .hero-wrapper-one .hero-content h1 {
    font-size: 80px;
  }
}
@media (max-width: 767px) {
  .hero-wrapper-one .hero-content h1 {
    font-size: 60px;
  }
}
.hero-wrapper-one .hero-content .big-text {
  font-size: 200px;
  line-height: 1;
  font-weight: 700;
  color: var(--white-color);
  text-align: right;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .hero-wrapper-one .hero-content .big-text {
    font-size: 130px;
  }
}
@media screen and (max-width: 991px) {
  .hero-wrapper-one .hero-content .big-text {
    font-size: 80px;
  }
}
@media (max-width: 767px) {
  .hero-wrapper-one .hero-content .big-text {
    font-size: 60px;
  }
}
.hero-wrapper-one .hero-content .text-box {
  position: absolute;
  bottom: 20%;
  left: 0;
  max-width: 400px;
}
@media screen and (max-width: 991px) {
  .hero-wrapper-one .hero-content .text-box {
    bottom: 30%;
    max-width: 350px;
  }
}
@media (max-width: 767px) {
  .hero-wrapper-one .hero-content .text-box {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 45px;
  }
}
.hero-wrapper-one .hero-content .element {
  position: absolute;
  top: 5%;
  right: 15%;
}
@media (max-width: 767px) {
  .hero-wrapper-one .hero-content .element {
    top: 0;
  }
}
@media screen and (max-width: 991px) {
  .hero-wrapper-one .hero-content .hero-button {
    margin-top: 60px;
  }
}

.hero-wrapper-two {
  position: relative;
  z-index: 1;
  padding: 180px 0 130px;
  background-color: #000;
  overflow: hidden;
}
.hero-wrapper-two .shape {
  position: absolute;
  z-index: -1;
}
.hero-wrapper-two .shape.shape-one {
  top: 17%;
  left: 10%;
}
@media screen and (max-width: 991px) {
  .hero-wrapper-two .shape.shape-one {
    top: 8%;
  }
}
.hero-wrapper-two .shape.shape-two {
  top: 33%;
  right: 10%;
}
.hero-wrapper-two .shape.circle-one {
  top: -20%;
  left: -10%;
}
.hero-wrapper-two .shape.circle-one span {
  width: 980px;
  height: 980px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
@media screen and (max-width: 991px) {
  .hero-wrapper-two .shape.circle-one {
    display: none;
  }
}
.hero-wrapper-two .shape.circle-two {
  top: -50%;
  right: -5%;
}
.hero-wrapper-two .shape.circle-two span {
  width: 760px;
  height: 760px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-wrapper-two .hero-content {
  position: relative;
  margin-bottom: 80px;
}
.hero-wrapper-two .hero-content h1 {
  font-size: 140px;
  line-height: 160px;
  color: var(--white-color);
}
@media screen and (max-width: 991px) {
  .hero-wrapper-two .hero-content h1 {
    font-size: 70px;
    line-height: 90px;
    margin-bottom: 30px;
  }
}
@media (max-width: 767px) {
  .hero-wrapper-two .hero-content h1 {
    font-size: 50px;
    line-height: 60px;
    margin-bottom: 30px;
  }
}
.hero-wrapper-two .hero-content .text-box {
  max-width: 530px;
  position: absolute;
  bottom: 5%;
  right: 20%;
}
.hero-wrapper-two .hero-content .text-box p {
  margin-bottom: 25px;
}
.hero-wrapper-two .hero-content .text-box p span {
  color: var(--white-color);
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .hero-wrapper-two .hero-content .text-box {
    right: 10%;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .hero-wrapper-two .hero-content .text-box {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 35px;
  }
}
@media screen and (max-width: 991px) {
  .hero-wrapper-two .hero-content .text-box {
    position: relative;
    bottom: auto;
    right: auto;
  }
}
.hero-wrapper-two .hero-content .pro {
  position: absolute;
  top: 15%;
  right: 15%;
  border: 1px solid var(--primary-color);
  padding: 20px 25px;
  font-size: 50px;
  color: var(--primary-color);
  border-radius: 40px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .hero-wrapper-two .hero-content .pro {
    top: 45%;
    right: 35%;
  }
}
@media screen and (max-width: 991px) {
  .hero-wrapper-two .hero-content .pro {
    display: none;
  }
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .hero-wrapper-two .hero-content .pro {
    right: 5%;
  }
}
.hero-wrapper-two .service-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media (max-width: 767px) {
  .hero-wrapper-two .service-list {
    margin-bottom: 30px;
  }
}
.hero-wrapper-two .service-list li {
  margin-bottom: 15px;
}
@media (max-width: 767px) {
  .hero-wrapper-two .service-list li {
    margin: 0 auto 15px;
  }
}
.hero-wrapper-two .service-list li:nth-child(odd) {
  -webkit-transform: rotate(-3deg);
          transform: rotate(-3deg);
}
.hero-wrapper-two .service-list li:nth-child(even) {
  -webkit-transform: rotate(3deg);
          transform: rotate(3deg);
  margin-bottom: 5px;
}

.hero-image.style-one img {
  border-radius: 30px;
}

.Qnt-video {
  position: relative;
  z-index: 1;
  margin-top: -200px;
}
.Qnt-video .Qnt-play-image-box .Qnt-image img {
  border-radius: 15px;
}

.text-box {
  max-width: 530px;
}
.text-box p span {
  color: var(--white-color);
}

/* Hero Wrapper Three */
.hero-wrapper-three {
  padding: 160px 0;
}
.hero-wrapper-three .hero-content h1 span {
  position: relative;
  padding: 5px 20px;
  color: var(--heading-color);
  z-index: 1;
}
.hero-wrapper-three .hero-content h1 span:after {
  position: absolute;
  right: 0;
  top: 0;
  content: "";
  background-color: var(--primary-color);
  border-radius: 15px;
  width: 100%;
  height: 100%;
  z-index: -1;
  -webkit-transform: skewX(-10deg);
          transform: skewX(-10deg);
}
@media (max-width: 767px) {
  .hero-wrapper-three .hero-content h1 {
    font-size: 48px;
    line-height: 60px;
  }
}
.hero-wrapper-three .hero-image-box {
  margin: 0 50px;
  position: relative;
}
@media screen and (max-width: 991px) {
  .hero-wrapper-three .hero-image-box {
    margin: 0 15px;
  }
}
.hero-wrapper-three .hero-image-box img {
  border-radius: 40px;
  width: 100%;
  min-height: 400px;
}
@media screen and (max-width: 991px) {
  .hero-wrapper-three .hero-image-box img {
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.hero-wrapper-three .hero-image-box .text-box {
  position: absolute;
  top: 0;
  right: 10%;
  text-align: left;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .hero-wrapper-three .hero-image-box .text-box {
    right: 5%;
  }
}
@media screen and (max-width: 991px) {
  .hero-wrapper-three .hero-image-box .text-box {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 40px;
  }
}
.hero-wrapper-three .hero-image-box svg {
  position: absolute;
  right: -1px;
  top: -1px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .hero-wrapper-three .hero-image-box svg {
    top: -15px;
    width: 75%;
  }
}
@media screen and (max-width: 991px) {
  .hero-wrapper-three .hero-image-box svg {
    display: none;
  }
}

/* Page Banner CSS */
.Quant-page-banner {
  padding: 187px 0 120px;
  background-color: var(--gray-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
@media (max-width: 767px) {
  .Quant-page-banner {
    padding-bottom: 80px;
  }
}
.Quant-page-banner .shape {
  position: absolute;
  z-index: -1;
}
.Quant-page-banner .shape span {
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.Quant-page-banner .shape.shape-circle1 {
  top: -45%;
  left: -5%;
}
.Quant-page-banner .shape.shape-circle1 span {
  width: 979px;
  height: 979px;
}
.Quant-page-banner .shape.shape-circle2 {
  top: -120%;
  right: 0;
}
.Quant-page-banner .shape.shape-circle2 span {
  width: 765px;
  height: 765px;
}
.Quant-page-banner .page-content h1 {
  margin-bottom: 40px;
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .Quant-page-banner .page-content h1 {
    font-size: 60px;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-page-banner .page-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 991px) {
  .Quant-page-banner .page-content h1 {
    font-size: 42px;
    line-height: 50px;
  }
}
.Quant-page-banner .page-content .text-box .icon {
  margin-right: 30px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 85px;
}
.Quant-page-banner .page-content ul.breadcrumb-link {
  display: block;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  padding: 10px 30px;
  float: right;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-page-banner .page-content ul.breadcrumb-link {
    float: left;
    margin-top: 30px;
  }
}
@media screen and (max-width: 991px) {
  .Quant-page-banner .page-content ul.breadcrumb-link {
    float: left;
    margin: 40px 0;
  }
}
.Quant-page-banner .page-content ul.breadcrumb-link li {
  display: inline-block;
}
.Quant-page-banner .page-content ul.breadcrumb-link li:not(:last-child):after {
  display: inline-block;
  content: "|";
  margin-left: 13px;
  margin-right: 13px;
}
.Quant-page-banner .page-content ul.breadcrumb-link li.active {
  color: var(--primary-color);
}

.Qnt-service-ca .text-box {
  max-width: 300px;
}

.Qnt-process-box {
  text-align: center;
}
.Qnt-process-box .Quant-step {
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.Qnt-process-box .Quant-step::after {
  position: absolute;
  content: "";
  top: 30px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background-color: var(--border-color);
  z-index: -1;
}

.Qnt-company-ca .client-list {
  padding-left: 100px;
}
@media screen and (max-width: 991px) {
  .Qnt-company-ca .client-list {
    padding-left: 0;
  }
}
.Qnt-company-ca .client-list ul li {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 33.33%;
          flex: 0 0 33.33%;
}

.Qnt-award-ca .text-box {
  max-width: 300px;
}

.Quant-content-box > p {
  margin-bottom: 30px;
}

.Qnt-content-box.style-one {
  max-width: 710px;
  padding-right: 100px;
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .Qnt-content-box.style-one {
    padding-right: 70px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Qnt-content-box.style-one {
    padding-right: 0;
    margin: 0 auto 50px;
  }
}
@media screen and (max-width: 991px) {
  .Qnt-content-box.style-one {
    padding-right: 0;
  }
}
.Qnt-content-box.style-one > p {
  margin-bottom: 30px;
}
.Qnt-content-box.style-one ul li {
  display: inline-block;
  margin-bottom: 20px;
}
.Qnt-content-box.style-one ul li:not(:last-child) {
  padding-right: 45px;
  border-right: 1px solid var(--border-color);
}
@media (max-width: 767px) {
  .Qnt-content-box.style-one ul li:not(:last-child) {
    padding-right: 0;
    border-right: none;
  }
}
.Qnt-content-box.style-one ul li:last-child {
  padding-left: 45px;
}
@media (max-width: 767px) {
  .Qnt-content-box.style-one ul li:last-child {
    padding-left: 0;
  }
}

.Qnt-image-box.style-one {
  position: relative;
  max-width: 440px;
  max-height: 530px;
  margin-left: auto;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Qnt-image-box.style-one {
    margin: 0 auto 50px;
    max-width: 550px;
  }
}
@media screen and (max-width: 991px) {
  .Qnt-image-box.style-one {
    margin: 0 auto 50px;
    max-width: 550px;
  }
}
.Qnt-image-box.style-one .Quant-experince-box {
  position: absolute;
  top: 37%;
  left: -80px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Qnt-image-box.style-one .Quant-experince-box {
    left: 20px;
  }
}
@media screen and (max-width: 991px) {
  .Qnt-image-box.style-one .Quant-experince-box {
    left: 20px;
  }
}
@media (max-width: 767px) {
  .Qnt-image-box.style-one .Quant-experince-box {
    left: 0;
  }
}
.Qnt-image-box.style-one .Qnt-image {
  text-align: right;
}
.Qnt-image-box.style-one .Qnt-image img {
  width: auto;
  border-radius: 20px;
}

.Qnt-who-we .big-text {
  border-top: 1px solid var(--border-color);
}
.Qnt-who-we .big-text h2 {
  color: rgba(255, 255, 255, 0);
  font-size: 140px;
  text-transform: uppercase;
  line-height: 1em;
  font-family: var(--heading-font);
  -webkit-text-stroke-width: 1px;
  stroke-width: 1px;
  -webkit-text-stroke-color: #FFFFFF;
  stroke: #FFFFFF;
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .Qnt-who-we .big-text h2 {
    font-size: 110px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Qnt-who-we .big-text h2 {
    font-size: 80px;
  }
}
@media (max-width: 767px) {
  .Qnt-who-we .big-text h2 {
    font-size: 30px;
  }
}

.Qnt-play-image-box .Qnt-image {
  position: relative;
}
.Qnt-play-image-box .Qnt-image .play-box {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.Qnt-play-image-box .Qnt-image .play-box .video-popup {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--primary-color);
  font-size: 24px;
  color: var(--heading-color);
}
@media (max-width: 767px) {
  .Qnt-play-image-box .Qnt-image .play-box .video-popup {
    width: 60px;
    height: 60px;
    font-size: 18px;
  }
}

/* Quant Process Wrapper */
.testimonial-wrapper {
  padding: 0 70px;
}
@media (max-width: 767px) {
  .testimonial-wrapper {
    padding: 0;
  }
}

.faq-big-text {
  color: rgba(255, 255, 255, 0.03);
  font-family: var(--heading-font);
  font-size: 200px;
  font-weight: 700;
  line-height: 200px; /* 100% */
  text-transform: uppercase;
}

.Qnt-team .container-fluid {
  padding-left: 70px;
  padding-right: 70px;
}
@media (max-width: 767px) {
  .Qnt-team .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.client-list ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (max-width: 991px) {
  .client-list ul {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
.client-list ul li {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 20%;
          flex: 0 0 20%;
  margin-bottom: -1px;
}
@media (max-width: 767px) {
  .client-list ul li {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 40%;
            flex: 0 0 40%;
  }
}

/* Quant Process Wrapper */
.Qnt-process-wrapper {
  position: relative;
  z-index: 1;
}
.Qnt-process-wrapper .process-line {
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
  z-index: -1;
}
@media screen and (max-width: 991px) {
  .Qnt-process-wrapper .process-line {
    display: none;
  }
}

/* Quant Testimoial */
.Qnt-testimonial-ca {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.Qnt-testimonial-ca .shape {
  position: absolute;
  z-index: -1;
}
.Qnt-testimonial-ca .shape span {
  width: 650px;
  height: 650px;
  border-radius: 50%;
  border: 85.395px solid rgba(255, 255, 255, 0.03);
}
.Qnt-testimonial-ca .shape.shape-one {
  bottom: -45%;
  left: -20%;
}
.Qnt-testimonial-ca .shape.shape-two {
  top: -45%;
  right: -20%;
}
.Qnt-testimonial-ca .Qnt-content-box {
  position: relative;
  z-index: 1;
}
.Qnt-testimonial-ca .Qnt-content-box .fill-text {
  position: absolute;
  top: -50px;
  left: 0;
  color: rgba(255, 255, 255, 0);
  font-size: 100px;
  text-transform: uppercase;
  line-height: 1em;
  font-weight: 700;
  font-family: var(--heading-font);
  -webkit-text-stroke-width: 1px;
  stroke-width: 1px;
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.05);
  stroke: rgba(255, 255, 255, 0.05);
  z-index: -1;
}

/* Quant Service Details */
.Quant-service-details {
  position: relative;
  z-index: 1;
}
.Quant-service-details:after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75%;
  z-index: -1;
  background-color: var(--gray-dark);
}

/* Quant join Team */
.Quant-join-team .big-text {
  font-size: 140px;
  font-weight: 700;
  font-family: var(--heading-font);
  line-height: 1;
  color: var(--white-color);
}
@media (max-width: 767px) {
  .Quant-join-team .big-text span img {
    display: none;
  }
}
.Quant-join-team .big-text span.fill-text {
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: var(--text-color);
  color: transparent;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .Quant-join-team .big-text {
    font-size: 100px;
  }
}
@media screen and (max-width: 991px) {
  .Quant-join-team .big-text {
    text-align: center;
  }
}
@media (max-width: 767px) {
  .Quant-join-team .big-text {
    font-size: 80px;
  }
}
.Quant-join-team .Quant-team-image {
  max-width: 490px;
}
@media screen and (max-width: 991px) {
  .Quant-join-team .Quant-team-image {
    margin: 0 auto 50px;
  }
}

/* Team Details Wrapper */
.team-details-wrapper .member-info h2 {
  margin-bottom: 20px;
}
.team-details-wrapper .member-info span.position {
  margin-bottom: 25px;
}
.team-details-wrapper .member-info p {
  margin-bottom: 25px;
}
.team-details-wrapper .member-info ul.social-link li {
  display: inline-block;
  margin-right: 10px;
}
.team-details-wrapper .member-info ul.social-link li a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--heading-color);
  background-color: var(--white-color);
}
.team-details-wrapper .member-info ul.social-link li a:hover {
  background-color: var(--primary-color);
}

/* Project Page */
.Quant-project .container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}
@media screen and (max-width: 991px) {
  .Quant-project .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Project Details Wrapper */
.project-details-wrapper .Quant-content-box h2 {
  margin-bottom: 30px;
  max-width: 650px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .project-details-wrapper .Quant-content-box h2 {
    font-size: 32px;
    line-height: 40px;
  }
}
@media screen and (max-width: 991px) {
  .project-details-wrapper .Quant-content-box h2 {
    font-size: 27px;
    line-height: 40px;
  }
}
.project-details-wrapper .Quant-content-box h3 {
  margin-bottom: 15px;
}
.project-details-wrapper .project-duration-box h3 {
  font-size: 20px;
}

/* Page 404 */
.page-404 {
  padding: 130px 0;
}
.page-404 .page-content img {
  margin-bottom: 50px;
}
.page-404 .page-content h4 {
  margin-bottom: 30px;
}
@media (max-width: 767px) {
  .page-404 .page-content h4 {
    font-weight: 500;
    font-size: 18px;
  }
}

/* Quant CTA Wrapper */
.Quant-cta-wrappper {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.Quant-cta-wrappper .shape {
  position: absolute;
  z-index: -1;
}
.Quant-cta-wrappper .shape span {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 50px solid rgba(255, 255, 255, 0.03);
}
.Quant-cta-wrappper .shape.shape_one {
  top: -250px;
  left: -8%;
}
.Quant-cta-wrappper .shape.shape_two {
  bottom: -250px;
  right: -8%;
}

.company-slider {
  margin-left: -25px;
  margin-right: -25px;
}
@media screen and (max-width: 991px) {
  .company-slider {
    margin-left: -12px;
    margin-right: -12px;
  }
}
.company-slider .slick-slide {
  margin-left: 25px;
  margin-right: 25px;
}
@media screen and (max-width: 991px) {
  .company-slider .slick-slide {
    margin-left: 12px;
    margin-right: 12px;
  }
}

.company-list {
  gap: 0 15px;
}

.Quant-process-wrapper-two {
  position: relative;
}
.Quant-process-wrapper-two .process-line {
  position: absolute;
  top: 3px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
}

/* Blog Standard Wrapper */
.blog-standard-wrapper {
  padding-right: 75px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .blog-standard-wrapper {
    padding-right: 0;
  }
}
@media screen and (max-width: 991px) {
  .blog-standard-wrapper {
    padding-right: 0;
  }
}

/* Blog Details Wrapper */
.blog-details-wrapper {
  padding-right: 75px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .blog-details-wrapper {
    padding-right: 0;
  }
}
@media screen and (max-width: 991px) {
  .blog-details-wrapper {
    padding-right: 0;
  }
}
.blog-details-wrapper .Quant-post-item .post-thumbnail {
  margin-bottom: 35px;
}
.blog-details-wrapper .Quant-post-item .post-thumbnail img {
  width: 100%;
}
.blog-details-wrapper .Quant-post-item .post-content .post-meta {
  margin-bottom: 15px;
}
.blog-details-wrapper .Quant-post-item .post-content .post-meta span {
  margin-bottom: 10px;
}
.blog-details-wrapper .Quant-post-item .post-content .post-meta span:not(:last-child) {
  margin-right: 15px;
}
.blog-details-wrapper .Quant-post-item .post-content .post-meta span i {
  margin-right: 10px;
}
.blog-details-wrapper .Quant-post-item .post-content .post-meta span:last-child {
  float: right;
}
.blog-details-wrapper .Quant-post-item .post-content h4 {
  margin-bottom: 25px;
}
.blog-details-wrapper .Quant-post-item .post-content p {
  margin-bottom: 35px;
}
.blog-details-wrapper .Quant-post-item .block-image img {
  width: 100%;
}
.blog-details-wrapper .Quant-post-item blockquote {
  position: relative;
  z-index: 1;
  background-color: var(--gray-dark);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 40px;
}
.blog-details-wrapper .Quant-post-item blockquote .icon {
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: 40px;
}
@media (max-width: 767px) {
  .blog-details-wrapper .Quant-post-item blockquote h4 {
    font-size: 20px;
  }
}
.blog-details-wrapper .Quant-post-item blockquote .author-info h4 {
  margin-bottom: 5px;
}
.blog-details-wrapper .Quant-post-item blockquote .author-info h5 {
  font-weight: 500;
  color: var(--text-color);
}
.blog-details-wrapper .Quant-post-item .main-post {
  margin-bottom: 40px;
}
.blog-details-wrapper .Quant-post-item .entry-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
@media (max-width: 767px) {
  .blog-details-wrapper .Quant-post-item .entry-footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.blog-details-wrapper .Quant-post-item .entry-footer .social-share span, .blog-details-wrapper .Quant-post-item .entry-footer .tag-links span {
  font: 600 18px var(--heading-font);
  text-transform: uppercase;
  margin-right: 15px;
}
.blog-details-wrapper .Quant-post-item .entry-footer .tag-links a {
  font: 500 16px var(--heading-font);
  background-color: var(--gray-dark);
  text-transform: uppercase;
  padding: 12px 20px;
  line-height: 20px;
  border-radius: 30px;
}
.blog-details-wrapper .Quant-post-item .entry-footer .tag-links a:not(:last-child) {
  margin-right: 10px;
}
@media (max-width: 767px) {
  .blog-details-wrapper .Quant-post-item .entry-footer .social-share {
    margin-top: 25px;
  }
}
.blog-details-wrapper .Quant-post-item .entry-footer .social-share a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: var(--white-color);
  color: var(--heading-color);
}
.blog-details-wrapper .Quant-post-item .entry-footer .social-share a:hover {
  background-color: var(--primary-color);
  color: var(--heading-color);
}
.blog-details-wrapper .Quant-post-item .entry-footer .social-share a:not(:last-child) {
  margin-right: 5px;
}

.comments-area h3.comments-title {
  margin-bottom: 30px;
}
.comments-area .comments-list .comment {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}
.comments-area .comments-list .comment .comment-avatar {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 100px;
  height: 100px;
  margin-right: 30px;
}
.comments-area .comments-list .comment .comment-avatar img {
  width: 100%;
}
.comments-area .comments-list .comment .comment-author-content span.author-name {
  display: block;
  text-transform: uppercase;
  font: 600 18px var(--heading-font);
  margin-bottom: 15px;
  color: var(--white-color);
}
.comments-area .comments-list .comment .comment-author-content span.author-name span {
  float: right;
  font: 500 16px var(--body-font);
}
.comments-area .comments-list .comment .comment-author-content p {
  margin-bottom: 10px;
}
.comments-area .comments-list .comment .comment-author-content .reply {
  position: absolute;
  right: 0;
  top: 0;
  border: 1px solid var(--border-color);
  padding: 5px 10px;
  line-height: 20px;
  border-radius: 5px;
  font-weight: 500;
}
.comments-area .comments-list .comment-reply .comment {
  margin-left: 50px;
}

.sidebar-widget-area .sidebar-widget {
  background-color: var(--gray-dark);
  border-radius: 10px;
  padding: 20px 30px 30px;
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .sidebar-widget-area .sidebar-widget {
    padding: 20px 20px 30px;
  }
}
@media (max-width: 575px) {
  .sidebar-widget-area .sidebar-widget {
    padding: 20px 20px 30px;
  }
}
.sidebar-widget-area .sidebar-widget .sidebar-title {
  margin-bottom: 20px;
}
.sidebar-widget-area .sidebar-widget.sidebar-search-widget .widget-content .form-group .form_control {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: var(--gray-dark);
  padding: 15px 25px;
  color: var(--white-color);
}
.sidebar-widget-area .sidebar-widget.sidebar-search-widget .widget-content .form-group .form_control::-webkit-input-placeholder {
  color: var(--white-color);
}
.sidebar-widget-area .sidebar-widget.sidebar-search-widget .widget-content .form-group .form_control::-moz-placeholder {
  color: var(--white-color);
}
.sidebar-widget-area .sidebar-widget.sidebar-search-widget .widget-content .form-group .form_control:-ms-input-placeholder {
  color: var(--white-color);
}
.sidebar-widget-area .sidebar-widget.sidebar-search-widget .widget-content .form-group .form_control::-ms-input-placeholder {
  color: var(--white-color);
}
.sidebar-widget-area .sidebar-widget.sidebar-search-widget .widget-content .form-group .form_control::placeholder {
  color: var(--white-color);
}
.sidebar-widget-area .sidebar-widget.sidebar-search-widget .widget-content .form-group .search-btn {
  position: absolute;
  top: 15px;
  right: 30px;
  background-color: transparent;
  color: var(--white-color);
}
.sidebar-widget-area .sidebar-widget.sidebar-category-widget .widget-content li:not(:last-child) {
  margin-bottom: 30px;
}
.sidebar-widget-area .sidebar-widget.sidebar-category-widget .widget-content li a {
  display: block;
  color: var(--white-color);
  font: 700 18px var(--heading-font);
}
.sidebar-widget-area .sidebar-widget.sidebar-category-widget .widget-content li a span {
  float: right;
}
.sidebar-widget-area .sidebar-widget.sidebar-post-widget .widget-content ul li:not(:last-child) {
  margin-bottom: 20px;
}
.sidebar-widget-area .sidebar-widget.sidebar-post-widget .widget-content .post-thumbnail-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.sidebar-widget-area .sidebar-widget.sidebar-post-widget .widget-content .post-thumbnail-content img {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  max-width: 110px;
  margin-right: 20px;
  border-radius: 10px;
}
.sidebar-widget-area .sidebar-widget.sidebar-post-widget .widget-content .post-title-date span {
  margin-bottom: 10px;
}
.sidebar-widget-area .sidebar-widget.sidebar-post-widget .widget-content .post-title-date span a {
  padding: 8px 12px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  letter-spacing: 0.48px;
  color: var(--white-color);
  line-height: 20px;
}
.sidebar-widget-area .sidebar-widget.sidebar-post-widget .widget-content .post-title-date h6 {
  line-height: 27px;
  letter-spacing: 0.48px;
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .sidebar-widget-area .sidebar-widget.sidebar-post-widget .widget-content .post-title-date h6 {
    font-size: 16px;
  }
}
@media (max-width: 575px) {
  .sidebar-widget-area .sidebar-widget.sidebar-post-widget .widget-content .post-title-date h6 {
    font-size: 16px;
  }
}
.sidebar-widget-area .sidebar-widget.sidebar-tag-widget {
  padding: 20px 30px 20px;
}
.sidebar-widget-area .sidebar-widget.sidebar-tag-widget .widget-content a {
  padding: 10px;
  background-color: var(--primary-black-color);
  border-radius: 30px;
  padding: 12px 20px;
  line-height: 20px;
  letter-spacing: 0.48px;
  margin-bottom: 10px;
}
.sidebar-widget-area .sidebar-widget.sidebar-tag-widget .widget-content a:hover {
  background-color: var(--primary-color);
  color: var(--heading-color);
}
.sidebar-widget-area .sidebar-widget.sidebar-banner-widget {
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
}
.sidebar-widget-area .sidebar-widget.sidebar-banner-widget .widget-content {
  padding: 30px;
  position: relative;
  z-index: 1;
}
.sidebar-widget-area .sidebar-widget.sidebar-banner-widget .widget-content:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(181deg, rgba(0, 0, 0, 0) 0.62%, #000 89.85%);
  z-index: -1;
}
.sidebar-widget-area .sidebar-widget.sidebar-banner-widget .widget-content .content {
  padding-top: 70%;
  text-align: center;
}
.sidebar-widget-area .sidebar-widget.sidebar-banner-widget .widget-content .content h3 {
  margin-bottom: 30px;
}
.sidebar-widget-area .sidebar-widget.sidebar-banner-widget .widget-content .content .theme-btn {
  width: 100%;
  padding: 15px 30px;
  border-radius: 10px;
}
.sidebar-widget-area .sidebar-widget.sidebar-contact-widget .widget-content .sidebar-title {
  margin-bottom: 10px;
}
.sidebar-widget-area .sidebar-widget.sidebar-contact-widget .Quant-contact-form.style-one .form_control {
  padding: 13px 20px;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;
}
.sidebar-widget-area .sidebar-widget.sidebar-contact-widget .Quant-contact-form.style-one .theme-btn {
  padding: 11px 20px;
}

/* Slider */
.team-slider-one {
  margin-right: -5px;
  margin-left: -5px;
}
.team-slider-one .slick-slide {
  margin-left: 5px;
  margin-right: 5px;
}

.form-message {
  padding: 10px 0;
}
.form-message.success {
  color: var(--primary-color);
}
.form-message.error {
  color: rgba(209, 12, 12, 0.808);
}

.contact-info-wrapper {
  position: relative;
  border-radius: 20px;
  border: 1px solid #313131;
  background-color: #0E0F11;
  margin-right: 100px;
  padding: 60px 40px;
  z-index: 1;
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .contact-info-wrapper {
    margin-right: 50px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .contact-info-wrapper {
    margin-right: 0;
  }
}
@media screen and (max-width: 991px) {
  .contact-info-wrapper {
    margin-right: 0;
  }
}
@media (max-width: 767px) {
  .contact-info-wrapper {
    padding: 50px 30px;
  }
}
.contact-info-wrapper .shape {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
}
.contact-info-wrapper ul li:not(:last-child) {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.contact-info-wrapper ul li:first-child {
  padding-bottom: 0;
  border-bottom: none;
}
.contact-info-wrapper ul li .phone {
  font: 700 40px var(--heading-font);
  color: var(--primary-color);
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .contact-info-wrapper ul li .phone {
    font-size: 27px;
  }
}
@media screen and (max-width: 991px) {
  .contact-info-wrapper ul li .phone {
    font-size: 27px;
  }
}

.map-box iframe {
  height: 600px;
}

.Quant-contact-form.style-one .form_control {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #1A1B1D;
  padding: 15px 30px;
  margin-bottom: 30px;
  color: var(--white-color);
  font: 700 20px var(--heading-font);
}
.Quant-contact-form.style-one .form_control::-webkit-input-placeholder {
  color: var(--white-color);
}
.Quant-contact-form.style-one .form_control::-moz-placeholder {
  color: var(--white-color);
}
.Quant-contact-form.style-one .form_control:-ms-input-placeholder {
  color: var(--white-color);
}
.Quant-contact-form.style-one .form_control::-ms-input-placeholder {
  color: var(--white-color);
}
.Quant-contact-form.style-one .form_control::placeholder {
  color: var(--white-color);
}
.Quant-contact-form.style-one .theme-btn {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: var(--primary-color);
  color: var(--heading-color);
  font: 700 20px var(--heading-font);
  border-radius: 10px;
  padding: 16px 30px;
}
.Quant-contact-form .form_control {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #1A1B1D;
  padding: 15px 30px;
  margin-bottom: 30px;
  color: var(--white-color);
  font: 700 20px var(--heading-font);
}
.Quant-contact-form .form_control::-webkit-input-placeholder {
  color: var(--white-color);
}
.Quant-contact-form .form_control::-moz-placeholder {
  color: var(--white-color);
}
.Quant-contact-form .form_control:-ms-input-placeholder {
  color: var(--white-color);
}
.Quant-contact-form .form_control::-ms-input-placeholder {
  color: var(--white-color);
}
.Quant-contact-form .form_control::placeholder {
  color: var(--white-color);
}
.Quant-contact-form.style-two .theme-btn {
  width: 100%;
  padding: 15px 30px;
  border-radius: 10px;
}

/* --- Quant AI Custom Chatbot CSS --- */
.quant-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--heading-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 8px 24px rgba(156, 254, 79, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.3s ease;
}
.quant-chat-btn:hover {
    transform: scale(1.1);
}
.quant-chat-btn .hidden {
    display: none;
}

.quant-chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    z-index: 99999;
    width: 350px;
    height: 500px;
    /* Added safety boundaries so it never overflows the window */
    max-width: calc(100vw - 60px); 
    max-height: calc(100vh - 140px); 
    background-color: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0px 15px 40px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: bottom right;
}
.quant-chat-window.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.chat-header {
    background-color: var(--primary-black-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.chat-header .bot-avatar {
    background-color: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.chat-header h3 {
    font-size: 18px;
    margin-bottom: 0;
    color: var(--white-color);
}
.chat-header p {
    font-size: 12px;
    color: var(--text-color);
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}
.chat-header .status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: var(--gray-dark);
}
.chat-body::-webkit-scrollbar {
    width: 5px;
}

.message {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}
.bot-message .avatar {
    width: 30px;
    height: 30px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.bot-message .bubble {
    background-color: var(--primary-black-color);
    color: var(--white-color);
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    border-radius: 15px 15px 15px 5px;
    font-size: 14px;
    max-width: 80%;
    line-height: 1.5;
}
.user-message {
    justify-content: flex-end;
}
.user-message .bubble {
    background-color: var(--primary-color);
    color: var(--heading-color);
    padding: 12px 15px;
    border-radius: 15px 15px 5px 15px;
    font-size: 14px;
    font-weight: 500;
    max-width: 80%;
    line-height: 1.5;
}

.chat-footer {
    padding: 15px;
    background-color: var(--primary-black-color);
    border-top: 1px solid var(--border-color);
}
.chat-footer form {
    display: flex;
    gap: 10px;
}
.chat-footer input {
    flex: 1;
    background-color: var(--gray-dark);
    border: 1px solid var(--border-color);
    color: var(--white-color);
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 14px;
    outline: none;
}
.chat-footer button {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--heading-color);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.3s;
}
.chat-footer button:hover {
    background-color: var(--white-color);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 767px) {
    .quant-chat-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
    
    .quant-chat-window {
        bottom: 85px; /* Hugs just above the smaller button */
        right: 20px;
        width: calc(100vw - 40px); /* Takes up full screen width minus 20px padding on each side */
        height: 450px; 
        max-height: calc(100vh - 120px); /* Prevents the window from touching the very top of the phone screen */
    }
    
    .chat-header {
        padding: 12px 15px;
    }
    
    .chat-body {
        padding: 15px;
    }
}




/* --- Custom Cloudinary Video Player --- */
.hidden-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10;
    border-radius: 15px;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.responsive-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.close-video-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-video-btn:hover {
    background: var(--primary-color);
    color: var(--heading-color);
    border-color: var(--primary-color);
}

.custom-play-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--primary-color);
    font-size: 24px;
    color: var(--heading-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.custom-play-btn:hover {
    transform: scale(1.1);
}

/* QUANT MEDIA COMMAND CENTER - DASHBOARD STYLES */

/* --- Layout & Navigation --- */
.dashboard-body {
    background-color: var(--primary-black-color);
    color: var(--white-color);
    min-height: 100vh;
}
.dashboard-body .qm-dashboard-header { padding-top: 18px; padding-bottom: 8px; }
.dashboard-body .qm-dashboard-main   { padding: 30px 0 80px; }
.dashboard-body .qm-dashboard-container { padding-left: 30px; padding-right: 30px; }
@media (max-width: 768px) {
    .dashboard-body .qm-dashboard-container { padding-left: 16px; padding-right: 16px; }
}


/* --- Content Sections --- */
.dashboard-section {
    display: none;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 0.4s ease-in-out;
}

.dashboard-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Analytics Grid --- */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
}

.stat-card h5 { color: var(--text-color); font-size: 16px; margin-bottom: 10px; }
.stat-card h2 { color: var(--primary-color); font-size: 36px; }

/* --- Kanban Board --- */
.kanban-board {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.kanban-column {
    background-color: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 300px;
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kanban-column h4 {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 5px;
}

.kanban-card {
    background-color: #131416;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    cursor: grab;
}

.kanban-card h6 { margin-bottom: 5px; }
.kanban-card p { font-size: 13px; color: var(--text-color); }

/* --- Drive Converter & Input specific --- */
.converter-box {
    background-color: var(--gray-dark);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin-bottom: 30px;
}

.admin-only { display: none; } /* Toggled by JS based on role */


/* ==========================================================================
   QUANT MEDIA · COMMAND CENTER · v2 STYLES (APPENDED)
   Upgrades & additions for dashboard.html — does not overwrite existing rules.
   ========================================================================== */


/* ---------- Section header layout ---------- */
.qm-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding-bottom: 22px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}
.qm-section-head h2 { margin: 0; font-size: 28px; }
.qm-section-head h2 .accent { color: var(--primary-color); }
.qm-section-sub {
    margin-top: 6px;
    color: var(--text-color);
    font-size: 14px;
}

/* ---------- Buttons (dashboard-scoped) ---------- */
.qm-btn-primary {
    background: var(--primary-color);
    color: #0a0a0a;
    border: none;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}
.qm-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(156, 254, 79, 0.25);
    color: #0a0a0a;
    text-decoration: none;
}
.qm-btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.qm-btn-primary.qm-btn-block { width: 100%; justify-content: center; padding: 13px; }

.qm-btn-secondary {
    background: transparent;
    color: var(--white-color);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.qm-btn-secondary:hover { border-color: var(--primary-color); color: var(--primary-color); }

.qm-btn-danger {
    background: rgba(255, 107, 107, 0.10);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.30);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.qm-btn-danger:hover { background: rgba(255, 107, 107, 0.20); }

/* ---------- Stat cards (upgrade existing rules) ---------- */
.stat-card {
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.stat-card:hover { border-color: var(--primary-color); transform: translateY(-2px); }
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    opacity: 0.6;
}
.stat-card .stat-icon {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(156, 254, 79, 0.10);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.stat-card h2 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 36px;
    font-weight: 900;
    margin: 12px 0 6px;
    letter-spacing: -0.02em;
}
.stat-card .stat-delta {
    display: block;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
}

/* ---------- Bar chart card ---------- */
.qm-chart-card {
    background-color: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 28px;
}
.qm-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 10px;
}
.qm-chart-head h4 { margin: 0; font-size: 18px; }
.qm-chart-source { color: var(--text-color); font-size: 12px; }
.qm-chart-source em { color: var(--primary-color); font-style: normal; font-weight: 600; }

.qm-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    height: 220px;
    padding: 22px 0 8px;
}
.qm-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-color), rgba(156, 254, 79, 0.15));
    border-radius: 8px 8px 0 0;
    position: relative;
    min-height: 6px;
    transition: opacity 0.2s ease;
    cursor: default;
}
.qm-bar:hover { opacity: 0.85; }
.qm-bar .qm-bar-value {
    position: absolute;
    top: -22px;
    left: 0; right: 0;
    text-align: center;
    font-size: 11px;
    color: var(--white-color);
    font-weight: 700;
}
.qm-bar .qm-bar-label {
    position: absolute;
    bottom: -22px;
    left: 0; right: 0;
    text-align: center;
    font-size: 11px;
    color: var(--text-color);
}

/* ---------- Kanban polish ---------- */
.kanban-column { transition: border-color 0.2s ease, background-color 0.2s ease; }
.kanban-column.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(156, 254, 79, 0.04);
}
.kanban-col-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 6px;
}
.kanban-col-head h4 {
    border-bottom: none;
    padding-bottom: 0;
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.kanban-col-head h4 i { color: var(--primary-color); margin-right: 8px; }
.kanban-count {
    background: rgba(156, 254, 79, 0.12);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.kanban-cards { display: flex; flex-direction: column; gap: 12px; min-height: 60px; }

.kanban-card { transition: border-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease; }
.kanban-card:hover { border-color: var(--primary-color); }
.kanban-card.dragging { opacity: 0.4; transform: rotate(2deg); }
.kanban-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 11px;
    color: var(--text-color);
}
.kanban-tag {
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(156, 254, 79, 0.10);
    color: var(--primary-color);
}
.kanban-tag.priority-high { background: rgba(255, 107, 107, 0.12); color: #ff6b6b; }
.kanban-tag.priority-med  { background: rgba(255, 193, 7, 0.12);  color: #ffc107; }
.kanban-tag.priority-low  { background: rgba(158, 159, 160, 0.18); color: var(--text-color); }
.kanban-due { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- Asset Vault ---------- */
.qm-vault-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.qm-vault-input {
    flex: 1;
    min-width: 240px;
    background-color: #0a0b0d;
    border: 1px solid var(--border-color);
    color: var(--white-color);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease;
}
.qm-vault-input:focus { border-color: var(--primary-color); }
.qm-vault-hint {
    margin-top: 12px;
    color: var(--text-color);
    font-size: 12px;
}

.qm-notice {
    background: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary-color);
    padding: 14px 18px;
    border-radius: 10px;
    color: var(--text-color);
    font-size: 13px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.qm-notice i { color: var(--primary-color); }

.qm-asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 22px;
}
.qm-asset-card {
    background-color: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.qm-asset-card:hover { border-color: var(--primary-color); transform: translateY(-2px); }
.qm-video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}
.qm-video-frame iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.qm-asset-meta { padding: 16px 18px 4px; }
.qm-asset-meta h5 { margin: 0 0 4px; font-size: 15px; }
.qm-asset-id   { font-family: monospace; font-size: 11px; color: var(--text-color); word-break: break-all; }
.qm-asset-time { font-size: 11px; color: var(--text-color); margin-top: 4px; }
.qm-asset-actions {
    display: flex;
    gap: 10px;
    padding: 14px 18px 18px;
    flex-wrap: wrap;
}
.qm-revise-tag {
    color: var(--text-color);
    font-size: 12px;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.qm-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-color);
    border: 1px dashed var(--border-color);
    border-radius: 15px;
}
.qm-empty-state i { font-size: 28px; color: var(--primary-color); margin-bottom: 12px; display: block; }

/* ---------- AI Analyzer layout ---------- */
.qm-ai-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.qm-ai-card {
    background-color: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 26px;
}
.qm-ai-card h4 {
    font-size: 16px;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.qm-ai-card h4 i { color: var(--primary-color); }
.qm-ai-sub { color: var(--text-color); font-size: 13px; margin-bottom: 18px; }

.qm-ai-metrics {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #0a0b0d;
}
.qm-ai-metrics li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}
.qm-ai-metrics li:last-child { border-bottom: none; }
.qm-ai-metrics li span { color: var(--text-color); }
.qm-ai-metrics li strong {
    color: var(--white-color);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    font-weight: 700;
}
.qm-ai-prep {
    margin-top: 12px;
    text-align: center;
    color: var(--text-color);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.qm-ai-output {
    background: #0a0b0d;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.7;
    min-height: 320px;
}
.qm-ai-output.loaded { color: var(--white-color); }
.qm-ai-output h5 {
    color: var(--primary-color);
    margin: 14px 0 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.qm-ai-output p { margin: 0 0 12px; }
.qm-ai-stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}
.qm-ai-stat-row > div {
    background: rgba(156, 254, 79, 0.06);
    border: 1px solid rgba(156, 254, 79, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
}
.qm-ai-stat-row span {
    color: var(--text-color);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 4px;
}
.qm-ai-stat-row strong {
    color: var(--white-color);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.qm-blink {
    color: var(--primary-color);
    font-weight: 700;
    animation: qmBlink 1s linear infinite;
}
@keyframes qmBlink {
    0%, 60%   { opacity: 1; }
    61%, 100% { opacity: 0.3; }
}

/* ---------- Admin · Provision form ---------- */
.qm-provision-form {
    background-color: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 24px;
    margin-bottom: 24px;
}
.qm-provision-form h4 { margin: 0 0 18px; font-size: 16px; }
.qm-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.qm-form-grid label {
    display: block;
    font-size: 11px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    font-weight: 600;
}
.qm-form-input {
    width: 100%;
    background-color: #0a0b0d;
    border: 1px solid var(--border-color);
    color: var(--white-color);
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease;
}
.qm-form-input:focus { border-color: var(--primary-color); }
.qm-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

/* ---------- Admin · Users table ---------- */
.qm-table-wrap {
    background-color: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
}
.qm-users-table {
    width: 100%;
    border-collapse: collapse;
}
.qm-users-table thead th {
    text-align: left;
    padding: 16px 22px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    background: #0f1012;
    font-weight: 600;
}
.qm-users-table tbody td {
    padding: 16px 22px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--white-color);
}
.qm-users-table tbody tr:last-child td { border-bottom: none; }
.qm-users-table tbody tr:hover { background: rgba(156, 254, 79, 0.03); }
.qm-cell-muted { color: var(--text-color); }

.qm-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.qm-badge.role-admin  { background: rgba(156, 254, 79, 0.12); color: var(--primary-color); }
.qm-badge.role-editor { background: rgba(100, 180, 255, 0.12); color: #64b4ff; }
.qm-badge.role-client { background: rgba(158, 159, 160, 0.18); color: var(--text-color); }

.qm-undeletable {
    color: var(--text-color);
    font-style: italic;
    font-size: 12px;
    padding: 8px 14px;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.qm-undeletable i { color: var(--primary-color); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .qm-ai-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .dashboard-header { padding: 0 20px; }
    .dashboard-section { padding: 24px 20px; }
    .qm-section-head h2 { font-size: 22px; }
    .qm-asset-grid { grid-template-columns: 1fr; }
    .qm-users-table thead { display: none; }
    .qm-users-table tbody td { display: block; padding: 10px 16px; border-bottom: none; }
    .qm-users-table tbody tr {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--border-color);
    }
}

/* ==========================================================================
   QUANT MEDIA · DASHBOARD HEADER OVERLAYS (use main site header pattern)
   ========================================================================== */

/* Round profile icon — slots into existing .nav-right-item */
.qm-profile-wrap { position: relative; display: inline-block; }
.qm-profile-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--gray-dark);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    padding: 0;
}
.qm-profile-icon:hover { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(156,254,79,0.18); }

.qm-profile-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 280px;
    background: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 10000;
    overflow: hidden;
}
.qm-profile-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }

.qm-dd-header {
    display: flex; gap: 12px; align-items: center;
    padding: 18px 18px 16px;
    border-bottom: 1px solid var(--border-color);
}
.qm-dd-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(156,254,79,0.12);
    color: var(--primary-color);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 800; font-size: 15px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(156,254,79,0.25);
    flex-shrink: 0;
}
.qm-dd-name {
    color: var(--white-color);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700; font-size: 15px; line-height: 1.2;
}
.qm-dd-email { color: var(--text-color); font-size: 12px; line-height: 1.3; word-break: break-all; }
.qm-dd-role-badge {
    display: inline-block;
    margin-top: 6px;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(156,254,79,0.12);
    color: var(--primary-color);
    border: 1px solid rgba(156,254,79,0.25);
}
.qm-dd-role-badge.role-editor { background: rgba(100,180,255,0.12); color: #64b4ff; border-color: rgba(100,180,255,0.25); }
.qm-dd-role-badge.role-client { background: rgba(158,159,160,0.18); color: var(--text-color); border-color: var(--border-color); }

.qm-dd-list { list-style: none; margin: 0; padding: 8px 0; }
.qm-dd-list li { padding: 0; }
.qm-dd-link {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    background: none; border: none;
    color: var(--text-color);
    font-family: var(--heading-font, 'Source Sans 3', sans-serif);
    font-weight: 500; font-size: 14px;
    text-align: left;
    padding: 11px 18px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, padding-left .15s ease;
    border-radius: 0;
}
.qm-dd-link i { width: 16px; text-align: center; font-size: 13px; opacity: 0.85; }
.qm-dd-link:hover, .qm-dd-link.active-tab {
    background: rgba(156,254,79,0.06);
    color: var(--primary-color);
    padding-left: 22px;
}

.qm-dd-footer { padding: 10px 18px 16px; border-top: 1px solid var(--border-color); }
.qm-dd-logout {
    width: 100%;
    background: transparent;
    color: #ff6b6b;
    border: 1px solid rgba(255,107,107,0.35);
    padding: 9px 14px; border-radius: 10px;
    font-weight: 600; font-size: 13px;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: background .15s ease, color .15s ease;
}
.qm-dd-logout:hover { background: rgba(255,107,107,0.12); color: #fff; }

/* ==========================================================================
   QUANT MEDIA · ANALYTICS UPGRADES
   ========================================================================== */
.stat-card { position: relative; transition: transform .2s ease, border-color .2s ease; }
.stat-card:hover { transform: translateY(-2px); border-color: rgba(156,254,79,0.35); }
.stat-card .stat-icon {
    position: absolute; top: 22px; right: 22px;
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(156,254,79,0.10); color: var(--primary-color);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.stat-card h2 { line-height: 1; margin-top: 4px; font-size: 32px; }
.stat-delta { display: block; margin-top: 10px; font-size: 12px; color: var(--primary-color); font-weight: 600; }

.qm-chart-card {
    margin-top: 30px;
    background: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 26px;
}
.qm-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.qm-chart-head h4 { margin: 0; font-size: 16px; }
.qm-chart-source { font-size: 12px; color: var(--text-color); }

.qm-bar-chart {
    display: grid;
    grid-template-columns: repeat(7, minmax(40px, 1fr));
    align-items: end;
    gap: 14px;
    height: 220px;
    padding: 10px 5px 0;
    border-top: 1px dashed var(--border-color);
}
.qm-bar {
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(156,254,79,0.4) 100%);
    border-radius: 6px 6px 0 0;
    position: relative;
    min-height: 6px;
    transition: filter .15s ease;
    cursor: default;
}
.qm-bar:hover { filter: brightness(1.15); }
.qm-bar-value {
    position: absolute; top: -22px; left: 0; right: 0;
    text-align: center; font-size: 11px; font-weight: 700; color: var(--white-color);
}
.qm-bar-label {
    position: absolute; bottom: -22px; left: 0; right: 0;
    text-align: center; font-size: 11px; color: var(--text-color);
}
.qm-chart-card .qm-bar-chart { padding-bottom: 28px; }

/* ==========================================================================
   QUANT MEDIA · KANBAN POLISH
   ========================================================================== */
.kanban-col-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); margin-bottom: 4px; }
.kanban-col-head h4 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; border: none; padding: 0; display: inline-flex; align-items: center; gap: 8px; }
.kanban-col-head h4 i { color: var(--primary-color); font-size: 12px; }
.kanban-count { background: rgba(255,255,255,0.06); color: var(--white-color); border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 700; }

.kanban-cards { display: flex; flex-direction: column; gap: 12px; min-height: 60px; }
.kanban-card { transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.kanban-card:hover { transform: translateY(-2px); border-color: rgba(156,254,79,0.4); box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.kanban-card.dragging { opacity: 0.4; transform: rotate(-1deg) scale(0.98); }
.kanban-column.drag-over { border-color: var(--primary-color); box-shadow: 0 0 0 1px var(--primary-color) inset; }
.kanban-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 10px; }
.kanban-tag { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.08em; }
.kanban-tag.priority-high { background: rgba(255,107,107,0.14); color: #ff8a8a; }
.kanban-tag.priority-med  { background: rgba(255,193,7,0.14);  color: #ffc107; }
.kanban-tag.priority-low  { background: rgba(156,254,79,0.14); color: var(--primary-color); }
.kanban-due { font-size: 12px; color: var(--text-color); display: inline-flex; align-items: center; gap: 5px; }

/* ==========================================================================
   QUANT MEDIA · ASSET VAULT
   ========================================================================== */
.qm-vault-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.qm-vault-input { flex: 1; min-width: 240px; padding: 12px 18px; background: #131416; color: var(--white-color); border: 1px solid var(--border-color); border-radius: 10px; font-size: 14px; }
.qm-vault-input:focus { border-color: var(--primary-color); outline: none; }
.qm-vault-hint { color: var(--text-color); font-size: 12px; margin: 12px 0 0; }
.qm-vault-hint strong { color: var(--primary-color); font-weight: 600; }

.qm-notice {
    display: flex; align-items: center; gap: 10px;
    background: rgba(100,180,255,0.06);
    border: 1px solid rgba(100,180,255,0.25);
    color: #c9e3ff;
    padding: 12px 18px; border-radius: 10px;
    font-size: 13px;
    margin-bottom: 24px;
}
.qm-notice i { color: #64b4ff; }

.qm-asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.qm-asset-card { background: var(--gray-dark); border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.qm-video-frame { position: relative; padding-bottom: 56.25%; background: #000; }
.qm-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.qm-asset-meta { padding: 16px 18px 4px; }
.qm-asset-meta h5 { margin: 0 0 4px; font-size: 15px; }
.qm-asset-id   { font-size: 11px; color: var(--text-color); font-family: monospace; word-break: break-all; }
.qm-asset-time { font-size: 12px; color: var(--text-color); margin-top: 4px; }
.qm-asset-actions { display: flex; gap: 10px; padding: 14px 18px 18px; }
.qm-asset-actions .qm-btn-primary, .qm-asset-actions .qm-btn-secondary { flex: 1; justify-content: center; }
.qm-revise-tag { color: #ffc107; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255,193,7,0.08); border: 1px dashed rgba(255,193,7,0.4); border-radius: 8px; width: 100%; justify-content: center; }

.qm-empty-state {
    grid-column: 1 / -1;
    text-align: center; color: var(--text-color);
    padding: 50px 20px;
    border: 1px dashed var(--border-color);
    border-radius: 14px;
    background: rgba(255,255,255,0.02);
}
.qm-empty-state i { font-size: 32px; color: var(--primary-color); margin-bottom: 12px; opacity: 0.7; }
.qm-empty-state p { margin: 0; font-size: 14px; }

/* ==========================================================================
   QUANT MEDIA · ADMIN TABLE
   ========================================================================== */
.qm-table-wrap { background: var(--gray-dark); border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; }
.qm-cell-muted { color: var(--text-color); font-size: 13px; }
.qm-row-actions { display: inline-flex; gap: 8px; justify-content: flex-end; }
.qm-btn-ghost {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 6px 12px; border-radius: 8px;
    font-size: 12px; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
    transition: color .15s ease, border-color .15s ease;
}
.qm-btn-ghost:hover { color: var(--primary-color); border-color: var(--primary-color); }
.qm-btn-danger {
    background: transparent; color: #ff6b6b;
    border: 1px solid rgba(255,107,107,0.35);
    padding: 6px 12px; border-radius: 8px;
    font-size: 12px; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
    transition: background .15s ease, color .15s ease;
}
.qm-btn-danger:hover { background: rgba(255,107,107,0.12); color: #fff; }

/* ==========================================================================
   QUANT MEDIA · MODALS (use site theme)
   ========================================================================== */
.qm-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(8,9,11,0.78);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    z-index: 100000;
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    padding: 20px;
}
.qm-modal-overlay.open { opacity: 1; visibility: visible; }
body.qm-modal-open { overflow: hidden; }

.qm-modal {
    background: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%; max-width: 560px;
    max-height: 90vh;
    display: flex; flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
    transform: scale(0.96);
    transition: transform .2s ease;
}
.qm-modal-overlay.open .qm-modal { transform: scale(1); }
.qm-modal-sm { max-width: 440px; }

.qm-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border-color); }
.qm-modal-head h4 { margin: 0; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; }
.qm-modal-head h4 i { color: var(--primary-color); font-size: 14px; }
.qm-modal-close {
    background: transparent; border: none; color: var(--text-color);
    width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
    transition: background .15s ease, color .15s ease;
    display: inline-flex; align-items: center; justify-content: center;
}
.qm-modal-close:hover { background: rgba(255,255,255,0.06); color: var(--white-color); }
.qm-modal-body { padding: 22px; overflow-y: auto; }
.qm-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--border-color); }

.qm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .qm-form-grid { grid-template-columns: 1fr; } }
.qm-form-grid .portal-form-group { margin-bottom: 0; }
.qm-form-grid select.form_control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239CFE4F' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 40px;
}

/* ==========================================================================
   QUANT MEDIA · TOASTS
   ========================================================================== */
.qm-toast-stack {
    position: fixed; right: 22px; bottom: 22px;
    display: flex; flex-direction: column; gap: 10px;
    z-index: 100001;
    pointer-events: none;
}
.qm-toast {
    pointer-events: auto;
    background: var(--gray-dark);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary-color);
    color: var(--white-color);
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    font-size: 13px;
    display: inline-flex; align-items: center; gap: 10px;
    min-width: 240px; max-width: 360px;
    animation: qmToastIn .25s ease;
}
.qm-toast i { color: var(--primary-color); font-size: 14px; }
.qm-toast-warn { border-left-color: #ffc107; }
.qm-toast-warn i { color: #ffc107; }
.qm-toast-err  { border-left-color: #ff6b6b; }
.qm-toast-err i { color: #ff6b6b; }
.qm-toast.hide { animation: qmToastOut .3s ease forwards; }
@keyframes qmToastIn  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes qmToastOut { to   { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   QUANT MEDIA · AI ANALYZER OUTPUT POLISH
   ========================================================================== */
.qm-ai-output { line-height: 1.6; }
.qm-ai-output h5 { color: var(--primary-color); margin-top: 18px; margin-bottom: 6px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.qm-ai-output p  { color: var(--text-color); font-size: 14px; margin-bottom: 12px; }
.qm-ai-output strong { color: var(--white-color); }
.qm-ai-output ul { padding-left: 18px; margin-bottom: 12px; }
.qm-ai-output li { color: var(--text-color); font-size: 14px; margin-bottom: 6px; }
.qm-ai-output .qm-ai-stat-row {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    background: rgba(156,254,79,0.05);
    border: 1px solid rgba(156,254,79,0.2);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 18px;
}
.qm-ai-output .qm-ai-stat-row > div { display: flex; flex-direction: column; gap: 2px; }
.qm-ai-output .qm-ai-stat-row span { font-size: 11px; color: var(--text-color); text-transform: uppercase; letter-spacing: 0.08em; }
.qm-ai-output .qm-ai-stat-row strong { color: var(--white-color); font-size: 16px; font-family: 'Source Sans 3', sans-serif; font-weight: 700; }
.qm-blink { color: var(--primary-color); animation: qmBlink 1s step-end infinite; }
@keyframes qmBlink { 50% { opacity: 0.3; } }

/* ==========================================================================
   QUANT MEDIA · DASHBOARD HEADER LAYOUT FIX (override body padding)
   ========================================================================== */
@media (max-width: 991px) {
    .qm-dashboard-header .navbar-toggler { display: none; }
}

/* ==========================================================================
   QM · COMMAND CENTER · v2 ADDITIONS
   Workspace picker · Setup banner · Time-range · Social accounts ·
   Settings grid · Metric toggles · Master-only · Chart empty state ·
   Asset status pills · Card actions · Responsive tweaks
   ========================================================================== */

/* Workspace picker (in header) */
.qm-workspace-picker{
    display:inline-flex;align-items:center;gap:10px;
    margin-left:24px;padding:6px 8px 6px 14px;
    background:rgba(255,255,255,0.04);
    border:1px solid var(--border-color);border-radius:999px;
    color:var(--white-color);
}
.qm-workspace-picker i{color:var(--primary-color);font-size:13px;}
.qm-workspace-picker select{
    background:transparent;color:var(--white-color);
    border:none;outline:none;font-size:13px;
    padding:6px 22px 6px 4px;cursor:pointer;
    appearance:none;-webkit-appearance:none;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%239CFE4F' d='M0 0l5 6 5-6z'/></svg>");
    background-repeat:no-repeat;background-position:right 6px center;
}
.qm-workspace-picker select option{background:#0d0e10;color:var(--white-color);}
@media (max-width:768px){
    .qm-workspace-picker{margin-left:12px;padding:5px 6px 5px 10px;}
    .qm-workspace-picker select{font-size:12px;}
}

/* Setup banner */
.qm-setup-banner{
    background:linear-gradient(90deg, rgba(156,254,79,0.10), rgba(156,254,79,0.02));
    border-bottom:1px solid rgba(156,254,79,0.25);
    color:var(--white-color);font-size:13px;
    padding:12px 0;
}
.qm-setup-banner .container-fluid{display:flex;align-items:center;gap:12px;}
.qm-setup-banner i.fa-bolt{color:var(--primary-color);font-size:14px;}
.qm-setup-banner code{
    background:rgba(255,255,255,0.06);padding:2px 6px;border-radius:4px;font-size:12px;
    color:var(--primary-color);
}
.qm-banner-close{
    margin-left:auto;background:transparent;border:none;color:var(--text-color);
    cursor:pointer;font-size:14px;padding:4px 8px;
}
.qm-banner-close:hover{color:var(--white-color);}

/* Section actions row */
.qm-section-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.qm-section-head{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:14px;margin-bottom:24px;}

/* Time-range selector */
.qm-time-range{
    display:inline-flex;align-items:center;gap:8px;
    background:rgba(255,255,255,0.03);
    border:1px solid var(--border-color);border-radius:10px;
    padding:6px 10px;
}
.qm-time-range label{
    font-size:11px;letter-spacing:0.14em;text-transform:uppercase;
    color:var(--text-color);margin:0;
}
.qm-time-range select{
    background:transparent;color:var(--white-color);
    border:none;outline:none;font-size:13px;padding:4px 18px 4px 4px;cursor:pointer;
    appearance:none;-webkit-appearance:none;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%239CFE4F' d='M0 0l5 6 5-6z'/></svg>");
    background-repeat:no-repeat;background-position:right 4px center;
}
.qm-time-range select option{background:#0d0e10;color:var(--white-color);}

/* Social Accounts grid */
.qm-connect-grid{
    display:grid;grid-template-columns:repeat(auto-fit, minmax(340px, 1fr));
    gap:24px;
}
.qm-connect-card{
    background:var(--gray-dark);border:1px solid var(--border-color);
    border-radius:16px;padding:26px;
}
.qm-connect-card h4{margin:0 0 8px;font-size:18px;color:var(--white-color);display:flex;align-items:center;gap:10px;}
.qm-connect-card .qm-connect-hint{
    font-size:13px;color:var(--text-color);line-height:1.55;margin:0 0 18px;
}
.qm-connect-card .qm-connect-hint code{
    background:rgba(255,255,255,0.05);padding:2px 6px;border-radius:4px;color:var(--primary-color);
}
.qm-connect-card .qm-connect-hint a{color:var(--primary-color);}

/* Connected social account row */
.qm-connected-list h4{font-size:16px;color:var(--white-color);}
.qm-connected-list h4 span{color:var(--primary-color);}
.qm-social-row{
    display:flex;justify-content:space-between;align-items:center;gap:14px;
    background:var(--gray-dark);border:1px solid var(--border-color);border-radius:12px;
    padding:14px 18px;margin-bottom:10px;
}
.qm-social-info{display:flex;align-items:center;gap:14px;}
.qm-social-info strong{color:var(--white-color);}

/* Settings grid */
.qm-settings-grid{
    display:grid;grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
    gap:24px;
}

/* Metric toggles */
.qm-metric-toggles{
    display:flex;flex-wrap:wrap;gap:10px;
}
.qm-metric-toggles label{
    display:inline-flex;align-items:center;gap:8px;
    background:#131416;border:1px solid var(--border-color);
    padding:8px 14px;border-radius:999px;cursor:pointer;
    font-size:13px;color:var(--white-color);user-select:none;
}
.qm-metric-toggles input{accent-color:var(--primary-color);}

/* Chart empty state */
.qm-chart-empty{
    text-align:center;color:var(--text-color);font-size:13px;
    padding:18px 14px 0;margin:0;line-height:1.55;
}
.qm-chart-empty i{color:var(--primary-color);margin-right:6px;}
.qm-chart-empty strong{color:var(--white-color);}

/* Asset card status + delete */
.qm-asset-status{
    display:inline-block;font-size:10px;letter-spacing:0.12em;
    text-transform:uppercase;padding:2px 8px;border-radius:999px;margin-left:6px;
}
.qm-asset-status.status-pending  { background:rgba(255,200,80,0.12); color:#ffd47a; }
.qm-asset-status.status-approved { background:rgba(156,254,79,0.12); color:var(--primary-color); }
.qm-asset-status.status-revision { background:rgba(255,107,107,0.12); color:#ff8a8a; }
.qm-asset-card .qm-asset-del{
    background:transparent;border:none;color:var(--text-color);cursor:pointer;
    padding:4px 6px;border-radius:6px;font-size:13px;
}
.qm-asset-card .qm-asset-del:hover{background:rgba(255,107,107,0.1);color:#ff8a8a;}

/* Kanban card actions */
.kanban-card{position:relative;}
.kanban-card-actions{
    position:absolute;top:8px;right:8px;display:none;gap:4px;
}
.kanban-card:hover .kanban-card-actions{display:flex;}
.kanban-card-actions button{
    background:rgba(0,0,0,0.4);border:1px solid var(--border-color);
    color:var(--text-color);width:26px;height:26px;border-radius:6px;
    display:flex;align-items:center;justify-content:center;font-size:11px;cursor:pointer;
}
.kanban-card-actions button:hover{color:var(--white-color);border-color:var(--primary-color);}
.kanban-card-actions .qm-card-del:hover{color:#ff8a8a;border-color:rgba(255,107,107,0.4);}

/* Responsive tweaks */
@media (max-width: 768px){
    .qm-section-head{flex-direction:column;align-items:stretch;}
    .qm-section-actions{justify-content:flex-start;}
    .dashboard-section{padding:24px 14px;}
    .analytics-grid{gap:14px;}
    .stat-card{padding:18px;}
    .stat-card h2{font-size:28px;}
    .qm-ai-wrap{grid-template-columns:1fr !important;}
    .qm-social-row{flex-direction:column;align-items:flex-start;gap:10px;}
    .qm-social-row .qm-row-actions{width:100%;}
}

/* Master-only sections (hidden by default; JS reveals) */
.qm-master-only{display:none;}

/* ======================================================================
   QM · DASHBOARD POLISH PASS
   Form controls, video-preview modal, kanban video thumbs, hidden
   helper class, optional-label hint, small button modifier.
   ====================================================================== */

/* ---------- Hidden utility (used to suppress legacy bits) ---------- */
.qm-hidden { display: none !important; }

/* ---------- Generic form controls inside the dashboard ---------- */
.dashboard-section .form_control,
.qm-modal .form_control,
.qm-form-grid .form_control,
.converter-box .form_control {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    padding: 13px 16px;
    color: var(--white-color);
    font-size: 14.5px;
    font-family: inherit;
    line-height: 1.4;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    appearance: none;
    -webkit-appearance: none;
}
.dashboard-section .form_control:focus,
.qm-modal .form_control:focus,
.qm-form-grid .form_control:focus,
.converter-box .form_control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(168,113,255,0.18);
}
.dashboard-section .form_control::placeholder,
.qm-modal .form_control::placeholder,
.converter-box .form_control::placeholder {
    color: rgba(255,255,255,0.36);
}
.dashboard-section .form_control:disabled,
.qm-modal .form_control:disabled {
    opacity: .55;
    cursor: not-allowed;
}
.dashboard-section textarea.form_control,
.qm-modal textarea.form_control { resize: vertical; min-height: 96px; }

/* selects keep a chevron */
.dashboard-section select.form_control,
.qm-modal select.form_control,
.qm-form-grid select.form_control {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23ffffff' opacity='0.6' d='M1.41 0L6 4.59 10.59 0 12 1.41l-6 6-6-6z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

/* labels inside form-grids */
.qm-form-grid label,
.qm-modal label {
    display: block;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,0.62);
    margin-bottom: 8px;
    font-weight: 600;
}
.qm-label-opt {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: 11.5px;
    color: rgba(255,255,255,0.42);
    margin-left: 6px;
}

/* ---------- Vault uploader row ---------- */
.qm-vault-row {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.qm-vault-row .qm-vault-input { flex: 1 1 240px; }

/* ---------- Small button modifier ---------- */
.qm-btn-sm {
    padding: 8px 14px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    line-height: 1.2 !important;
}

/* ---------- Kanban: video-bearing cards ---------- */
.kanban-card.has-video { cursor: pointer; }
.kanban-card.has-video:hover { transform: translateY(-2px); border-color: rgba(168,113,255,0.35); }

.kanban-card-thumb {
    position: relative;
    height: 92px;
    margin: -16px -16px 12px -16px;
    background:
        radial-gradient(circle at 30% 40%, rgba(168,113,255,0.32), transparent 60%),
        linear-gradient(135deg, #1a0f2e 0%, #0e0817 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px 14px 0 0;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 4px;
    color: rgba(255,255,255,0.86);
    cursor: pointer;
    overflow: hidden;
}
.kanban-card-thumb i { font-size: 30px; color: var(--primary-color); filter: drop-shadow(0 2px 8px rgba(168,113,255,0.55)); }
.kanban-card-thumb span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.kanban-card-thumb::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(168,113,255,0.08) 100%);
    pointer-events: none;
}

.kanban-card-footer {
    display: flex; gap: 8px; margin-top: 12px; padding-top: 12px;
    border-top: 1px dashed rgba(255,255,255,0.08);
    flex-wrap: wrap;
}
.kanban-card-footer .qm-btn-primary,
.kanban-card-footer .qm-btn-ghost { flex: 1 1 auto; justify-content: center; }

/* "Ready to Publish" column gets a subtle gold tint */
.kanban-column.is-final {
    background: linear-gradient(180deg, rgba(255,206,84,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,206,84,0.18);
}
.kanban-column.is-final .kanban-col-head h4 { color: #ffd66b; }
.kanban-column.is-final .kanban-col-head h4 i { color: #ffd66b; }

/* ---------- Video Preview modal ---------- */
.qm-modal.qm-modal-video {
    max-width: 920px;
    width: 96%;
}
.qm-video-modal-frame {
    position: relative;
    width: 100%;
    background: #000;
    aspect-ratio: 16 / 9;
}
.qm-video-modal-frame iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0; display: block;
}
@media (max-width: 600px) {
    .qm-modal.qm-modal-video { width: 100%; max-width: 100%; border-radius: 0; }
}

/* ---------- Marketing nav: authed CTA badge ---------- */
.qm-nav-authed { background: linear-gradient(135deg, #a871ff 0%, #6b3fc7 100%) !important; }
.qm-nav-authed:hover { filter: brightness(1.08); }

/* ---------- Bigger vault grid card touches ---------- */
.qm-asset-card { transition: transform .25s ease, box-shadow .25s ease; }
.qm-asset-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.45); }

/* ==========================================================================
   ============== QM CLIENT PORTAL · v4 POLISH (final overrides) ============
   Loaded last so these rules win over the older duplicates above.
   Fixes: tab-nav ribbon, welcome banner, stat-card layout, real deltas,
   bar-chart flex, vault filters, lazy-iframe, asset-card actions,
   skeleton loaders, no-workspace empty state, mobile responsive.
   ========================================================================== */

:root{
    --qm-radius: 14px;
    --qm-radius-sm: 10px;
    --qm-shadow-soft: 0 8px 24px rgba(0,0,0,0.35);
    --qm-shadow-lift: 0 18px 50px rgba(0,0,0,0.55);
    --qm-divider: rgba(255,255,255,0.08);
    --qm-card-bg: #15171a;
    --qm-card-bg-2: #1a1d21;
}

/* ===== Sticky tab nav ribbon ===== */
.qm-tab-nav{
    position: sticky;
    top: 0; /* will be re-anchored under header by JS scroll */
    z-index: 40;
    background: rgba(15,16,18,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--qm-divider);
}
.qm-tab-nav-scroll{
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px 0;
}
.qm-tab-nav-scroll::-webkit-scrollbar{ display: none; }
.qm-tab-btn{
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
    white-space: nowrap;
    font-family: inherit;
}
.qm-tab-btn i{ font-size: 12px; opacity: .85; }
.qm-tab-btn:hover{ color: var(--white-color); background: rgba(255,255,255,0.04); }
.qm-tab-btn.active{
    background: rgba(156,254,79,0.10);
    color: var(--primary-color);
    border-color: rgba(156,254,79,0.35);
    box-shadow: 0 4px 14px rgba(156,254,79,0.10);
}
.qm-tab-btn.active i{ opacity: 1; }

/* ===== Welcome banner ===== */
.qm-welcome-banner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    margin: 24px 0 18px;
    border-radius: var(--qm-radius);
    background:
        radial-gradient(120% 200% at 0% 0%, rgba(156,254,79,0.10), transparent 50%),
        linear-gradient(135deg, #16181b 0%, #1c1f23 100%);
    border: 1px solid var(--qm-divider);
    box-shadow: var(--qm-shadow-soft);
}
.qm-welcome-text h3{
    margin: 0 0 4px;
    color: var(--white-color);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.qm-welcome-text p{
    margin: 0;
    color: var(--text-color);
    font-size: 13.5px;
    line-height: 1.5;
}
.qm-welcome-text p strong{ color: var(--white-color); font-weight: 600; }
.qm-welcome-meta{ flex-shrink: 0; }
.qm-welcome-pill{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(156,254,79,0.10);
    color: var(--primary-color);
    border: 1px solid rgba(156,254,79,0.30);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.qm-welcome-pill i{ font-size: 11px; }

@media (max-width: 720px){
    .qm-welcome-banner{ flex-direction: column; align-items: flex-start; padding: 20px 22px; gap: 14px; }
    .qm-welcome-text h3{ font-size: 19px; }
}

/* ===== No-workspace empty state (clients) ===== */
.qm-noworkspace{
    text-align: center;
    padding: 56px 28px;
    margin: 18px 0 24px;
    border-radius: var(--qm-radius);
    background: linear-gradient(180deg, rgba(156,254,79,0.04), transparent 70%), var(--qm-card-bg);
    border: 1px solid var(--qm-divider);
}
.qm-noworkspace-icon{
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(156,254,79,0.10);
    color: var(--primary-color);
    font-size: 32px;
    border: 1px solid rgba(156,254,79,0.25);
}
.qm-noworkspace h3{
    color: var(--white-color);
    font-size: 22px;
    margin: 0 0 10px;
    font-weight: 600;
}
.qm-noworkspace p{
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 22px;
}
.qm-noworkspace .qm-btn-primary{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
/* When client has no workspace, hide the section content (banner already
   speaks). We keep the section nodes in DOM but hide the heavy bits. */
body.qm-no-workspace .dashboard-section,
body.qm-no-workspace .qm-tab-nav{
    display: none !important;
}
body.qm-no-workspace .qm-welcome-banner{ display: flex; }

/* ===== Stat cards (clean grid, no absolute icons overlapping) ===== */
.analytics-grid{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card{
    position: relative !important;
    padding: 22px 22px 20px !important;
    border-radius: var(--qm-radius) !important;
    background: var(--qm-card-bg) !important;
    border: 1px solid var(--qm-divider) !important;
    box-shadow: var(--qm-shadow-soft);
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    min-height: 138px;
}
.stat-card:hover{
    transform: translateY(-2px);
    border-color: rgba(156,254,79,0.25) !important;
    box-shadow: var(--qm-shadow-lift);
}
.stat-card .stat-icon{
    position: absolute !important;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(156,254,79,0.10);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid rgba(156,254,79,0.20);
}
.stat-card h5{
    margin: 0 !important;
    color: var(--text-color) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding-right: 50px; /* clear of icon */
    line-height: 1.3;
}
.stat-card h2{
    margin: 4px 0 0 !important;
    color: var(--white-color) !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.stat-card .stat-delta{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    color: var(--text-color);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    min-height: 16px;
}
.qm-delta-up{ color: var(--primary-color); font-weight: 600; }
.qm-delta-down{ color: #ff7d7d; font-weight: 600; }
.qm-delta-flat{ color: #c9c9c9; font-weight: 600; }
.qm-delta-muted{ color: rgba(255,255,255,0.35); font-style: italic; }

/* Skeleton shimmer when loading */
.qm-skeleton-bar{
    display: inline-block;
    width: 70%;
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.10) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: qmShimmer 1.4s ease-in-out infinite;
}
.qm-skeleton-bar.tiny{ height: 11px; width: 50%; border-radius: 4px; margin-top: 4px; }
@keyframes qmShimmer{
    0%{ background-position: 200% 0; }
    100%{ background-position: -200% 0; }
}

/* ===== Bar chart (override grid → flex) ===== */
.qm-chart-card{
    background: var(--qm-card-bg);
    border: 1px solid var(--qm-divider);
    border-radius: var(--qm-radius);
    padding: 22px 22px 18px;
    box-shadow: var(--qm-shadow-soft);
}
.qm-chart-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.qm-chart-head h4{
    margin: 0;
    color: var(--white-color);
    font-size: 16px;
    font-weight: 600;
}
.qm-chart-source{
    color: var(--text-color);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.qm-bar-chart{
    display: flex !important;
    grid-template-columns: none !important; /* defeat earlier grid rules */
    align-items: flex-end;
    gap: 14px;
    height: 220px;
    padding: 12px 4px 36px;
    border-bottom: 1px solid var(--qm-divider);
    position: relative;
    overflow-x: auto;
}
.qm-bar-chart .qm-bar{
    flex: 1 1 0;
    min-width: 36px;
    max-width: 90px;
    background: linear-gradient(180deg, var(--primary-color), rgba(156,254,79,0.55));
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: filter .2s ease, transform .2s ease;
    cursor: default;
}
.qm-bar-chart .qm-bar:hover{ filter: brightness(1.15); transform: translateY(-3px); }
.qm-bar-chart .qm-bar .qm-bar-value{
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--white-color);
    font-weight: 600;
}
.qm-bar-chart .qm-bar .qm-bar-label{
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--text-color);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.qm-bar-chart-empty{
    flex: 1;
    text-align: center;
    color: var(--text-color);
    font-size: 13px;
    padding: 80px 0;
}

/* ===== Vault filter chips ===== */
.qm-vault-filters{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 18px;
}
.qm-filter-chip{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--qm-divider);
    background: rgba(255,255,255,0.02);
    color: var(--text-color);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    font-family: inherit;
}
.qm-filter-chip:hover{ color: var(--white-color); background: rgba(255,255,255,0.05); }
.qm-filter-chip.active{
    background: rgba(156,254,79,0.10);
    color: var(--primary-color);
    border-color: rgba(156,254,79,0.40);
}
.qm-filter-chip i{ font-size: 11px; opacity: .85; }
.qm-chip-count{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: var(--white-color);
    font-size: 10.5px;
    font-weight: 600;
    margin-left: 2px;
}
.qm-filter-chip.active .qm-chip-count{ background: rgba(156,254,79,0.20); color: var(--primary-color); }

/* ===== Asset card layout (clean grid) ===== */
.qm-asset-grid{
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.qm-asset-card{
    background: var(--qm-card-bg);
    border: 1px solid var(--qm-divider);
    border-radius: var(--qm-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--qm-shadow-soft);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.qm-asset-card:hover{
    transform: translateY(-3px);
    border-color: rgba(156,254,79,0.20);
    box-shadow: var(--qm-shadow-lift);
}

/* Lazy video frame */
.qm-video-frame{
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #0e0f11;
    overflow: hidden;
}
.qm-video-frame iframe{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.qm-video-lazy .qm-video-play{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background:
        radial-gradient(60% 80% at 50% 50%, rgba(156,254,79,0.12), transparent 70%),
        linear-gradient(135deg, #16181b 0%, #1f2227 100%);
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s ease;
}
.qm-video-lazy .qm-video-play:hover{ background: linear-gradient(135deg, #1c1f23 0%, #25292f 100%); }
.qm-video-lazy .qm-video-play i{
    font-size: 46px;
    color: var(--primary-color);
    filter: drop-shadow(0 4px 12px rgba(156,254,79,0.35));
}
.qm-video-lazy .qm-video-play span{
    font-size: 12px;
    color: var(--text-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.qm-video-badge{
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    pointer-events: none;
}
.qm-asset-status{
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.10);
    color: var(--white-color);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.qm-asset-status.status-pending{ background: rgba(255,193,77,0.18); color: #ffd27a; border: 1px solid rgba(255,193,77,0.35); }
.qm-asset-status.status-approved{ background: rgba(156,254,79,0.18); color: var(--primary-color); border: 1px solid rgba(156,254,79,0.35); }
.qm-asset-status.status-revision{ background: rgba(255,107,107,0.18); color: #ff9c9c; border: 1px solid rgba(255,107,107,0.35); }

.qm-asset-meta{
    padding: 14px 16px 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.qm-asset-meta-head{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.qm-asset-meta h5{
    margin: 0;
    color: var(--white-color);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
}
.qm-asset-id{
    color: var(--text-color);
    font-size: 11px;
    letter-spacing: 0.04em;
    font-family: 'JetBrains Mono', 'Fira Code', monospace, ui-monospace;
    opacity: 0.7;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qm-asset-time{
    color: var(--text-color);
    font-size: 11.5px;
    opacity: 0.75;
}
.qm-asset-del{
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-color);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    font-size: 12px;
}
.qm-asset-del:hover{ background: rgba(255,107,107,0.12); color: #ff9c9c; border-color: rgba(255,107,107,0.30); }

.qm-asset-actions{
    padding: 12px 16px 16px;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}
.qm-asset-actions .qm-btn-primary,
.qm-asset-actions .qm-btn-secondary,
.qm-asset-actions .qm-btn-ghost,
.qm-asset-actions .qm-btn-block{
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.qm-revise-tag{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--qm-radius-sm);
    background: rgba(255,255,255,0.04);
    color: var(--text-color);
    font-size: 12.5px;
    font-weight: 500;
    justify-content: center;
}

/* ===== AI Analyzer empty state ===== */
.qm-ai-empty{
    text-align: center;
    padding: 36px 24px;
    color: var(--text-color);
}
.qm-ai-empty i{
    font-size: 36px;
    color: var(--primary-color);
    opacity: 0.7;
    margin-bottom: 14px;
}
.qm-ai-empty h5{
    color: var(--white-color);
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
}
.qm-ai-empty p{
    margin: 0 auto;
    max-width: 420px;
    font-size: 13.5px;
    line-height: 1.55;
}

/* ===== Smoother section transition ===== */
.dashboard-section{
    animation: qmSectionFade .28s ease;
}
@keyframes qmSectionFade{
    from{ opacity: 0; transform: translateY(6px); }
    to{ opacity: 1; transform: translateY(0); }
}

/* ===== Mobile responsive header & general ===== */
@media (max-width: 768px){
    .qm-tab-btn{ padding: 9px 14px; font-size: 12.5px; }
    .qm-tab-btn i{ display: none; }
    .qm-welcome-banner{ margin: 18px 0 14px; padding: 18px 20px; }
    .stat-card{ min-height: 122px; padding: 18px !important; }
    .stat-card h2{ font-size: 26px !important; }
    .qm-bar-chart{ height: 180px; gap: 10px; }
    .qm-asset-grid{ grid-template-columns: 1fr; gap: 14px; }
    .qm-vault-filters{ overflow-x: auto; flex-wrap: nowrap; }
    .qm-filter-chip{ flex-shrink: 0; }
    .qm-section-head{ flex-direction: column; align-items: flex-start !important; gap: 12px; }
}

@media (max-width: 480px){
    .qm-welcome-text h3{ font-size: 17px; }
    .qm-welcome-text p{ font-size: 12.5px; }
    .qm-noworkspace{ padding: 40px 20px; }
    .qm-noworkspace h3{ font-size: 19px; }
    .stat-card .stat-icon{ width: 30px; height: 30px; font-size: 12px; top: 14px; right: 14px; }
    .stat-card h5{ padding-right: 40px; font-size: 11px !important; }
}

/* ===== Kanban thumb radius fix (match parent) ===== */
.kanban-card .kanban-card-thumb{
    border-radius: 8px 8px 0 0 !important;
    overflow: hidden;
}
.kanban-card{ overflow: hidden; }

/* ============================================================
   QM CLIENT PORTAL · v5 FIXES (header leak + button sizing)
   Loaded last so these rules win over everything above.
   Targets reported issues:
     · "Navigation bar is leaking"  → dashboard header was inheriting
        marketing-site .transparent-header (position: absolute; top: 30px),
        so the tab nav, setup banner & welcome banner rendered UNDER it.
        Fix: dock the dashboard header back into normal flow.
     · "Buttons are big" → tighten .qm-btn-block, asset-card actions,
        section-action buttons; trim AI audit button + connect cards.
     · Various small CSS bugs (mobile section padding, vault row stacking,
        scroll offset for sticky tab nav).
   ============================================================ */

/* ---- 1. Dock the dashboard header (kill the "leak") ---- */
html{ scroll-padding-top: 110px; }   /* anchored scrolls clear sticky tab nav */

.dashboard-body .qm-dashboard-header{
    position: relative !important;   /* override .transparent-header { position: absolute } */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(14,15,17,0.94) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--qm-divider, rgba(255,255,255,0.08));
    padding: 12px 0 8px !important;
    z-index: 60;
}
/* The container inside the header still uses fluid padding */
.dashboard-body .qm-dashboard-header .container-fluid{ padding-left: 30px; padding-right: 30px; }
@media (max-width: 768px){
    .dashboard-body .qm-dashboard-header .container-fluid{ padding-left: 16px; padding-right: 16px; }
    .dashboard-body .qm-dashboard-header{ padding: 10px 0 6px !important; }
}

/* The sticky tab nav now sits cleanly below the header */
.qm-tab-nav{ margin-top: 0; }

/* Setup banner spacing so it doesn't kiss the header */
#qmSetupBanner{ margin-top: 4px; }

/* The dashboard main no longer needs the old top padding compensating
   for an absolute header. Trim it slightly so the welcome banner
   doesn't sit miles below the tab ribbon. */
.dashboard-body .qm-dashboard-main{ padding: 18px 0 80px !important; }

/* ---- 2. Button sizing (fix "buttons are big") ---- */

/* Block buttons used in connect cards, settings, AI panel: was 13px all around. */
.qm-btn-primary.qm-btn-block,
.qm-btn-secondary.qm-btn-block{
    padding: 11px 18px !important;
    font-size: 13px !important;
    border-radius: 10px;
}

/* Section-head action buttons (e.g. New Project, Provision Account, Refresh) */
.qm-section-actions .qm-btn-primary,
.qm-section-actions .qm-btn-secondary{
    padding: 9px 16px;
    font-size: 13px;
}

/* Asset-card actions: column-stacked buttons looked chunky inside a 280px card.
   Tighten padding & font-size so two buttons fit nicely without dominating. */
.qm-asset-actions{ padding: 10px 14px 14px !important; gap: 6px !important; }
.qm-asset-actions .qm-btn-primary,
.qm-asset-actions .qm-btn-secondary,
.qm-asset-actions .qm-btn-ghost,
.qm-asset-actions .qm-btn-block{
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    border-radius: 8px !important;
    min-height: 0;
    line-height: 1.2;
}
.qm-asset-actions .qm-btn-primary i,
.qm-asset-actions .qm-btn-secondary i,
.qm-asset-actions .qm-btn-ghost i{ font-size: 11px; }

/* Vault uploader "Add to Vault" button — keep visually balanced with the inputs */
#processAssetBtn{ padding: 10px 16px; font-size: 13px; }

/* AI audit button — primary CTA but trimmed */
#runAuditBtn{ padding: 12px 20px !important; font-size: 13.5px !important; }

/* ---- 3. Mobile / dense layout fixes ---- */

/* Section padding was 40px on every side — too tight on phones. */
.dashboard-section{ padding: 24px 0 !important; }
@media (max-width: 768px){
    .dashboard-section{ padding: 16px 0 !important; }
}

/* Vault uploader row: title + drive + button overflowed on narrow screens.
   Let inputs flex-shrink and the button wrap to its own row when needed. */
.qm-vault-row{ flex-wrap: wrap; gap: 10px; }
.qm-vault-row .qm-vault-input{ flex: 1 1 220px; min-width: 0; }
.qm-vault-row > button{ flex: 0 0 auto; }

/* Welcome banner: tighten top margin so it sits closer to the tab nav */
.qm-welcome-banner{ margin-top: 16px !important; }

/* Tab nav button density on tablets (between phone & desktop) */
@media (min-width: 769px) and (max-width: 1100px){
    .qm-tab-btn{ padding: 9px 14px; font-size: 12.5px; }
}

/* ---- 4. Workspace picker: don't let it shove the profile icon off-screen ---- */
.qm-workspace-picker{ max-width: 320px; min-width: 0; }
.qm-workspace-picker select{ min-width: 0; max-width: 100%; }
@media (max-width: 768px){
    .qm-workspace-picker{ display: none !important; }   /* admin can switch via Operators tab on mobile */
}

/* ---- 5. Stat-card icon: don't bleed over the value on very narrow cards ---- */
.stat-card h2{ padding-right: 50px; }

/* ============================================================
   QM · v6 NAV + CLIENT-PORTAL POLISH
   --------------------------------------------------------------
   Fixes the marketing-site nav looking "huge & unprofessional"
   (CTA was too wide → main menu wrapped to a second line) and
   adds a small polish pass to the client portal forms / tables /
   modals / connect cards.
   ============================================================ */

/* ---- A. Marketing-site nav: keep auth CTA the same footprint as "LETS TALK" ---- */

/* Stop the main menu from wrapping under any circumstance. */
.header-navigation .main-menu > ul{
    flex-wrap: nowrap !important;
    white-space: nowrap;
}
.header-navigation .main-menu > ul > li{ white-space: nowrap; }

/* Lock the auth-state CTA to the original "LETS TALK" pill look.
   No icon, no gradient, no oversize — just the same green button. */
.theme-btn.style-one.qm-nav-authed{
    background-color: var(--primary-color) !important;
    color: var(--heading-color) !important;
    padding: 10px 26px !important;        /* original is 10px 30px; trim a touch */
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background-image: none !important;     /* defeat any gradient overrides */
    box-shadow: none !important;
}
.theme-btn.style-one.qm-nav-authed .icon{ display: none !important; }   /* drop the trailing arrow */
.theme-btn.style-one.qm-nav-authed:hover{
    background-color: var(--primary-color) !important;
    color: var(--heading-color) !important;
    transform: translateY(-1px);
}

/* On tablets, give the menu a tighter gap so it never threatens to wrap. */
@media (min-width: 992px) and (max-width: 1199px){
    .header-navigation .main-menu ul > li{ margin-right: 18px !important; }
    .header-navigation .main-menu ul > li:last-child{ margin-right: 0 !important; }
    .theme-btn.style-one{ padding: 9px 22px !important; font-size: 13px !important; }
}

/* ---- B. Client portal · form input polish ---- */

/* Make every dashboard input + select feel like one family.
   .form_control is the bootstrap-style class reused across the dashboard. */
.dashboard-body .form_control,
.dashboard-body input.form_control,
.dashboard-body select.form_control,
.dashboard-body textarea.form_control{
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid var(--qm-divider) !important;
    color: var(--white-color) !important;
    border-radius: 10px !important;
    padding: 11px 14px !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 42px;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
    font-family: inherit;
}
.dashboard-body .form_control::placeholder{
    color: rgba(255,255,255,0.30) !important;
    font-weight: 400;
}
.dashboard-body .form_control:focus{
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(156,254,79,0.45) !important;
    box-shadow: 0 0 0 3px rgba(156,254,79,0.10) !important;
    outline: none !important;
}
.dashboard-body select.form_control{
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CFE4F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 12px;
    padding-right: 36px !important;
}
.dashboard-body .portal-form-group label,
.dashboard-body .qm-form-group label{
    display: block;
    color: var(--text-color);
    font-size: 11px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

/* ---- C. Connect / settings cards: tighter, more uniform ---- */
.qm-connect-card,
.qm-settings-grid .qm-connect-card{
    background: var(--qm-card-bg, #15171a);
    border: 1px solid var(--qm-divider);
    border-radius: var(--qm-radius, 14px);
    padding: 22px;
    box-shadow: var(--qm-shadow-soft, 0 8px 24px rgba(0,0,0,0.35));
}
.qm-connect-card h4{
    color: var(--white-color);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.qm-connect-card h4 i{ font-size: 16px; }
.qm-connect-card .qm-connect-hint,
.qm-connect-card p.qm-connect-hint{
    color: var(--text-color);
    font-size: 12.5px;
    line-height: 1.55;
    margin: 0 0 16px;
}
.qm-connect-card .qm-connect-hint code{
    background: rgba(255,255,255,0.05);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11.5px;
    color: var(--white-color);
}
.qm-connect-card .qm-connect-hint a{
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dashed rgba(156,254,79,0.40);
}
.qm-connect-card .qm-connect-hint a:hover{ color: var(--primary-color); border-bottom-color: var(--primary-color); }
.qm-connect-card .qm-form-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}
@media (max-width: 640px){
    .qm-connect-card .qm-form-grid{ grid-template-columns: 1fr; }
}
.qm-connect-grid,
.qm-settings-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

/* ---- D. Tables (Operators & Clients) ---- */
.qm-table-wrap{
    background: var(--qm-card-bg, #15171a);
    border: 1px solid var(--qm-divider);
    border-radius: var(--qm-radius, 14px);
    padding: 20px 22px;
    overflow-x: auto;
    box-shadow: var(--qm-shadow-soft, 0 8px 24px rgba(0,0,0,0.35));
}
.qm-table-wrap > h4{
    color: var(--white-color);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.qm-users-table{
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}
.qm-users-table th{
    color: var(--text-color);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 12px 14px;
    border-bottom: 1px solid var(--qm-divider);
    text-align: left;
    background: rgba(255,255,255,0.02);
}
.qm-users-table td{
    color: var(--white-color);
    font-size: 13px;
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
}
.qm-users-table tbody tr:hover{ background: rgba(255,255,255,0.02); }
.qm-users-table tbody tr:last-child td{ border-bottom: none; }

/* ---- E. Modals: cap width and pad consistently ---- */
.qm-modal-overlay .qm-modal,
.qm-modal-overlay > div{
    max-width: min(560px, calc(100vw - 32px));
    width: 100%;
}
.qm-modal-overlay{ padding: 16px; }
@media (max-width: 480px){
    .qm-modal-overlay{ padding: 8px; }
}

/* ---- F. Toast stack: don't get cropped on mobile ---- */
@media (max-width: 480px){
    .qm-toast-stack, #qmToastStack{ left: 12px !important; right: 12px !important; bottom: 12px !important; }
    .qm-toast{ max-width: 100% !important; }
}

/* ---- G. Profile dropdown: keep it within viewport on small screens ---- */
@media (max-width: 480px){
    .qm-profile-dropdown{
        position: fixed !important;
        top: 64px !important;
        right: 8px !important;
        left: 8px !important;
        width: auto !important;
        max-width: none !important;
    }
}

/* ---- H. Welcome banner role pill: bigger tap target on mobile ---- */
@media (max-width: 480px){
    .qm-welcome-pill{ font-size: 10.5px; padding: 6px 12px; }
}

