/* ==========================================================================
   DIGITAL STORM TECHNOLOGIES — MAIN DESIGN SYSTEM v3.0
   Clean, Professional, Modern IT Company
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GOOGLE FONTS IMPORT (must be first rule)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   THEME-AWARE PROJECT IMAGE FILTER
   CSS filter converts dark dashboard screenshots to light mode appearance.
   When a real light-mode image is available via data-light-src, the JS will
   swap src and this filter becomes irrelevant for that image.
   -------------------------------------------------------------------------- */
img.theme-img {
  transition: filter 0.4s ease, opacity 0.3s ease;
}

[data-theme="light"] img.theme-img {
  filter: invert(1) hue-rotate(180deg) saturate(0.85) brightness(1.1) contrast(0.95);
}

[data-theme="dark"] img.theme-img {
  filter: none;
}

/* --------------------------------------------------------------------------
   2. CSS DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --orange:          #F97316;
  --orange-light:    #FB923C;
  --orange-dark:     #EA580C;
  --orange-glow:     rgba(249, 115, 22, 0.25);

  --blue:            #3B82F6;
  --blue-light:      #60A5FA;
  --blue-glow:       rgba(59, 130, 246, 0.25);

  --green:           #10B981;
  --green-light:     #34D399;

  /* Dark Theme */
  --bg-deep:         #080C1A;
  --bg-main:         #0A0D1A;
  --bg-section:      #0D1120;
  --bg-card:         #111827;
  --bg-card-hover:   #161F2E;
  --bg-input:        #141B2D;

  --border:          rgba(255, 255, 255, 0.07);
  --border-hover:    rgba(249, 115, 22, 0.35);

  --text-primary:    #F8FAFC;
  --text-secondary:  rgba(248, 250, 252, 0.72);
  --text-muted:      rgba(248, 250, 252, 0.45);

  /* Light Theme (set via [data-theme="light"]) */
  --bg-deep-lt:      #F8FAFC;
  --bg-main-lt:      #FFFFFF;
  --bg-section-lt:   #F1F5F9;
  --bg-card-lt:      #FFFFFF;
  --bg-card-hover-lt:#F8FAFC;
  --bg-input-lt:     #F1F5F9;
  --border-lt:       rgba(15, 23, 42, 0.08);
  --text-primary-lt: #0F172A;
  --text-secondary-lt:rgba(15, 23, 42, 0.72);
  --text-muted-lt:   rgba(15, 23, 42, 0.45);

  /* Typography */
  --font-heading:    'Plus Jakarta Sans', Inter, -apple-system, sans-serif;
  --font-body:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizing (Flat Design) */
  --container-max:   1280px;
  --section-pad:     100px;
  --radius-sm:       0;
  --radius-md:       0;
  --radius-lg:       0;
  --radius-xl:       0;
  --radius-pill:     0;

  /* Shadows (Flat Design) */
  --shadow-sm:       none;
  --shadow-md:       none;
  --shadow-lg:       none;
  --shadow-orange:   none;
  --shadow-blue:     none;

  /* Transitions */
  --ease:            cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast:      0.18s var(--ease);
  --trans-med:       0.32s var(--ease);
  --trans-slow:      0.55s var(--ease);
}

/* --------------------------------------------------------------------------
   3. LIGHT THEME OVERRIDES
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  --bg-deep:       var(--bg-deep-lt);
  --bg-main:       var(--bg-main-lt);
  --bg-section:    var(--bg-section-lt);
  --bg-card:       var(--bg-card-lt);
  --bg-card-hover: var(--bg-card-hover-lt);
  --bg-input:      var(--bg-input-lt);
  --border:        var(--border-lt);
  --text-primary:  var(--text-primary-lt);
  --text-secondary:var(--text-secondary-lt);
  --text-muted:    var(--text-muted-lt);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.15);
}

/* --------------------------------------------------------------------------
   4. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  transition: background-color var(--trans-med), color var(--trans-med);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 10px; }

/* --------------------------------------------------------------------------
   5. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

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

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --------------------------------------------------------------------------
   6. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }
.text-center .section-label { margin-left: auto; margin-right: auto; }
.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  border: none;
  transition: all var(--trans-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--orange);
  padding: 0;
  font-size: 0.9rem;
  gap: 0.4rem;
}
.btn-ghost i {
  transition: transform var(--trans-fast);
}
.btn-ghost:hover i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. BADGE / TAG
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.badge-orange {
  background: rgba(249,115,22,0.12);
  color: var(--orange-light);
  border: 1px solid rgba(249,115,22,0.25);
}
.badge-blue {
  background: rgba(59,130,246,0.12);
  color: var(--blue-light);
  border: 1px solid rgba(59,130,246,0.25);
}
.badge-green {
  background: rgba(16,185,129,0.12);
  color: var(--green-light);
  border: 1px solid rgba(16,185,129,0.25);
}

/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--trans-med);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  opacity: 0;
  transition: opacity var(--trans-med);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  /* transform removed for flat design */
  box-shadow: var(--shadow-lg);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--orange);
  margin-bottom: 1.25rem;
  transition: all var(--trans-med);
}

