/* =====================================================
   RIGVE INFOTECH — MAIN STYLESHEET
   Logo-Matched Palette:
   Obsidian #0A0D14 | Metallic Gold #C89B3C / #E2B44B | Steel Cyan #38BDF8
   Font: Poppins (Google Fonts)
===================================================== */

:root {
  --primary: #B48327;
  --secondary: #9A6D1B;
  --accent: #0284C7;
  --gold: #C89B3C;
  --gold-light: #E2B44B;
  --cyan-glow: #38BDF8;
  --navy-deep: #0A0D14;
  --navy-surface: #111622;
  --gradient-brand: linear-gradient(135deg, #B8862D 0%, #DFB349 55%, #C89B3C 100%);
  --gradient-tech: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%);

  --bg: #ffffff;
  --bg-alt: #f8f9fb;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.90);
  --border-soft: rgba(17, 24, 39, 0.10);
  --text-main: #111827;
  --text-muted: #4b5563;
  --text-invert: #ffffff;
  --shadow-soft: 0 8px 24px rgba(10, 13, 20, 0.06);
  --shadow-lift: 0 18px 42px rgba(10, 13, 20, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --header-h: 82px;
}

[data-theme="dark"] {
  --primary: #E2B44B;
  --secondary: #C89B3C;
  --accent: #38BDF8;
  --bg: #0A0D14;
  --bg-alt: #111622;
  --surface: #151B29;
  --surface-glass: rgba(21, 27, 41, 0.80);
  --border-soft: rgba(200, 155, 60, 0.18);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.40);
  --shadow-lift: 0 24px 60px rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text-main);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background .4s ease, color .4s ease;
}

main,
section,
footer {
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

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

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

p {
  color: var(--text-muted);
  line-height: 1.75;
}

.section-pad {
  padding: 110px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(10, 102, 194, 0.08);
  border: 1px solid var(--border-soft);
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 18px;
  line-height: 1.25;
}

.section-desc {
  font-size: 1.03rem;
}

/* =============== BUTTONS =============== */
.btn-gradient {
  background: var(--gradient-brand);
  background-size: 200% auto;
  color: #fff !important;
  border: none;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: .4s ease;
  box-shadow: 0 12px 28px rgba(10, 102, 194, 0.30);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gradient:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(10, 102, 194, 0.40);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary) !important;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: .35s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff !important;
  transform: translateY(-3px);
}

.btn-lg-custom {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm-nav {
  padding: 9px 22px;
  font-size: .85rem;
}

/* =============== GLASSMORPHISM =============== */
.glass-card {
  background: var(--surface-glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* =============== PRELOADER =============== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity .5s ease, visibility .5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-mark {
  font-size: 2.1rem;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  gap: 6px;
  align-items: center;
}

.preloader-bracket {
  color: var(--cyan-glow);
}

.preloader-word {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.preloader-bar {
  width: 220px;
  height: 4px;
  background: rgba(200, 155, 60, 0.16);
  border-radius: 10px;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gradient-brand);
  border-radius: 10px;
  animation: loadbar 1.1s ease-in-out infinite;
}

@keyframes loadbar {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(80%);
  }

  100% {
    transform: translateX(260%);
  }
}

/* =============== BACK TO TOP =============== */
#backToTop {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(10, 102, 194, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: .35s ease;
  cursor: pointer;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  transform: translateY(-4px) scale(1.05);
}

/* =============== WHATSAPP FLOAT =============== */
.whatsapp-float {
  position: fixed;
  left: 26px;
  bottom: 26px;
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  animation: wa-pulse 2.4s infinite;
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.08);
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* =============== HEADER / NAV =============== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 997;
}

#mainNav {
  padding: 16px 0;
  transition: .35s ease;
  background: rgba(10, 13, 20, 0.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(200, 155, 60, 0.18);
}

#mainNav.scrolled {
  padding: 10px 0;
  background: rgba(10, 13, 20, 0.96);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .38);
  border-bottom: 1px solid rgba(200, 155, 60, 0.28);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  border-radius: 8px;
  border: 1px solid rgba(200, 155, 60, 0.42);
  object-fit: cover;
}

.brand-mark {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.brand-dot {
  color: var(--gold-light);
}

.brand-suffix {
  font-size: .78rem;
  font-weight: 500;
  color: #cbd5e1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: .92rem;
  color: #e5e7eb;
  padding: 8px 15px !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 2px;
  height: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold-light);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.toggler-bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #f8fafc;
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}

#themeToggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(200, 155, 60, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s ease;
}

#themeToggle:hover {
  background: var(--gradient-brand);
  color: #0A0D14;
  transform: rotate(20deg);
}

