/* Code Vibes — unified brand theme overrides */

:root {
  --glorify-base: #2563eb;
  --glorify-base-rgb: 37, 99, 235;
  --glorify-black: #0f172a;
  --glorify-black-rgb: 15, 23, 42;
  --glorify-primary: #f1f5f9;
  --glorify-primary-rgb: 241, 245, 249;
  --glorify-gray: #64748b;
  --glorify-gray-rgb: 100, 116, 139;
  --glorify-secondary: #0ea5e9;
  --glorify-white: #ffffff;
  --glorify-white-rgb: 255, 255, 255;
  --cv-accent: #0ea5e9;
  --cv-dark: #0f172a;
  --cv-muted: #64748b;
  --cv-surface: #f8fafc;
}

body {
  color: var(--cv-dark);
  background: #fff;
}

a {
  transition: color 0.2s ease;
}

/* Logo */
.codevibes-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.codevibes-logo__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.codevibes-logo__mark svg {
  width: 32px;
  height: 32px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.28));
}

.codevibes-logo__text {
  font-family: var(--glorify-font-two);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  color: var(--cv-dark);
  letter-spacing: -0.03em;
}

.codevibes-logo__accent {
  color: var(--glorify-base);
}

/* Compact header */
@media (min-width: 992px) {
  .main-menu__top {
    display: none !important;
  }
}

.main-menu__logo {
  padding: 4px 0 !important;
}

.main-menu__wrapper-inner {
  padding: 0 22px !important;
  min-height: 0 !important;
}

.main-menu__list > li > a {
  font-size: 13px !important;
  padding: 14px 0 !important;
  letter-spacing: 0.05em;
}

.main-menu__list > li + li {
  margin-left: 28px !important;
}

.main-menu__btn-box .thm-btn {
  padding: 8px 16px !important;
  font-size: 13px !important;
}

.main-header .main-menu__wrapper {
  padding: 0 !important;
}

/* Services dropdown caret */
.main-menu .main-menu__list > li.dropdown.cv-services-nav > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 0 !important;
}

.main-menu .main-menu__list > li.dropdown.cv-services-nav > a:after,
.stricky-header .main-menu__list > li.dropdown.cv-services-nav > a:after {
  display: none !important;
}

.cv-nav-caret {
  font-size: 10px;
  line-height: 1;
  opacity: 0.75;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.main-menu .main-menu__list > li.dropdown.cv-services-nav:hover > a .cv-nav-caret,
.stricky-header .main-menu__list > li.dropdown.cv-services-nav:hover > a .cv-nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Services mega menu — JS hover on Services link only (no body accidental open) */
@media (min-width: 992px) {
  /* Kill theme hover-open for services dropdown (theme uses > ul, not our BEM class) */
  .main-menu .main-menu__list > li.cv-services-nav:hover > ul,
  .stricky-header .main-menu__list > li.cv-services-nav:hover > ul,
  .main-menu .main-menu__list > li.cv-services-nav:not(.cv-services-nav--open):hover > ul.cv-services-nav__menu,
  .stricky-header .main-menu__list > li.cv-services-nav:not(.cv-services-nav--open):hover > ul.cv-services-nav__menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(8px) !important;
  }

  .main-menu .main-menu__list > li.cv-services-nav > ul,
  .stricky-header .main-menu__list > li.cv-services-nav > ul,
  .main-menu .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu,
  .stricky-header .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu {
    left: 50%;
    right: auto;
    min-width: 680px;
    max-width: min(920px, calc(100vw - 40px));
    padding: 18px 20px 14px !important;
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12) !important;
    transform: translateX(-50%) translateY(8px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 250 !important;
  }

  .main-menu .main-menu__list > li.cv-services-nav.cv-services-nav--open > ul,
  .stricky-header .main-menu__list > li.cv-services-nav.cv-services-nav--open > ul,
  .main-menu .main-menu__list > li.cv-services-nav.cv-services-nav--open > ul.cv-services-nav__menu,
  .stricky-header .main-menu__list > li.cv-services-nav.cv-services-nav--open > ul.cv-services-nav__menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(calc(-50% + var(--cv-menu-shift, 0px))) translateY(0) !important;
  }

  .main-menu .main-menu__list > li.cv-services-nav > a,
  .stricky-header .main-menu__list > li.cv-services-nav > a {
    cursor: pointer;
  }

  .main-menu .main-menu__list > li.cv-services-nav.cv-services-nav--open > a .cv-nav-caret,
  .stricky-header .main-menu__list > li.cv-services-nav.cv-services-nav--open > a .cv-nav-caret {
    transform: rotate(180deg);
    opacity: 1;
  }

  .main-menu .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col,
  .stricky-header .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col {
    flex: 1 1 31%;
    min-width: 210px;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 12px !important;
  }

  .main-menu .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col > a,
  .stricky-header .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col > a {
    pointer-events: none;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cv-dark) !important;
    padding: 0 0 10px !important;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .main-menu .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col > a:after,
  .main-menu .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col > a::before,
  .stricky-header .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col > a:after,
  .stricky-header .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col > a::before {
    display: none !important;
  }

  .main-menu .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col > ul,
  .stricky-header .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col > ul {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    display: block !important;
    max-height: 240px;
    overflow-y: auto;
  }

  .main-menu .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col > ul > li > a,
  .stricky-header .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col > ul > li > a {
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0;
    text-transform: none;
    padding: 6px 0 !important;
    color: #475569 !important;
  }

  .main-menu .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col > ul > li:hover > a,
  .stricky-header .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__col > ul > li:hover > a {
    color: var(--glorify-base) !important;
    padding-left: 4px !important;
  }

  .main-menu .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__all,
  .stricky-header .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__all {
    flex: 1 1 100%;
    margin-top: 10px;
    padding: 10px 12px 0 !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  .main-menu .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__all > a,
  .stricky-header .main-menu__list > li.cv-services-nav > ul.cv-services-nav__menu > li.cv-services-nav__all > a {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--glorify-base) !important;
    padding: 0 !important;
  }
}