.card:hover .card-icon {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Card with image */
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  transition: transform var(--trans-med);
}

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

/* --------------------------------------------------------------------------
   10. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  transition: all var(--trans-med);
}

.navbar.scrolled {
  background: rgba(10, 13, 26, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding-top: 0;
  padding-bottom: 0;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255,255,255,0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--border);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-theme-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: var(--border);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--trans-fast);
}

.nav-theme-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--trans-fast);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--orange);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--orange);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 12, 26, 0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  padding: 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--trans-med);
}

[data-theme="light"] .nav-drawer {
  background: rgba(248,250,252,0.98);
}

.nav-drawer.open {
  display: flex;
  transform: translateX(0);
}

.nav-drawer .nav-link {
  font-size: 1.1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   11. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

/* Simple gradient background — no particles */
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(249,115,22,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(59,130,246,0.07) 0%, transparent 60%),
    var(--bg-main);
  z-index: 0;
}

[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(249,115,22,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(59,130,246,0.05) 0%, transparent 60%),
    #FFFFFF;
}

/* Parallax floating shapes */
.hero-shape { display: none; }

.hero-shape-1 {
  width: 400px; height: 400px;
  background: var(--orange);
  top: 10%; right: 5%;
}

.hero-shape-2 {
  width: 300px; height: 300px;
  background: var(--blue);
  bottom: 15%; left: 5%;
}

.hero-shape-3 {
  width: 200px; height: 200px;
  background: var(--green);
  top: 60%; right: 25%;
  opacity: 0.07;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-light);
  margin-bottom: 1.75rem;
  letter-spacing: 0.5px;
}

.hero-kicker i {
  font-size: 0.75rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  max-width: 820px;
}

.hero-title .highlight {
  color: var(--orange);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  letter-spacing: 0.5px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero image/mockup */
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 640px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--border);
  z-index: 2;
}

/* --------------------------------------------------------------------------
   12. CLIENTS / TRUSTED BY
   -------------------------------------------------------------------------- */
.clients-strip {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-section);
  overflow: hidden;
}

.clients-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: scroll-clients 25s linear infinite;
  width: max-content;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-clients {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-badge {
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.client-badge:hover {
  color: var(--orange);
  border-color: var(--orange-glow);
  background: rgba(249,115,22,0.05);
}

/* --------------------------------------------------------------------------
   13. SERVICES SECTION
   -------------------------------------------------------------------------- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--trans-med);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--trans-med);
  transform-origin: left;
}

.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  /* transform removed for flat design */
  box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: all var(--trans-med);
}

.service-card:hover .service-icon {
  box-shadow: var(--shadow-orange);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--trans-fast);
}

.service-card:hover .service-link {
  gap: 0.7rem;
}

/* --------------------------------------------------------------------------
   14. PARALLAX SPOTLIGHT SECTIONS
   -------------------------------------------------------------------------- */
.parallax-section {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
}

.parallax-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  will-change: transform;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
}

/* eTIMS spotlight */
.etims-section {
  background: var(--bg-section);
}

.etims-highlight-box {
  background: rgba(249,115,22,0.05);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--radius-xl);
  padding: 3rem;
}

.etims-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.etims-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  transition: all var(--trans-fast);
}

.etims-step:hover {
  border-color: rgba(249,115,22,0.25);
  background: rgba(249,115,22,0.04);
}

.etims-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.etims-step-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.etims-step-text strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.2rem;
}

