
/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

:root {
  --background-color: #ffffff;
  --default-color: #223440;
  --heading-color: #223440;
  --accent-color: #559bcc;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --btn-color: #f81b70;
}

:root {
  --nav-color: rgba(255, 255, 255, 1);
  --nav-hover-color: rgba(255, 255, 255, 0.7);
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #223440;
  --nav-dropdown-hover-color: #559bcc;
}

.light-background {
  --background-color: #f1f3f8;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #223440;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #223440;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}

body {
  color: var(--default-color);
  background:
    radial-gradient(circle at top left, rgba(85, 155, 204, 0.16), transparent 22%),
    radial-gradient(circle at top right, rgba(248, 27, 112, 0.12), transparent 18%),
    linear-gradient(180deg, #020617 0%, #0f172a 22%, #111827 100%);
  background-color: #0f172a;
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(15, 23, 42, 0.78);
  --default-color: #e2e8f0;
  --heading-color: #f8fafc;
  color: var(--default-color);
  background: var(--background-color);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  transition: all 0.35s ease;
  min-height: 84px;
  z-index: 997;
}

.qc-header-shell {
  min-height: 84px;
  width: 100%;
  gap: 18px;
  padding-inline: 0;
}

.header .logo {
  line-height: 1;
  gap: 12px;
}

.header .logo img {
  max-height: 38px;
  margin-right: 0;
  display: block;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  letter-spacing: -0.03em;
}

.qc-logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(85, 155, 204, 0.26), rgba(248, 27, 112, 0.24));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.28);
  overflow: hidden;
}

.qc-brand-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qc-brand-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.qc-user-greeting-item {
  margin-right: 4px;
}

.qc-user-greeting {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.qc-nav-surface {
  position: relative;
}

.qc-nav-chip {
  min-height: 42px;
  padding: 0 14px !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.28);
  color: #f8fafc !important;
  gap: 10px;
}

.qc-nav-chip:hover,
.qc-nav-surface:hover > .qc-nav-chip {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.34);
}

.qc-nav-chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(85, 155, 204, 0.26), rgba(248, 27, 112, 0.24));
  color: #f8fafc;
}

.qc-header-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px !important;
  border-radius: 999px;
  background: linear-gradient(135deg, #559bcc, #f81b70);
  color: #ffffff !important;
  box-shadow: 0 18px 35px rgba(2, 6, 23, 0.28);
}

.qc-header-cta:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #669fd1, #fb4d93);
}

.qc-dropdown-action {
  display: block;
  width: 100%;
  padding: 10px 20px;
  font-size: 15px;
  color: #e2e8f0;
  background: transparent;
  border: 0;
  text-align: center;
  cursor: pointer;
}

.qc-dropdown-action:hover,
.qc-dropdown-action:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}