.main-header {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  background: #fff !important;
  position: relative;
  z-index: 200;
}

.stricky-header.stricked-menu.main-menu {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.site-footer .codevibes-logo__text {
  color: #fff;
}

.site-footer .codevibes-logo__text span {
  color: #93c5fd;
}

.main-menu__cart-box,
.main-menu__search-box {
  display: none !important;
}

@media (min-width: 992px) {
  .main-menu__nav-sidebar-icon {
    display: none !important;
  }
}

/* Nav active state */
.main-menu__list > li.current > a,
.main-menu__list > li > a:hover {
  color: var(--glorify-base) !important;
}

/* Buttons — always brand blue */
.thm-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

.thm-btn span {
  background-color: var(--cv-dark) !important;
}

.thm-btn:hover {
  color: #fff !important;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.38);
}

.contact-page__btn-box .thm-btn,
.contact-page__btn-box .thm-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #fff !important;
}

/* Section titles on light backgrounds */
.section-title__title {
  color: var(--cv-dark) !important;
}

.section-title__tagline {
  color: var(--glorify-base) !important;
}

.section-title__tagline-shape {
  background-color: var(--glorify-base) !important;
}

/* Hero — redesigned full-width layout */
.banner-one.cv-hero {
  position: relative;
  min-height: auto !important;
  padding: 64px 0 72px !important;
  background: #0f172a !important;
  overflow: hidden;
  display: block !important;
}

.banner-one.cv-hero .banner-one__bg-box,
.banner-one.cv-hero .banner-one__shape-bg {
  display: none !important;
}

.cv-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  z-index: 0;
}

.cv-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.9) 42%, rgba(30, 58, 138, 0.65) 100%);
  z-index: 1;
}

.cv-hero__row {
  position: relative;
  z-index: 2;
}

.cv-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.cv-hero__title {
  font-size: clamp(1.85rem, 3.8vw, 3rem) !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-transform: none !important;
  letter-spacing: -0.03em;
  margin: 0 0 18px !important;
}

.cv-hero__highlight {
  background: linear-gradient(90deg, #93c5fd 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cv-hero__desc {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 17px;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 28px;
}

.cv-hero__actions {
  margin-bottom: 24px;
}

.cv-hero__btn-outline {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: none !important;
}

.cv-hero__btn-outline:hover {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.cv-hero__tags span {
  font-size: 12px;
  padding: 6px 12px;
}

.cv-hero__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cv-hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 18px 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cv-hero-card:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.45);
}

.cv-hero-card span[class^="icon-"] {
  font-size: 22px;
  color: #93c5fd;
  display: block;
  margin-bottom: 8px;
}

.cv-hero-card h4 {
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
}