/* --------------------------------------------------------------------------
   15. PAYMENT GATEWAY SECTION
   -------------------------------------------------------------------------- */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--trans-med);
}

.payment-card:hover {
  border-color: var(--border-hover);
  /* transform removed for flat design */
  box-shadow: var(--shadow-orange);
}

.payment-card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto;
}

.payment-card-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.payment-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   16. STATS / WHY DST
   -------------------------------------------------------------------------- */
.stat-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--trans-med);
}

.stat-card:hover {
  border-color: var(--border-hover);
  /* transform removed for flat design */
  box-shadow: var(--shadow-orange);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   17. PROJECT / PORTFOLIO CARDS
   -------------------------------------------------------------------------- */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--trans-med);
  /* Ensure the rounded corners clip the image cleanly */
  isolation: isolate;
}

.project-card:hover {
  border-color: var(--border-hover);
  /* transform removed for flat design */
  box-shadow: var(--shadow-lg);
}

.project-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--trans-slow);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-img-wrap {
  overflow: hidden;
  background: transparent;
  line-height: 0;   /* removes the gap between inline img and container bottom */
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.project-body {
  padding: 1.75rem;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   18. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-stars {
  color: var(--orange);
  font-size: 0.9rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 0;
  background: var(--bg-card); border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--orange);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   19. CTA PARALLAX BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  text-align: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-section);
  z-index: 0;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.cta-banner-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

/* --------------------------------------------------------------------------
   20. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--trans-fast);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--border);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: all var(--trans-fast);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   21. FORM STYLES
   -------------------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--trans-fast);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--orange);
  box-shadow: none;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* --------------------------------------------------------------------------
   22. REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* --------------------------------------------------------------------------
   23. MISC
   -------------------------------------------------------------------------- */
.divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 1.5rem 0;
}

.text-center .divider {
  margin-left: auto;
  margin-right: auto;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.feature-item i {
  color: var(--green);
  font-size: 0.85rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Contact info */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--trans-fast);
}

.contact-info-item:hover {
  border-color: var(--border-hover);
}

.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(249,115,22,0.1);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-orange);
  opacity: 0;
  /* transform removed for flat design */
  transition: all var(--trans-med);
  z-index: 500;
  cursor: pointer;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
}



/* ==========================================================================
   MOBILE APP UI COMPONENTS
   ========================================================================== */

.mobile-bottom-nav { user-select: none; -webkit-tap-highlight-color: transparent;
  display: none; /* Desktop hidden */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg-main);
  border-top: 1px solid var(--border);
  z-index: 9999;
  justify-content: space-around;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  width: 100%;
  height: 100%;
  gap: 4px;
  transition: color var(--trans-fast);
}

.mobile-nav-item i {
  font-size: 1.25rem;
}

.mobile-nav-item.active {
  color: var(--orange);
}

.mobile-more-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-more-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-more-menu {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-radius: 16px 16px 0 0;
  z-index: 10001;
  padding: 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-more-menu.open {
  bottom: 0;
}

.mobile-more-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-more-menu-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.mobile-more-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  padding: 0.5rem;
}

.mobile-more-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
}

.mobile-more-link i {
  width: 24px;
  text-align: center;
  color: var(--orange);
}

.mobile-more-link.active {
  color: var(--orange);
}
.mobile-more-link.active i {
  color: var(--orange);
}
/* ==========================================================================
   DESKTOP NAVBAR DROPDOWNS
   ========================================================================== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown .nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-dropdown:hover .nav-link {
  color: var(--orange);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  min-width: 180px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s var(--ease);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.dropdown-menu a:hover, .dropdown-menu a.active {
  color: var(--orange);
  background: var(--bg-card-hover);
}
.nav-link.active,
.nav-dropdown .nav-link.active {
  color: var(--orange);
  background: var(--bg-card-hover);
}

/* ==========================================================================
   WHATSAPP FLOATING WIDGET
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 80px; /* Above the mobile nav if present */
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 9000;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
  text-decoration: none;
}
.whatsapp-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37,211,102,0.6);
  color: white;
}
@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 85px; /* Stay well above the sticky mobile nav */
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.cookie-text a {
  color: var(--orange);
  text-decoration: underline;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 1.25rem;
    padding-bottom: calc(1.25rem + 80px); /* Avoid blocking bottom nav */
    gap: 1rem;
    text-align: center;
  }
}