/* =============== HERO =============== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 34px);
  padding-bottom: 90px;
  overflow: hidden;
  color: #f8fafc;
  background: radial-gradient(circle at 18% 22%, rgba(200, 155, 60, .14), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(56, 189, 248, .12), transparent 45%),
    var(--navy-deep);
}

#hero .hero-title,
#hero .hero-typed-line,
#hero .hero-stat .counter,
#hero .hero-stat .plus {
  color: #ffffff;
}

#hero .hero-sub,
#hero .typed-prefix,
#hero .hero-stat p {
  color: #9ca3af;
}

#hero .eyebrow {
  color: var(--gold-light);
  background: rgba(200, 155, 60, 0.12);
  border-color: rgba(200, 155, 60, 0.30);
}

#hero #typedText {
  color: var(--cyan-glow);
}

#hero .btn-outline-custom {
  color: #f8fafc !important;
  border-color: rgba(200, 155, 60, 0.35);
}

#hero .btn-outline-custom:hover {
  border-color: var(--gold-light);
  color: var(--gold-light) !important;
  background: rgba(200, 155, 60, 0.10);
}

#hero .glass-card {
  background: rgba(17, 22, 34, 0.82);
  border-color: rgba(200, 155, 60, 0.22);
  color: #f8fafc;
}

#hero .glass-card span {
  color: #9ca3af;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  z-index: 0;
}

.hero-blob-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -140px;
  right: -120px;
  animation: float1 9s ease-in-out infinite;
}

.hero-blob-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  bottom: -160px;
  left: -140px;
  animation: float2 11s ease-in-out infinite;
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(30px) translateX(-20px);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-25px) translateX(20px);
  }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .35;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(10, 102, 194, .08);
  border: 1px solid var(--border-soft);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.16;
  margin-bottom: 18px;
}

.hero-typed-line {
  font-size: 1.15rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 16px;
  min-height: 1.8em;
}

.typed-prefix {
  color: var(--text-muted);
  font-weight: 400;
}

#typedText {
  color: var(--primary);
  font-weight: 600;
}

.typed-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-sub {
  font-size: 1.02rem;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}

.hero-stat .counter,
.hero-stat .plus {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-main);
}

.hero-stat .plus {
  color: var(--accent);
}

.hero-stat p {
  font-size: .82rem;
  margin: 2px 0 0;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  height: 520px;
}

.hero-card-main {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.code-window-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(200, 155, 60, 0.20);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f57;
}

.dot-yellow {
  background: #febc2e;
}

.dot-green {
  background: #28c840;
}

.code-window-title {
  margin-left: 8px;
  font-size: .75rem;
  color: #9ca3af;
  font-family: monospace;
}

.code-window-body {
  margin: 0;
  padding: 22px;
  font-family: 'Courier New', monospace;
  font-size: .86rem;
  line-height: 1.9;
  color: #e5e7eb;
  overflow-x: auto;
}

.c-key {
  color: #c678dd;
}

.c-var {
  color: #e06c75;
}

.c-fn {
  color: #38bdf8;
}

.c-str {
  color: #98c379;
}

.c-comment {
  color: #9ca3af;
}

.hero-card-float-1,
.hero-card-float-2 {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-size: 1.6rem;
  color: var(--gold-light);
}

.hero-card-float-1 {
  top: 12px;
  right: -10px;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-card-float-2 {
  bottom: 20px;
  left: -20px;
  animation: floatCard 6s ease-in-out infinite reverse;
}

.hero-card-float-1 strong,
.hero-card-float-2 strong {
  display: block;
  font-size: .85rem;
  color: #ffffff;
}

.hero-card-float-1 span,
.hero-card-float-2 span {
  font-size: .72rem;
  color: #9ca3af;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.hero-orbit {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 560px;
  height: 560px;
  border: 1px dashed var(--border-soft);
  border-radius: 50%;
  z-index: -1;
}

.section-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.section-wave svg {
  width: 100%;
  height: 80px;
}

.section-wave path {
  fill: var(--bg-alt);
}

/* =============== ABOUT =============== */
.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  aspect-ratio: 9/11;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-size: 1.5rem;
  color: var(--primary);
}

.about-badge strong {
  display: block;
  font-size: .95rem;
  color: var(--text-main);
}

.about-badge span {
  font-size: .75rem;
  color: var(--text-muted);
}

.about-point {
  display: flex;
  gap: 14px;
}