.cv-hero-card p {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 991px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }

  .page-wrapper {
    overflow-x: hidden;
  }

  .banner-one.cv-hero {
    padding: 36px 0 44px !important;
  }

  .cv-hero__content {
    text-align: center;
  }

  .cv-hero__desc {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .cv-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 20px;
  }

  .cv-hero__actions .banner-one__btn-box {
    width: 100%;
    margin: 0 !important;
  }

  .cv-hero__actions .thm-btn {
    width: 100%;
    display: block;
    text-align: center;
    min-height: 46px;
    line-height: 1.3;
    padding: 12px 18px !important;
  }

  .platform-tags.cv-hero__tags {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .cv-hero__cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .cv-hero-card {
    padding: 14px 12px;
  }

  .cv-hero-card h4 {
    font-size: 13px !important;
  }

  .cv-marketing-section,
  .cv-ai-section {
    padding: 56px 0 !important;
  }

  .cv-marketing-card,
  .cv-ai-card {
    padding: 22px 18px;
  }

  .page-header__inner {
    padding: 110px 0 90px !important;
  }

  .page-header__inner h3 {
    font-size: 1.75rem !important;
  }

  .service-details__sidebar {
    margin-bottom: 28px;
  }

  .service-details__left {
    padding-bottom: 20px;
  }

  .site-footer__top .row > [class*="col-"] {
    margin-bottom: 28px;
  }

  .footer-widget__links-list {
    margin-bottom: 0;
  }

  .scroll-to-top.show {
    bottom: 88px !important;
    right: 8px;
  }

  .cv-chat-fab {
    bottom: 18px;
    right: 18px;
  }

  .main-menu__wrapper-inner {
    padding: 0 16px !important;
  }

  .main-menu .mobile-nav__toggler {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .cv-hero__title {
    font-size: 1.5rem !important;
  }

  .cv-hero__cards {
    grid-template-columns: 1fr;
  }

  .section-title__title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
  }

  .contact-page__inner {
    padding: 24px 16px !important;
  }

  .contact-page__form .row > [class*="col-"] {
    margin-bottom: 0;
  }

  .cv-chat-popup {
    width: 100% !important;
    right: 0 !important;
    left: 0 !important;
    max-width: 100%;
  }

  .cv-chat-popup .popup-inner {
    padding: 20px 16px 16px !important;
  }

  .cv-chat-popup__topics {
    gap: 6px;
  }

  .cv-chat-topic {
    font-size: 11px;
    padding: 8px 10px;
    min-height: 36px;
  }

  .about-one__img-box {
    margin-bottom: 24px;
  }

  .sliding-text__title {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 575px) {
  .cv-hero__badge {
    font-size: 10px;
    padding: 6px 12px;
  }

  .cv-hero__tags span {
    font-size: 11px;
    padding: 5px 10px;
  }

  .cv-hero__desc {
    font-size: 14px;
  }

  .thm-btn {
    min-height: 44px;
    font-size: 14px !important;
  }

  .cv-stat-card h3 {
    font-size: 32px !important;
  }

  .footer-widget__title {
    font-size: 16px;
  }

  .cv-chat-fab__btn {
    width: 52px;
    height: 52px;
  }
}

/* Legacy hero overrides */
.banner-one {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%) !important;
  min-height: auto;
  display: block;
}

.banner-one__bg-box {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner-one__bg-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 58, 138, 0.75) 50%, rgba(37, 99, 235, 0.55) 100%);
  z-index: 2;
}

.banner-one__inner {
  position: relative;
  z-index: 3;
  padding: 120px 0 100px;
}

.banner-one__text {
  color: rgba(255, 255, 255, 0.9) !important;
}

.banner-one__bg {
  background-size: cover !important;
  background-position: center !important;
}

.banner-one__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(37, 99, 235, 0.55) 55%, rgba(14, 165, 233, 0.35) 100%);
  z-index: 1;
}

.banner-one__inner {
  position: relative;
  z-index: 2;
}

.banner-one__sub-title p {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: #fff !important;
}

/* Hide Elementor kit global colors bleeding into headings */
body.elementor-kit-63 h1,
body.elementor-kit-63 h2,
body.elementor-kit-63 h3,
body.elementor-kit-63 h4,
body.elementor-kit-63 h5,
body.elementor-kit-63 h6 {
  color: inherit;
}