.scrolled .header {
  --background-color: rgba(15, 23, 42, 0.92);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.22);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu {
    display: flex;
    align-items: center;
    padding: 0;
  }

  .navmenu ul {
    line-height: 1;
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 10px;
  }

  .navmenu li {
    position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--default-color);
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    transition: 0.3s;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--heading-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.98);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 0;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 18px;
    z-index: 99;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.3);
  }

  .navmenu .dropdown ul li {
    min-width: 220px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: #e2e8f0;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

@media (max-width: 1199px) {
  .qc-header-shell {
    min-height: 78px;
    padding-inline: 0;
  }

  .navmenu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    z-index: 9997;
  }

  .navmenu::before {
    content: none;
  }

  .qc-user-greeting {
    display: none;
  }

  .qc-logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .mobile-nav-toggle {
    appearance: none;
    -webkit-appearance: none;
    color: #f8fafc;
    line-height: 1;
    margin: 0;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s;
    width: auto;
    height: auto;
    flex: 0 0 auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .mobile-nav-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 6px;
  }

  .mobile-nav-toggle-icon {
    font-size: 22px;
    line-height: 1;
    display: block;
  }

  .navmenu > ul {
    display: none;
    list-style: none;
    position: fixed;
    top: 88px;
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(calc(100vw - 24px), 360px);
    max-height: calc(100vh - 120px);
    padding: 14px 0;
    margin: 0;
    transform: translate(-50%, -10px);
    border-radius: 24px;
    background-color: rgba(15, 23, 42, 0.98);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 9998;
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.34);
  }

  .navmenu > ul > li {
    display: block;
    width: 100%;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #f8fafc;
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu .dropdown > a,
  .navmenu .dropdown > a:focus {
    width: 100%;
    border-radius: 16px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: rgba(255, 255, 255, 0.08);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: rotate(180deg);
  }

  .navmenu .dropdown > ul {
    position: static;
    display: none;
    width: auto;
    max-height: none;
    margin: 8px 16px 0;
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 99;
    padding: 8px 0;
    background-color: rgba(30, 41, 59, 1);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    box-shadow: none;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown > ul li {
    min-width: 0;
  }

  .navmenu .dropdown > ul a,
  .navmenu .dropdown > ul a:focus,
  .navmenu .dropdown > ul .qc-dropdown-action {
    padding: 11px 16px;
    font-size: 15px;
  }

  .navmenu .dropdown > ul ul {
    background-color: rgba(15, 23, 42, 0.55);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(255, 255, 255, 0.02);
  }

  .navmenu .dropdown > a.active,
  .navmenu .dropdown > a.active:focus {
    background: rgba(255, 255, 255, 0.08);
  }

  .qc-nav-chip,
  .qc-header-cta {
    min-height: 0;
    padding: 12px 20px !important;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #f8fafc !important;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #f8fafc;
    position: fixed;
    top: 28px;
    right: 16px;
    z-index: 10000;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    overflow: visible;
    background: rgba(2, 6, 23, 0.58);
    backdrop-filter: blur(8px);
    transition: background 0.25s ease;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: #e2e8f0;
  background:
    radial-gradient(circle at top left, rgba(85, 155, 204, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(248, 27, 112, 0.2), transparent 30%),
    linear-gradient(135deg, #020617, #0f172a 48%, #111827);
  font-size: 14px;
  text-align: center;
  padding: 72px 0 28px;
}

.footer-shell {
  position: relative;
}

.footer h3 {
  font-size: 28px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0;
}

.footer p {
  font-size: 15px;
  font-style: normal;
  line-height: 1.8;
  color: #cbd5e1;
  padding: 0;
  margin: 0 0 24px 0;
}

.footer-brand-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
}

.footer-brand-logo img {
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.footer-eyebrow {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
}

.footer-app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.footer-store-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.footer-store-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.footer-store-link.apple {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.footer-store-link.google {
  background: linear-gradient(135deg, rgba(239, 120, 1, 0.22), rgba(255, 255, 255, 0.08));
}

.footer-link-group {
  padding-top: 10px;
}

.footer-link-group h6 {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
}

.footer-link-group a {
  display: block;
  margin-bottom: 12px;
  color: #e2e8f0;
  font-size: 15px;
}

.footer-link-group a:hover {
  color: #ffffff;
}

.footer-note {
  display: block;
  margin-top: 10px;
  color: #94a3b8;
  line-height: 1.7;
}

.footer .social-links {
  margin: 0;
  gap: 10px;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  line-height: 1;
  margin: 0;
  border-radius: 50%;
  text-align: center;
  width: 42px;
  height: 42px;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .social-links .pinterest {
  background: rgba(230, 0, 35, 0.22);
}

.footer .social-links a:hover {
  background: rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

.footer .copyright {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

@media (max-width: 767px) {
  .header .logo h1 {
    font-size: 20px;
  }

  .qc-brand-kicker {
    font-size: 10px;
  }

  .footer {
    padding-top: 56px;
  }

  .footer-brand-card {
    padding: 22px;
  }

  .footer-brand-top {
    align-items: flex-start;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

@media screen and (max-width: 768px) {
  .page-title {
    padding: 80px 0 20px 0;
  }

  .page-title h1 {
    font-size: 24px;
    font-weight: 700;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 80vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 10px 0;
  font-size: 20px;
  font-weight: 400;
}

.hero .download-btn {
  color: var(--contrast-default);
  background: var(--btn-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 30px 10px 30px;
  border-radius: 3px;
  transition: 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .download-btn+.download-btn {
  margin-left: 20px;
}

.hero .download-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.hero .download-btn i {
  font-size: 16px;
  line-height: 0;
  margin-right: 8px;
}

.hero .hero-img {
  position: relative;
  min-height: 600px;
}

.hero .hero-img .phone-1 {
  margin-top: 20px;
  position: absolute;
  left: 0;
  box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.5);
  border-radius: 30px;
  width: 250px;
}

.hero .hero-img .phone-2 {
  position: absolute;
  left: 0;
  box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.5);
  border-radius: 30px;
  width: 250px;
  margin-top: 70px;
  margin-left: 100px;
}

@media screen and (max-width: 992px) {
  .hero .hero-img {
    text-align: center;
    overflow: hidden;
    min-height: 600px;
  }

  .hero .hero-img .phone-1,
  .hero .hero-img .phone-2 {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .hero .hero-img {
    text-align: center;
    overflow: hidden;
    min-height: 440px;
  }

  .hero .hero-img .phone-1 {
    width: 180px;
    margin-top: 0px;
    left: 38%;
    transform: translateX(-50%);
  }
  .hero .hero-img .phone-2 {
    margin-top: 50px;
    width: 180px;
    left: 38%;
    transform: translateX(-50%);
  }

  .hero h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .download-btn {
    font-size: 14px;
    padding: 8px 20px 10px 20px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  padding: 10px 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
  border-radius: 7px;
  display: inline-block;
}

.about .content h2 {
  font-weight: 700;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

.about .icon-box {
  background-color: var(--surface-color);
  padding: 50px 40px;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease-out 0s;
}

.about .icon-box i {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 0;
  transition: all 0.4s ease-out 0s;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.about .icon-box h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
}

.about .icon-box p {
  margin-bottom: 0;
}

.about .icon-box:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.about .icon-boxes .col-md-6:nth-child(2) .icon-box,
.about .icon-boxes .col-md-6:nth-child(4) .icon-box {
  margin-top: -40px;
}

@media (max-width: 768px) {

  .about .icon-boxes .col-md-6:nth-child(2) .icon-box,
  .about .icon-boxes .col-md-6:nth-child(4) .icon-box {
    margin-top: 0;
  }
}

/*--------------------------------------------------------------
# Featured Section
--------------------------------------------------------------*/
.featured .card {
  background-color: var(--surface-color);
  color: var(--default-color);
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0;
  margin-bottom: 20px;
  border: 0;
  height: 100%;
  position: relative;
}

.featured .card .img {
  position: relative;
  padding: 20px 20px 0 20px;
}

.featured .card .icon {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color) 10%, white 100%);
  border: 4px solid var(--background-color);
  width: 72px;
  height: 72px;
  text-align: center;
  position: absolute;
  border-radius: 50%;
  left: calc(50% - 32px);
  bottom: -36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 0;
  transition: 0.3s;
}

.featured .card:hover .icon {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.featured .card h2 {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  padding: 0;
  margin: 50px 0 12px 0;
}

.featured .card h2 a {
  color: var(--heading-color);
}

.featured .card h2 a:hover {
  color: var(--accent-color);
}

.featured .card p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  padding: 0 30px 30px 30px;
}

/*--------------------------------------------------------------
# Cards Section
--------------------------------------------------------------*/
.cards .steps-img img {
  max-width: 575px;
}

@media (max-width: 575px) {
  .cards .steps-img img {
    max-width: 100%;
  }
}

.cards .card-item {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 50px 30px;
  transition: all ease-in-out 0.3s;
  height: 100%;
  position: relative;
}

.cards .card-item span {
  color: var(--accent-color);
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.cards .card-item h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
}

.cards .card-item h4 a {
  color: var(--heading-color);
}

.cards .card-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  padding: 0;
}

.cards .card-item:hover {
  background: var(--accent-color);
  padding: 30px 30px 70px 30px;
}

.cards .card-item:hover span,
.cards .card-item:hover h4 a,
.cards .card-item:hover p {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.features .features-item+.features-item {
  margin-top: 100px;
}

@media (max-width: 640px) {
  .features .features-item+.features-item {
    margin-top: 40px;
  }
}

.features .features-item h3 {
  font-weight: 700;
  font-size: 26px;
}

.features .features-item ul {
  list-style: none;
  padding: 0;
}

.features .features-item ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.features .features-item ul li:last-child {
  padding-bottom: 0;
}

.features .features-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .features-item p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
  overflow: hidden;
}

.gallery .swiper-wrapper {
  height: auto;
}

.gallery .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.gallery .swiper-pagination .swiper-pagination-bullet {
  background-color: var(--background-color);
  border: 1px solid var(--accent-color);
  width: 12px;
  height: 12px;
  opacity: 1;
}

.gallery .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.gallery .swiper-slide-active {
  text-align: center;
}

@media (min-width: 992px) {
  .gallery .swiper-wrapper {
    padding: 60px 0;
  }

  .gallery .swiper-slide-active {
    background: var(--background-color);
    border: 6px solid var(--accent-color);
    padding: 4px;
    z-index: 1;
    transform: scale(1.1);
    border-radius: 25px;
    transition: none;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--btn-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
  background: #1c4097;
  color: var(--contrast-color);
}

.pricing .advanced {
  background: var(--btn-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.img-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Optional gap between images */
  justify-content: center;
}
.img-grid img {
  height: 300px; /* Fixed height */
  object-fit: cover; /* Maintain aspect ratio */
  width: auto; /* Variable width */
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}
.img-grid img:hover {
  transform: scale(1.05);
}
.img-title {
  margin-top: 10px;
  font-size: 16px;
  text-align: center;
}
.img-container {
  padding: 10px;
  cursor: pointer;
}

.gradient-text {
  background: linear-gradient(to left, #00FFFF 0%, #00FF00 50%, #00FFFF 100%);
  font-weight: 600;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mobile */
@media (max-width: 768px) {
  .img-grid img {
    height: auto; /* Fixed height */
    object-fit: cover; /* Maintain aspect ratio */
    width: 100%; /* Variable width */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
  }

  .img-container {
    padding: 5px;
  }
}


.category-grid {
  display: flex;
  flex-wrap: wrap;
  min-height: 50vh;
  gap: 10px; /* Optional gap between images */
  justify-content: center;
}

.category-item {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 10px;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  color: #FFFFFF;
  transition: transform 0.3s ease-in-out;
}

/* Mobile */
@media (max-width: 768px) {
  .category-item {
    position: relative;
    width: 100%;
  }
}

.category-item:hover {
  transform: scale(1.05);
  text-shadow: 0 0 100px #000000;
}

.category-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.category-item .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.custom-btn {
  color: white;
  background: var(--btn-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 30px 10px 30px;
  border-radius: 3px;
  transition: 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hide {
  display: none;
}

.progress-indeterminate {
  margin: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 7px solid #eee; /* Background circle */
  border-top: 7px solid #4caf50; /* The progress color */
  animation: rotate 1s linear infinite;
}

.strike {
  text-decoration: line-through;
}

.topmost {
  margin-top: 90px;
}

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

pre {
  font-family: var(--default-font);
  white-space: pre-wrap;       /* Since CSS 2.1 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

.social-link {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.social-link:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.pinterest {
  background: #E60023;
}

/*
Pagination
*/

.pagination > li > a
{
    background-color: white;
    color: #1c4097;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover
{
    color: #1c4097;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a
{
    color: white;
    background-color: #1c4097;
    border: solid 1px #1c4097;
}

.bg-grad {
	background: linear-gradient(-45deg, #fbe3db, #fadae6, #d9f3fd, #d2fbf2);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
}

.btn-bg-grad {
  background: rgb(0,129,255);
  background: linear-gradient(145deg, rgba(0,129,255,1) 0%, rgba(237,14,127,1) 100%);
}

.btn-bg-grad:hover {
  background: rgb(0,129,255);
  background: linear-gradient(45deg, rgba(0,129,255,1) 0%, rgba(237,14,127,1) 100%);
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.hand {
	cursor: pointer;
}

/* Quotes Creator */

/* ── Sub-nav bar ────────────────────────────────────────── */
.qc-subnav {
  height: 48px;
  background: rgba(15, 23, 42, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}

.qc-subnav::-webkit-scrollbar { display: none; }

.qc-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}

.qc-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.qc-tab.active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.qc-getapp-btn {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  padding: 5px 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.qc-getapp-btn:hover {
  background: linear-gradient(135deg, #559bcc, #f81b70);
  border-color: transparent;
  color: #fff;
}

.menu{
  background-color: transparent;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

/* ── Quote Grid ─────────────────────────────────────────── */
#gridview {
  padding: 16px 8px;
}

.qc-profile-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 12px 0;
}

.qc-profile-card {
  margin: 0 auto 18px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(85, 155, 204, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.qc-profile-card-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.qc-profile-avatar-wrap {
  flex-shrink: 0;
}

.qc-profile-avatar {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  object-fit: cover;
  display: block;
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.24);
}

.qc-profile-avatar-fallback {
  background: linear-gradient(135deg, rgba(85, 155, 204, 0.26), rgba(248, 27, 112, 0.24));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
}

.qc-profile-main {
  min-width: 0;
  text-align: left;
}

.qc-profile-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #93c5fd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.qc-profile-name {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #f8fafc;
  line-height: 1.05;
}

.qc-profile-description {
  margin: 0;
  max-width: 720px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.7;
}

.qc-profile-description-muted {
  color: #94a3b8;
}

.qc-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.qc-profile-stat {
  padding: 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.qc-profile-stat strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
}

.qc-profile-stat span {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qc-profile-empty {
  margin: 0 auto 8px;
  padding: 0 16px 10px;
  color: #cbd5e1;
  font-size: 1rem;
  text-align: center;
}

.qc-page-heading {
  font-size: 1.5rem;
  color: #f8fafc;
  text-shadow: 0 10px 30px rgba(2, 6, 23, 0.4);
}

.qc-legal-shell {
  position: relative;
  padding: clamp(28px, 4vw, 52px) 16px clamp(48px, 7vw, 88px);
  background:
    radial-gradient(circle at top left, rgba(85, 155, 204, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(248, 27, 112, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.06), transparent 22%);
}

.qc-legal-wrap {
  width: min(100%, 980px);
  margin: 0 auto;
}

.qc-legal-hero {
  margin-bottom: 22px;
  text-align: center;
}

.qc-legal-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qc-legal-title {
  margin: 16px 0 10px;
  color: #f8fafc;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.qc-legal-subtitle {
  margin: 0 auto;
  width: min(100%, 720px);
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
}

.qc-legal-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.28);
}

.qc-legal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%);
  pointer-events: none;
}

.qc-legal-prose {
  position: relative;
  color: #dbe4f0;
  font-size: 0.98rem;
  line-height: 1.9;
}

.qc-legal-prose > :first-child {
  margin-top: 0;
}

.qc-legal-prose a {
  color: #8cc8ff;
  text-decoration: none;
}

.qc-legal-prose a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.qc-legal-prose b,
.qc-legal-prose strong,
.qc-legal-prose h3 {
  color: #f8fafc;
}

.qc-legal-prose h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.2rem;
}

.qc-legal-prose div,
.qc-legal-prose p,
.qc-legal-prose li {
  color: inherit;
}

@media (max-width: 767px) {
  .qc-legal-shell {
    padding: 20px 12px 44px;
  }

  .qc-legal-card {
    border-radius: 22px;
    padding: 20px 16px;
  }

  .qc-legal-prose {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}

.qc-settings-shell {
  padding: clamp(28px, 5vw, 56px) 16px clamp(44px, 8vw, 84px);
}

.qc-settings-wrap {
  width: min(100%, 760px);
  margin: 0 auto;
}

.qc-settings-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 40px);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(85, 155, 204, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.26);
}

.qc-settings-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qc-settings-title {
  margin: 16px 0 10px;
  color: #f8fafc;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.qc-settings-subtitle {
  margin: 0 0 24px;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
}

.qc-settings-field {
  display: grid;
  gap: 10px;
}

.qc-settings-label {
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 600;
}

.qc-settings-card .bootstrap-select {
  width: 100% !important;
}

.qc-settings-card .bootstrap-select > .dropdown-toggle {
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
  box-shadow: none !important;
}

.qc-settings-card .bootstrap-select .filter-option {
  display: flex;
  align-items: center;
  color: #e2e8f0;
}

.qc-settings-card .bootstrap-select .dropdown-toggle:focus,
.qc-settings-card .bootstrap-select > .dropdown-toggle:hover {
  border-color: rgba(140, 200, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.qc-settings-card .bootstrap-select .dropdown-menu {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.32);
  overflow: hidden;
}

.qc-settings-card .bootstrap-select .dropdown-item {
  color: #e2e8f0;
}

.qc-settings-card .bootstrap-select .dropdown-item:hover,
.qc-settings-card .bootstrap-select .dropdown-item:focus,
.qc-settings-card .bootstrap-select .selected .dropdown-item {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.qc-settings-actions {
  margin-top: 28px;
}

.qc-settings-save {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #559bcc, #f81b70);
  border: 0;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 35px rgba(2, 6, 23, 0.28);
}

.qc-settings-save:hover,
.qc-settings-save:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #669fd1, #fb4d93);
}

@media (max-width: 767px) {
  .qc-settings-shell {
    padding: 20px 12px 44px;
  }

  .qc-settings-card {
    padding: 22px 16px;
    border-radius: 22px;
  }
}

/* Masonry-style flex grid */
#gridview-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

div.image {
  margin: 10px;
  display: inline-block;
  cursor: pointer;
  vertical-align: top;
}

/* ── Quote Card ─────────────────────────────────────────── */
.qc-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: inline-block;
  vertical-align: top;
}

.qc-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

.qc-post-shell {
  width: min(1360px, 100%);
  margin: clamp(14px, 3vw, 32px) auto 48px;
  padding-inline: clamp(12px, 4vw, 44px);
  box-sizing: border-box;
}

.qc-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.qc-post-primary,
.qc-post-sidebar {
  min-width: 0;
}

.qc-post-sidebar {
  display: grid;
  gap: 20px;
}

.qc-post-detail-card,
.qc-side-panel {
  background: rgba(10, 16, 32, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.qc-post-detail-card {
  overflow: hidden;
}

.qc-post-detail-header,
.qc-post-detail-body,
.qc-side-panel {
  padding: 22px;
}

.qc-post-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.qc-post-detail-author {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.qc-post-detail-avatar {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff8f4c, #ff4f6d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.qc-post-detail-author-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.qc-post-detail-kicker,
.qc-side-panel-kicker {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.qc-post-detail-name {
  color: #f8fbff;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qc-post-detail-name:hover,
.qc-comment-author:hover {
  color: #ffad74;
}

.qc-post-detail-date {
  color: rgba(229, 237, 248, 0.65);
  font-size: 0.82rem;
}

.qc-post-detail-stage {
  margin: 0 22px;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 141, 76, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.qc-post-detail-image {
  width: 100%;
  display: block;
  border-radius: 22px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.qc-post-detail-body {
  display: grid;
  gap: 22px;
}

.qc-post-detail-actions,
.qc-post-detail-tags,
.qc-post-recommendations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qc-post-detail-actions {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.qc-post-detail-actions::-webkit-scrollbar {
  display: none;
}

.qc-post-detail-action {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #edf2f9;
  flex: 0 0 auto;
  white-space: nowrap;
}

.qc-post-detail-action:hover {
  background: rgba(255, 143, 76, 0.18);
  color: #fff;
}

.qc-post-detail-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(245, 248, 252, 0.82);
}

.qc-side-panel {
  display: grid;
  gap: 18px;
}

.qc-side-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.qc-side-panel-head-stack {
  align-items: end;
}

.qc-side-panel-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #ff8f4c, #ff4f6d);
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
}

.qc-side-panel-btn:disabled {
  opacity: 0.7;
}

.qc-comment-list {
  display: grid;
  gap: 12px;
}

.qc-comment-row {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.qc-comment-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: rgba(236, 243, 251, 0.82);
  line-height: 1.6;
}

.qc-comment-author {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.qc-comment-date,
.qc-comment-empty {
  color: rgba(217, 226, 238, 0.62);
}

.qc-comment-date {
  font-size: 0.82rem;
}

.qc-comment-empty {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

@media screen and (max-width: 1100px) {
  .qc-post-layout {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 845px) {
  .qc-post-shell {
    width: 100%;
    margin: 10px auto 36px;
    padding-inline: 10px;
  }

  .qc-post-detail-card,
  .qc-side-panel {
    border-radius: 22px;
  }

  .qc-post-detail-header,
  .qc-post-detail-body,
  .qc-side-panel {
    padding: 18px;
  }

  .qc-post-detail-header {
    align-items: center;
    flex-wrap: nowrap;
  }

  .qc-side-panel-head {
    flex-direction: column;
    align-items: stretch;
  }

  .qc-post-detail-stage {
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .qc-post-detail-image {
    border-radius: 0;
  }

  .qc-post-detail-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 21px;
  }

  .qc-post-detail-name {
    white-space: normal;
  }

  .qc-side-panel-btn {
    justify-content: center;
    width: 100%;
  }

  .qc-post-detail-action {
    justify-content: center;
    width: auto;
  }

  .qc-post-recommendations > div {
    width: 88px !important;
    flex: 0 0 88px;
    margin: 0 !important;
  }
}

/* Card header */
.qc-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  min-height: 56px;
}

.qc-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), var(--btn-color));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
}

.qc-author {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.qc-follow-btn {
  flex-shrink: 0;
  border: 1.5px solid var(--accent-color);
  background: transparent;
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.qc-follow-btn:hover,
.qc-follow-btn.following {
  background: var(--accent-color);
  color: #fff;
}

/* Card image */
.postimg {
  border: none;
  cursor: pointer;
  object-fit: contain;
  background-color: #f0f0f0;
  display: block;
}

/* Card footer */
.qc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  min-height: 50px;
  border-top: 1px solid #f3f3f3;
}

.qc-actions {
  display: flex;
  gap: 4px;
}

.qc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  font-size: 13px;
  padding: 5px 8px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}

.qc-action-btn:hover {
  background: #f5f5f5;
  color: var(--accent-color);
}

.qc-action-btn i {
  font-size: 15px;
}

.qc-post-detail-action,
.qc-post-detail-action span,
.qc-post-detail-action i {
  color: #edf2f9;
}

.qc-post-detail-action:hover,
.qc-post-detail-action:hover span,
.qc-post-detail-action:hover i {
  color: #ffffff;
}

.qc-meta {
  display: flex;
  align-items: center;
  gap: 4px;
}

.qc-date {
  font-size: 11px;
  color: #aaa;
  user-select: none;
}

/* Like button active state */
.postlikebutton.heartred,
.qc-action-btn .heartred {
  color: #e0245e;
}

.heartred { color: #e0245e; }

.postactionbutton {
  cursor: pointer;
  vertical-align: middle;
  color: #666666;
}

.postdate {
  display: inline-block;
  vertical-align: middle;
  user-select: none;
  font-size: 12px;
  color: #aaaaaa;
  position: relative;
}

/* ── Responsive card widths ─────────────────────────────── */
@media screen and (min-width: 1224px) {
  div.image, .qc-card { width: 380px; }
  .postimg { width: 380px; height: 380px; }
  .qc-author { max-width: 240px; }
  .inpostad {
    display: inline-block; margin: 10px;
    width: 380px; height: 490px;
  }
}

@media screen and (min-width: 1044px) and (max-width: 1224px) {
  div.image, .qc-card { width: 340px; }
  .postimg { width: 340px; height: 340px; }
  .qc-author { max-width: 220px; }
  .inpostad { margin: 10px; width: 340px; height: 420px; }
}

@media screen and (min-width: 845px) and (max-width: 1044px) {
  div.image, .qc-card { width: 300px; }
  .postimg { width: 300px; height: 300px; }
  .qc-author { max-width: 180px; }
  .inpostad { margin: 10px; width: 300px; height: 360px; }
}

@media screen and (max-width: 845px) {
  div.image, .qc-card {
    width: calc(100vw - 24px);
    margin: 8px auto;
  }
  .postimg {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .qc-author { max-width: calc(100vw - 180px); }
  .inpostad {
    display: inline-block; margin: 8px 0;
    width: 100vw; height: 100vw;
  }

  .qc-profile-card {
    padding: 20px 16px;
    border-radius: 24px;
  }

  .qc-profile-card-top {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .qc-profile-main {
    text-align: center;
  }

  .qc-profile-avatar,
  .qc-profile-avatar-fallback {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }

  .qc-profile-stats {
    grid-template-columns: 1fr;
  }
}

/* ── Pagination ─────────────────────────────────────────── */
.qc-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 0 32px;
}

.qc-pagination .btn {
  border-radius: 50px;
  padding: 8px 28px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}

/* ── Categories tile ────────────────────────────────────── */
.qc-categories-tile {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.12);
  padding: 22px 20px;
  max-width: 500px;
  margin: 10px;
  display: inline-block;
  vertical-align: top;
  text-align: left;
  border: 1px solid rgba(85, 155, 204, 0.12);
}

.qc-categories-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.qc-categories-tile h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.qc-categories-tile p {
  margin-bottom: 16px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.qc-category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qc-category-pill {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #eef5fb;
  color: #21262e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.qc-category-pill:hover {
  background: linear-gradient(135deg, #559bcc, #f81b70);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(85, 155, 204, 0.22);
}

.qc-category-pill:hover span {
  color: rgba(255, 255, 255, 0.82);
}

/* ── Misc ───────────────────────────────────────────────── */
.heading {
  padding: 10px 10px;
  border-radius: 2px;
  font-size: 1.5em;
}

#grid { margin-bottom: 30px; }

.pname {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.postprofile { cursor: pointer; }

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Recommended profile card */
.hover-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
}

.hover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.hover-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  flex-direction: column;
  padding: 1rem;
}

.hover-card:hover img {
  opacity: 0.3;
}

.hover-card:hover .overlay {
  opacity: 1;
}

.overlay h5 {
  margin: 0;
  font-size: 1.25rem;
}

.overlay small {
  font-size: 0.9rem;
  opacity: 0.85;
}