.about-point i {
  font-size: 1.3rem;
  color: var(--primary);
  background: rgba(10, 102, 194, .08);
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-point h6 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.about-point p {
  font-size: .9rem;
  margin: 0;
}

/* =============== FEATURE CARDS (Why Us) =============== */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  height: 100%;
  transition: .4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0;
  transition: .4s ease;
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover h5,
.feature-card:hover p,
.feature-card:hover .feature-icon {
  position: relative;
  color: #fff;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  background: rgba(255, 255, 255, .18);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(10, 102, 194, .08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: .4s ease;
  position: relative;
  z-index: 1;
}

.feature-card h5 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.feature-card p {
  position: relative;
  z-index: 1;
  font-size: .9rem;
  margin: 0;
}

/* =============== SERVICE CARDS =============== */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  height: 100%;
  transition: .35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--primary);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.service-card h5 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: .87rem;
  margin: 0;
}

/* =============== TECHNOLOGIES =============== */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 50px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  font-weight: 600;
  font-size: .92rem;
  transition: .3s ease;
}

.tech-chip i {
  font-size: 1.2rem;
  color: var(--primary);
}

.tech-chip:hover {
  background: var(--gradient-brand);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.tech-chip:hover i,
.tech-chip:hover .tech-text {
  color: #fff;
}

/* =============== PROCESS TIMELINE =============== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  position: relative;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: .35s ease;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.process-num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.process-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 102, 194, .08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}

.process-step h6 {
  font-size: .95rem;
  margin-bottom: 6px;
}

.process-step p {
  font-size: .8rem;
  margin: 0;
}

/* =============== PORTFOLIO =============== */
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: .4s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.portfolio-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s ease;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.08);
}

.portfolio-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

.portfolio-body {
  padding: 26px;
}

.portfolio-body h5 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.portfolio-tech {
  font-size: .76rem;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

[data-theme="dark"] .portfolio-tech {
  color: var(--cyan-glow);
}

.portfolio-outcome {
  font-size: .8rem;
  color: var(--text-main);
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  padding: 8px 12px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 14px;
}

.btn-gradient {
  color: #0A0D14 !important;
  font-weight: 600;
}

.footer-logo-img {
  height: 54px;
  width: auto;
  border-radius: 10px;
  border: 1px solid rgba(200, 155, 60, 0.42);
  margin-bottom: 14px;
}

.portfolio-body p {
  font-size: .88rem;
  margin-bottom: 16px;
}

.portfolio-link {
  font-size: .87rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.portfolio-link i {
  transition: .3s ease;
}

.portfolio-link:hover i {
  transform: translateX(5px);
}

/* =============== STATS SECTION =============== */
.stats-section {
  background: linear-gradient(135deg, #0A0D14 0%, #111622 65%, #161E2E 100%);
  border-top: 1px solid rgba(200, 155, 60, 0.22);
  border-bottom: 1px solid rgba(200, 155, 60, 0.22);
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(200, 155, 60, .18) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: .35;
}

.stat-box {
  position: relative;
  z-index: 1;
}

.stat-box .counter,
.stat-box .plus {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold-light);
}

.stat-box .plus {
  color: var(--cyan-glow);
}

.stat-box p {
  color: #cbd5e1;
  font-size: .85rem;
  margin-top: 6px;
}

/* =============== TESTIMONIALS =============== */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  margin: 8px 4px 40px;
  height: auto;
}

.quote-icon {
  font-size: 1.6rem;
  color: var(--accent);
  opacity: .5;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-person img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person strong {
  display: block;
  font-size: .92rem;
}

.testimonial-person span {
  font-size: .78rem;
  color: var(--text-muted);
}

.swiper-pagination-bullet {
  background: var(--primary);
  opacity: .3;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--gradient-brand);
}

/* =============== PRICING =============== */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  text-align: center;
  height: 100%;
  transition: .4s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.pricing-featured {
  background: var(--gradient-brand);
  color: #fff;
  transform: scale(1.04);
  box-shadow: var(--shadow-lift);
}

.pricing-featured:hover {
  transform: scale(1.04) translateY(-8px);
}

.pricing-featured h5,
.pricing-featured .pricing-desc,
.pricing-featured .pricing-amount,
.pricing-featured .pricing-list li {
  color: #fff;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}

.pricing-card h5 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: .85rem;
  margin-bottom: 20px;
}

.pricing-amount {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 26px;
  color: var(--text-main);
}

.pricing-amount .currency {
  font-size: 1.3rem;
  vertical-align: top;
}

.pricing-amount .period {
  font-size: .85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-featured .pricing-amount .period {
  color: rgba(255, 255, 255, .8);
}

.custom-quote {
  font-size: 1.5rem;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  text-align: left;
}

.pricing-list li {
  font-size: .9rem;
  padding: 8px 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-list i {
  color: var(--accent);
}

.pricing-featured .pricing-list i {
  color: #fff;
}

/* =============== FAQ / ACCORDION =============== */
.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border-soft) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  font-size: .98rem;
  color: var(--text-main);
  background: var(--surface);
  padding: 20px 24px;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background: rgba(10, 102, 194, .06);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  filter: invert(38%) sepia(90%) saturate(1500%) hue-rotate(180deg);
}

.accordion-body {
  font-size: .9rem;
  color: var(--text-muted);
  padding: 0 24px 22px;
}

/* =============== CONTACT =============== */
.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .92rem;
}