body .banner-one__title,
body .banner-one__title span,
body .cta-one__title,
body .contact-page__form-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.banner-one__title {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.platform-tags span {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
}

/* Page headers — inner pages */
.page-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%) !important;
}

.page-header__bg.cv-page-header-bg {
  opacity: 0.35 !important;
  mix-blend-mode: normal !important;
  background-size: cover !important;
  background-position: center !important;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(37, 99, 235, 0.55));
  z-index: 0;
}

.page-header .container,
.page-header__inner {
  position: relative;
  z-index: 2;
}

body .page-header__inner h3,
body .page-header__inner h3 * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.thm-breadcrumb li,
.thm-breadcrumb li a,
.thm-breadcrumb li span {
  color: rgba(255, 255, 255, 0.85) !important;
}

.thm-breadcrumb li a:hover {
  color: #fff !important;
}

/* CTA section */
.cta-one {
  background: var(--cv-dark) !important;
  position: relative;
}

.cta-one__bg {
  opacity: 0.45 !important;
  background-size: cover !important;
}

.cta-one__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(37, 99, 235, 0.65));
  z-index: 0;
}

.cta-one__inner {
  position: relative;
  z-index: 2;
}

.cta-one__title,
.cta-one__title *,
.cta-one__inner h2,
.cta-one__inner p {
  color: #ffffff !important;
}

.cta-one__inner p {
  opacity: 0.9;
}