.form-control::placeholder {
  color: #6b7280;
  opacity: 1;
}

[data-theme="dark"] .form-control::placeholder {
  color: #9ca3af;
  opacity: 1;
}

[data-theme="dark"] .form-select option {
  background: #111622;
  color: #f3f4f6;
}

.form-control:focus,
.form-select:focus {
  color: var(--text-main);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200, 155, 60, .14);
  background: var(--bg);
}

.form-note {
  font-size: .85rem;
  margin: 12px 0 0;
  text-align: center;
  color: var(--primary);
  min-height: 20px;
}

.contact-info-card {
  padding: 36px;
  margin-bottom: 24px;
}

.contact-info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-info-row:last-of-type {
  margin-bottom: 0;
}

.contact-info-row i {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(10, 102, 194, .08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-row strong {
  display: block;
  font-size: .9rem;
  margin-bottom: 2px;
}

.contact-info-row span {
  font-size: .85rem;
  color: var(--text-muted);
}

.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.contact-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: .3s ease;
}

.contact-social a:hover {
  background: var(--gradient-brand);
  color: #fff;
  transform: translateY(-3px);
}

.map-placeholder {
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: .85rem;
}

.map-placeholder i {
  font-size: 2rem;
  color: var(--primary);
}

/* =============== FOOTER =============== */
#mainFooter {
  background: #071127;
  color: #c6d3ea;
  padding-top: 60px;
  position: relative;
  /* margin-top: 80px; */
}

[data-theme="dark"] #mainFooter {
  background: #050a15;
}

.footer-wave {
  position: absolute;
  top: -79px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.footer-wave svg {
  width: 100%;
  height: 80px;
}

.footer-wave path {
  fill: #071127;
}

[data-theme="dark"] .footer-wave path {
  fill: #050a15;
}

.footer-top {
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 16px;
}

.footer-brand span {
  color: var(--accent);
  font-weight: 500;
  font-size: 1rem;
  margin-left: 4px;
}

#mainFooter p {
  color: #93a3c0;
  font-size: .88rem;
}

.footer-newsletter {
  display: flex;
  margin-top: 20px;
  max-width: 340px;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 50px 0 0 50px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: .85rem;
}

.footer-newsletter input::placeholder {
  color: #7f8fac;
}

.footer-newsletter input:focus {
  outline: none;
}

.footer-newsletter button {
  border: none;
  background: var(--gradient-brand);
  color: #fff;
  padding: 0 20px;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
}

#mainFooter h6 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}

#mainFooter ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mainFooter ul li {
  margin-bottom: 12px;
}

#mainFooter ul li a {
  color: #93a3c0;
  font-size: .87rem;
  transition: .25s ease;
}

#mainFooter ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tech-list li {
  background: rgba(255, 255, 255, .06);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: .78rem;
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  font-size: .83rem;
  color: #7f8fac;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s ease;
}

.footer-social a:hover {
  background: var(--gradient-brand);
  transform: translateY(-3px);
}

/* =============== RESPONSIVE =============== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #111622;
    margin-top: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(200, 155, 60, 0.25);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  }

  .navbar-collapse .nav-link {
    color: #f3f4f6 !important;
  }

  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link.active {
    color: var(--gold-light) !important;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin-top: 16px;
  }

  .hero-visual {
    height: 420px;
    margin-top: 20px;
  }

  .hero-card-main {
    max-width: 100%;
  }

  .about-badge {
    right: 0;
    bottom: -18px;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 76px 0;
  }

  .hero-typed-line {
    font-size: 1rem;
    min-height: 3.2em;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-btn-group {
    flex-direction: column;
  }

  .hero-btn-group .btn {
    width: 100%;
  }

  .pricing-featured {
    transform: none;
  }

  .pricing-featured:hover {
    transform: translateY(-8px);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .hero-visual {
    height: auto;
    padding-bottom: 40px;
  }

  .hero-card-float-1 {
    position: relative;
    top: 16px;
    right: 0;
    margin-bottom: 12px;
  }

  .hero-card-float-2 {
    position: relative;
    bottom: 0;
    left: 0;
  }
}