/* Contact info cards */
.contact-info__single {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  height: 100%;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.contact-info__icon {
  background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-info__single p {
  color: var(--cv-muted);
  margin-bottom: 8px;
}

.contact-info__single h4,
.contact-info__single h4 a {
  color: var(--cv-dark) !important;
  font-size: 18px;
}

.contact-info__single h4 a:hover {
  color: var(--glorify-base) !important;
}

/* Contact page form card */
.contact-page {
  padding: 60px 0 120px;
}

.contact-page__inner {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%) !important;
  border-radius: 20px;
  padding: 50px 40px !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.contact-page__left.cv-contact-intro {
  margin: 0;
  padding-right: 20px;
}

.contact-page__left .section-title__tagline {
  color: #93c5fd !important;
}

.contact-page__form-title {
  color: #ffffff !important;
}

.cv-contact-list {
  margin-top: 24px;
}

.cv-contact-list li {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.cv-contact-list a {
  color: #93c5fd !important;
}

.contact-page__input-box input,
.contact-page__input-box textarea {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-radius: 10px !important;
}

.contact-page__input-box input::placeholder,
.contact-page__input-box textarea::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.contact-page__input-box input:focus,
.contact-page__input-box textarea:focus {
  border-color: var(--glorify-base) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

/* FAQ accordions */
.faq-page {
  padding: 80px 0 100px;
  background: var(--cv-surface);
}

.faq-one__right .accrodion-grp .accrodion,
.faq-page .accrodion-grp .accrodion {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.faq-one__right .accrodion-grp .accrodion.active,
.faq-page .accrodion-grp .accrodion.active {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.faq-one__right .accrodion-grp .accrodion-title h4,
.faq-page .accrodion-grp .accrodion-title h4 {
  color: var(--cv-dark) !important;
  font-size: 17px;
  padding-right: 50px;
}

.faq-one__right .accrodion-grp .accrodion-content p,
.faq-page .accrodion-grp .accrodion-content p {
  color: var(--cv-muted) !important;
  line-height: 1.75;
}

.faq-one__right .accrodion-grp .accrodion-title h4::before,
.faq-page .accrodion-grp .accrodion-title h4::before {
  background: var(--cv-dark) !important;
  color: #fff !important;
}

.faq-one__right .accrodion-grp .accrodion.active .accrodion-title h4::before,
.faq-page .accrodion-grp .accrodion.active .accrodion-title h4::before {
  background: var(--glorify-base) !important;
}

/* About & services */
.about-one__img img,
.about-one__img-two img {
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.services-one__single {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-one__single:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.services-one__icon {
  background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
}

.services-one__title a {
  color: var(--cv-dark) !important;
}

.services-one__title a:hover {
  color: var(--glorify-base) !important;
}

.services-one__text {
  color: var(--cv-muted) !important;
}

.why-choose-one {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%) !important;
}

.why-choose-one .about-one__points-content {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  height: 100%;
}

.why-choose-one h4 {
  color: var(--glorify-base) !important;
}

/* Service detail & inner content */
.service-details__text-1,
.service-details__text-2,
.about-one__text,
p {
  color: var(--cv-muted);
}

.service-details__title-1,
.about-one__points-content h4 {
  color: var(--cv-dark) !important;
}

/* Footer — ensure visible */
.site-footer {
  display: block !important;
  visibility: visible !important;
  background: #0f172a !important;
  position: relative;
  z-index: 10;
}

.cv-footer-bg {
  opacity: 0.15 !important;
}

.site-footer__top {
  padding: 56px 0 44px !important;
}

.cv-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.cv-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.cv-footer-social a:hover {
  background: var(--glorify-base);
}

.footer-widget__title {
  color: #fff !important;
}

.footer-widget__about-text,
.footer-widget__links-list a,
.footer-widget__contact-list p {
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer-widget__links-list a:hover {
  color: #93c5fd !important;
}

/* Footer — Development links in 2 columns (shorter block) */
.footer-widget__links-list--2col {
  column-count: 2;
  column-gap: 20px;
}

.footer-widget__links-list--2col > li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 6px;
}

.footer-widget__links-list--2col a {
  font-size: 14px;
  line-height: 1.35;
}

.cv-footer-contact-compact {
  margin-top: 22px;
}

.cv-footer-contact-compact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.cv-footer-contact-compact .icon {
  color: #93c5fd;
  flex-shrink: 0;
  margin-top: 2px;
}

.cv-footer-contact-compact p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 575px) {
  .footer-widget__links-list--2col {
    column-count: 1;
  }
}

/* Footer — compact 3-column services grid */
.cv-footer-services-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 28px 32px;
  align-items: start;
}

.cv-footer-services-grid__col .footer-widget__title {
  margin-bottom: 16px;
  font-size: 15px;
}

.cv-footer-dev-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.cv-footer-dev-split .footer-widget__links-list {
  margin: 0;
}

.footer-widget__links-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
}

.footer-widget__links-list li > span.far,
.footer-widget__links-list li > span.fa {
  flex-shrink: 0;
  width: 12px;
  margin-top: 4px;
  opacity: 0.75;
  font-size: 12px;
}

.footer-widget__links-list a {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.4;
}

.cv-footer-company .footer-widget__title {
  margin-bottom: 16px;
  font-size: 15px;
}

.cv-footer-view-all {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cv-footer-view-all a {
  color: #93c5fd !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.cv-footer-view-all a:hover {
  color: #fff !important;
}

.cv-footer-view-all i {
  font-size: 12px;
  margin-left: 4px;
}

@media (max-width: 991px) {
  .cv-footer-services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .cv-footer-services-grid__col--dev {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .cv-footer-services-grid {
    grid-template-columns: 1fr;
  }

  .cv-footer-dev-split {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.site-footer__copyright-text,
.site-footer__copyright-text a {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Counter section */
.cv-counter-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a, #1e3a8a) !important;
}

.cv-counter-bg {
  opacity: 0.2 !important;
}

.cv-counter-row {
  position: relative;
  z-index: 2;
}

.cv-counter-item h3,
.cv-counter-item p {
  color: #fff !important;
}

.cv-counter-item p {
  opacity: 0.85;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* Process & marketing cards */
.cv-process-card,
.cv-marketing-card,
.cv-ai-card,
.cv-stat-card {
  height: 100%;
}

.cv-process-num {
  display: inline-block;
  font-size: 42px;
  font-weight: 700;
  color: var(--glorify-base);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 12px;
}

.cv-marketing-card,
.cv-ai-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.cv-ai-card {
  border-color: rgba(37, 99, 235, 0.15);
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.cv-stat-card h3 {
  color: var(--glorify-base) !important;
  font-size: 42px;
}

/* Service detail sidebar */
.cv-sidebar-contact {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 24px;
}

.cv-sidebar-contact-bg {
  opacity: 0.35 !important;
  background-size: cover !important;
}

.service-details__sidebar-contact-content {
  background: linear-gradient(145deg, #0f172a, #1e293b) !important;
  padding: 32px 24px !important;
}

.service-details__sidebar-contact-content h3,
.service-details__sidebar-contact-content h3 a {
  color: #fff !important;
  font-size: 16px;
  word-break: break-all;
}

.service-details__sidebar-contact-content p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.service-details__img img {
  border-radius: 16px;
  width: 100%;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* Service detail hero — replaces empty/generic photos */
.cv-service-detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 28px 32px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
}

.cv-service-detail-hero--dev {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 45%, #2563eb 100%);
}

.cv-service-detail-hero--marketing {
  background: linear-gradient(135deg, #312e81 0%, #4338ca 40%, #2563eb 100%);
}

.cv-service-detail-hero--ai {
  background: linear-gradient(135deg, #0f172a 0%, #155e75 45%, #0891b2 100%);
}

.cv-service-detail-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.25) 0 2px, transparent 3px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px, 28px 28px;
}

.cv-service-detail-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.cv-service-detail-hero__icon {
  display: inline-flex;
  font-size: 28px;
  color: #93c5fd;
  margin-bottom: 10px;
}

.cv-service-detail-hero__label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.cv-service-detail-hero__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-transform: none;
  letter-spacing: -0.02em;
}

.service-details {
  padding: 80px 0 60px;
}

.about-one__img img {
  border-radius: 16px;
  width: 100%;
}

/* Service grid — more columns on large lists */
.service-grid-page .services-one__single {
  height: 100%;
}

.footer-widget__links-list a:hover,
.footer-widget__contact-list a:hover {
  color: #93c5fd !important;
}

/* Sidebar form */
.xs-sidebar-group .form-group input,
.xs-sidebar-group .form-group textarea {
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
}

#preloader {
  background: #0f172a;
  pointer-events: none;
}

body.cv-loaded #preloader {
  display: none !important;
}

/* Elementor bleed fix — hide theme builder on our pages */
body.wp-theme-codevibes-1 .elementor-location-header,
body.wp-theme-codevibes-1 .elementor-location-footer {
  display: none !important;
}

@media (max-width: 991px) {
  .banner-one__title {
    font-size: 34px !important;
  }

  .page-header__inner {
    padding: 140px 0 120px !important;
  }

  .contact-page__inner {
    padding: 30px 20px !important;
  }

  .contact-page__left.cv-contact-intro {
    margin-bottom: 30px;
    padding-right: 0;
  }
}

/* Chat widget — free quote bubble */
.cv-chat-root {
  position: relative;
  z-index: 1000003;
}

.cv-chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1000000;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cv-chat-overlay.is-visible {
  display: block;
  opacity: 1;
}

body.cv-chat-open {
  overflow: hidden;
}

.cv-chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000003;
  pointer-events: auto;
}

.cv-chat-fab__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-chat-fab__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.42);
}

.cv-chat-fab__btn i {
  font-size: 18px;
}

.cv-chat-popup {
  left: auto !important;
  right: 0;
  bottom: 0;
  top: auto !important;
  width: min(380px, calc(100vw - 24px));
  max-height: min(92vh, 720px);
  z-index: 1000002 !important;
  background: #fff !important;
  border-radius: 16px 16px 0 0 !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.15) !important;
  transform: translateY(110%) !important;
  overflow: hidden;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cv-chat-popup.popup-visible {
  transform: translateY(0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.cv-chat-popup .popup-inner {
  padding: 20px 20px 18px !important;
  max-height: min(92vh, 720px);
  overflow-y: auto;
}

.cv-chat-popup__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cv-chat-popup__header .cv-chat-popup__head {
  flex: 1;
  min-width: 0;
}

.cv-chat-close {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.cv-chat-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.cv-chat-popup .close-chat,
.chat-popup.cv-chat-popup .close-chat {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: 38px !important;
  height: 38px !important;
  box-shadow: none !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
}

.cv-chat-popup__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
  margin: 0 0 6px;
}

.cv-chat-popup__title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.cv-chat-popup__text {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 14px;
}

.cv-chat-popup__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.cv-chat-topic {
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.06);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cv-chat-topic:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.45);
}

.cv-chat-popup .chat-form .form-group input,
.cv-chat-popup .chat-form .form-group textarea {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  color: #0f172a !important;
}

.cv-chat-popup .chat-form .form-group textarea {
  min-height: 88px;
}

.cv-chat-popup .chat-form p {
  display: none;
}

.cv-chat-popup__foot {
  font-size: 12px;
  color: #64748b;
  margin: 12px 0 0;
  text-align: center;
}

.cv-chat-popup__foot a {
  color: #2563eb;
  font-weight: 600;
}

@media (max-width: 575px) {
  .cv-chat-fab {
    right: 16px;
    bottom: 16px;
  }

  .cv-chat-fab__label {
    display: none;
  }

  .cv-chat-fab__btn {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}
