/* ============================================================
   ORTIFY DESIGN SYSTEM
   Brand: Black #000000 | Emerald #02BE62 | Tangerine #FD9049 | White #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --black: #000000;
  --emerald: #02BE62;
  --emerald-dark: #019e52;
  --emerald-light: #04d870;
  --tangerine: #FD9049;
  --tangerine-dark: #e07030;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --dark-bg: #080808;
  --dark-card: #111111;
  --dark-card2: #161616;
  --dark-border: #1e1e1e;
  --dark-border2: #2a2a2a;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s ease;
  --transition-fast: all 0.18s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.3);
  --shadow-emerald: 0 0 30px rgba(2, 190, 98, 0.25);
  --shadow-tangerine: 0 0 30px rgba(253, 144, 73, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--white);
  background: var(--dark-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--emerald);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--emerald-light);
}

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

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

p {
  color: var(--gray-400);
  line-height: 1.75;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-emerald {
  color: var(--emerald) !important;
}

.text-tangerine {
  color: var(--tangerine) !important;
}

.text-muted-ort {
  color: var(--gray-400) !important;
}

.bg-dark-card {
  background: var(--dark-card);
}

.bg-dark-card2 {
  background: var(--dark-card2);
}

.bg-dark-bg {
  background: var(--dark-bg);
}

.section-pad {
  padding: 64px 0;
}

.section-pad-sm {
  padding: 40px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill-emerald {
  background: rgba(2, 190, 98, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(2, 190, 98, 0.25);
}

.pill-tangerine {
  background: rgba(253, 144, 73, 0.12);
  color: var(--tangerine);
  border: 1px solid rgba(253, 144, 73, 0.25);
}

.pill-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gray-300);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.divider-emerald {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--tangerine));
  border-radius: 2px;
  margin: 16px auto;
}

.divider-emerald.left {
  margin-left: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-ortify {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-ortify-primary {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

.btn-ortify-primary:hover {
  background: var(--emerald-light);
  border-color: var(--emerald-light);
  color: var(--white);
  box-shadow: var(--shadow-emerald);
  transform: translateY(-1px);
}

.btn-ortify-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ortify-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-ortify-tangerine {
  background: var(--tangerine);
  color: var(--white);
  border-color: var(--tangerine);
}

.btn-ortify-tangerine:hover {
  background: var(--tangerine-dark);
  border-color: var(--tangerine-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ortify-ghost {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}

.btn-ortify-ghost:hover {
  background: var(--emerald);
  color: var(--white);
  box-shadow: var(--shadow-emerald);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.ortify-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}

.ortify-nav.scrolled {
  background: rgba(8, 8, 8, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.ortify-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 72px;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
}

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

}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--gray-300);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.25s ease;
  position: relative;
  background: transparent !important;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--tangerine));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a.active {
  color: var(--emerald);
  font-weight: 600;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  border: 1.5px solid rgba(2, 190, 98, 0.28);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-200);
  text-decoration: none;
  background: rgba(2, 190, 98, 0.05);
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.nav-phone:hover {
  background: rgba(2, 190, 98, 0.13);
  border-color: var(--emerald);
  color: var(--white);
}

.nav-phone-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.nav-phone-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--emerald);
  animation: phoneDotRipple 2s ease-out infinite;
}

@keyframes phoneDotRipple {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.nav-cta .btn-ortify-primary {
  border-radius: 50px !important;
  padding: 10px 24px !important;
  font-size: 13px !important;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  background: rgba(8, 8, 8, 0.98);
  border-top: 1px solid var(--dark-border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--gray-300);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--emerald);
}

.nav-mobile .nav-mobile-cta {
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--emerald);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  border: none;
}

/* ============================================================
   HERO SECTION (index.html)
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-bg);
  padding-top: 72px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2, 190, 98, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 190, 98, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(2, 190, 98, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(253, 144, 73, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-title .accent {
  color: var(--emerald);
}

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

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-400);
  max-width: 620px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  /* margin-bottom: 60px; */
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--dark-border2);
  max-width: 600px;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-float {
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
}

.hero-card-float .hcf-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(2, 190, 98, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
  color: var(--emerald);
}

.hero-card-float h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.hero-card-float p {
  font-size: 13px;
}

/* Floating cards animation */
@keyframes floatUp {

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

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

.float-card {
  animation: floatUp 4s ease-in-out infinite;
}

.float-card-2 {
  animation: floatUp 4s ease-in-out infinite 1.5s;
}

.float-card-3 {
  animation: floatUp 4s ease-in-out infinite 3s;
}

/* Hero center column boxes */
.hero-mid-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 80px 0;
  justify-content: center;
}

.hero-mid-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: 14px;
  padding: 16px 18px;
  transition: var(--transition);
}

.hero-mid-box:nth-child(1) { animation: floatUp 4s ease-in-out infinite 0s; }
.hero-mid-box:nth-child(2) { margin-left: 22px; animation: floatUp 4s ease-in-out infinite 0.8s; }
.hero-mid-box:nth-child(3) { animation: floatUp 4s ease-in-out infinite 2s; }
.hero-mid-box:nth-child(4) { margin-left: 14px; animation: floatUp 4s ease-in-out infinite 3.2s; }

.hmb-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 10px;
}

.hmb-icon.green { background: rgba(2,190,98,0.12); color: var(--emerald); }
.hmb-icon.orange { background: rgba(253,144,73,0.12); color: var(--tangerine); }

.hmb-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
  line-height: 1.2;
}

.hmb-label {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
}

body.light .hero-mid-box {
  background: #ffffff;
  border-color: #E2E8F0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

body.light .hmb-title { color: #111827; }

/* Hero cursor-follow glow */
.hero-cursor-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(2,190,98,0.07) 0%, rgba(253,144,73,0.025) 40%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Hero mid-area floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-particles span {
  position: absolute;
  border-radius: 50%;
}
.hero-particles span:nth-child(1) { width:5px;height:5px;background:var(--emerald);opacity:0.35;top:28%;left:47%;animation:hParticle 7s ease-in-out infinite 0s; }
.hero-particles span:nth-child(2) { width:4px;height:4px;background:var(--tangerine);opacity:0.28;top:58%;left:54%;animation:hParticle 9s ease-in-out infinite 1.5s; }
.hero-particles span:nth-child(3) { width:6px;height:6px;background:var(--emerald);opacity:0.18;top:42%;left:61%;animation:hParticle 6s ease-in-out infinite 0.8s; }
.hero-particles span:nth-child(4) { width:3px;height:3px;background:var(--tangerine);opacity:0.38;top:68%;left:43%;animation:hParticle 8s ease-in-out infinite 2.5s; }
.hero-particles span:nth-child(5) { width:4px;height:4px;background:var(--emerald);opacity:0.28;top:35%;left:55%;animation:hParticle 5s ease-in-out infinite 1.2s; }
.hero-particles span:nth-child(6) { width:5px;height:5px;background:var(--emerald);opacity:0.2;top:50%;left:49%;animation:hParticle 11s ease-in-out infinite 3.2s; }

@keyframes hParticle {
  0%, 100% { transform: translateY(0) translateX(0); }
  25%       { transform: translateY(-18px) translateX(12px); }
  50%       { transform: translateY(-6px) translateX(-12px); }
  75%       { transform: translateY(14px) translateX(7px); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header.left {
  text-align: left;
  margin-bottom: 32px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-400);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header.left .section-subtitle {
  margin: 0;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: var(--dark-card);
}

.service-card {
  background: var(--dark-bg);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--tangerine));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(2, 190, 98, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-emerald);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(2, 190, 98, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--emerald);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--emerald);
  color: var(--white);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(2, 190, 98, 0.08);
  color: var(--emerald);
  border: 1px solid rgba(2, 190, 98, 0.15);
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: var(--emerald);
  padding: 48px 0;
}

.stats-band .stat-item {
  text-align: center;
  padding: 16px;
}

.stats-band .stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stats-band .stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   CREDENTIAL STATS STRIP
   ============================================================ */
.cred-stats-strip {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border2);
  border-bottom: 1px solid var(--dark-border2);
}

.cred-stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2,190,98,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,190,98,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cred-stats-strip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(2,190,98,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cred-stats-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.cred-stat-item {
  flex: 1;
  text-align: center;
  padding: 8px 24px;
  position: relative;
}

.cred-stat-item + .cred-stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--dark-border2);
}

.cred-stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.cred-stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.light .cred-stats-strip {
  background: #F9FBF9;
  border-top-color: #E2E8F0;
  border-bottom-color: #E2E8F0;
}

body.light .cred-stats-strip::before {
  background-image:
    linear-gradient(rgba(2,190,98,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,190,98,0.07) 1px, transparent 1px);
}

body.light .cred-stat-item + .cred-stat-item::before {
  background: #E2E8F0;
}

body.light .cred-stat-label {
  color: #6B7280;
}

@media (max-width: 575.98px) {
  .cred-stat-num { font-size: 2.2rem; }
  .cred-stats-inner { gap: 0; }
  .cred-stat-item { padding: 8px 12px; }
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.projects-section {
  background: var(--dark-bg);
}

.project-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.project-card:hover {
  border-color: rgba(2, 190, 98, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-card-img {
  height: 180px;
  background: var(--dark-card2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: var(--transition);
}

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

.project-card-img .project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}

.project-card-body {
  padding: 24px;
}

.project-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-card-body .project-client {
  font-size: 12px;
  color: var(--tangerine);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.project-card-body p {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tech span {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gray-400);
  border: 1px solid var(--dark-border2);
}

/* ============================================================
   ONDC SECTION
   ============================================================ */
.ondc-section {
  background: var(--dark-card);
}

.ondc-visual {
  background: var(--dark-bg);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius-xl);
  padding: 40px;
  height: 100%;
}

.ondc-node {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(2, 190, 98, 0.08);
  border: 1px solid rgba(2, 190, 98, 0.2);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald);
  margin: 6px;
}

.ondc-node i {
  font-size: 18px;
}

.capability-list {
  list-style: none;
  padding: 0;
}

.capability-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--dark-border);
  font-size: 14px;
  color: var(--gray-300);
}

.capability-list li:last-child {
  border-bottom: none;
}

.capability-list li i {
  color: var(--emerald);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ============================================================
   WHY ORTIFY / VALUE PROPS
   ============================================================ */
.value-card {
  background: var(--dark-card2);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  height: 100%;
  transition: var(--transition);
  text-align: center;
}

.value-card:hover {
  border-color: rgba(253, 144, 73, 0.3);
  box-shadow: var(--shadow-tangerine);
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(253, 144, 73, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--tangerine);
  margin: 0 auto 20px;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background: var(--tangerine);
  color: var(--white);
}

.value-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 13px;
}

/* ============================================================
   GOVERNMENT PARTNERS
   ============================================================ */
.partners-section {
  background: var(--dark-bg);
}

.partner-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.partner-card:hover {
  border-color: rgba(2, 190, 98, 0.3);
  transform: translateY(-3px);
}

.partner-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(2, 190, 98, 0.15), rgba(253, 144, 73, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--emerald);
  margin: 0 auto 16px;
}

.partner-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.partner-card p {
  font-size: 12px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #0a1a0e 0%, #000 40%, #1a0a00 100%);
  border-top: 1px solid var(--dark-border2);
  border-bottom: 1px solid var(--dark-border2);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(2, 190, 98, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 16px;
  color: var(--gray-400);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--dark-card);
  padding: 120px 0 60px;
  border-bottom: 1px solid var(--dark-border2);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 190, 98, 0.06) 0%, transparent 70%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.breadcrumb-ort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.breadcrumb-ort a {
  color: var(--gray-500);
}

.breadcrumb-ort a:hover {
  color: var(--emerald);
}

.breadcrumb-ort .sep {
  color: var(--gray-700);
}

.breadcrumb-ort .current {
  color: var(--gray-300);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 16px;
  color: var(--gray-400);
  max-width: 560px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
  background: var(--dark-bg);
}

.about-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.about-highlight {
  border-left: 3px solid var(--emerald);
  padding-left: 20px;
  margin: 24px 0;
}

.about-highlight p {
  font-size: 16px;
  font-style: italic;
  color: var(--gray-300);
}

.cert-card {
  background: var(--dark-card2);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.cert-card:hover {
  border-color: rgba(2, 190, 98, 0.3);
}

.cert-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(2, 190, 98, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--emerald);
  flex-shrink: 0;
}

.cert-card h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cert-card p {
  font-size: 12px;
  margin: 0;
}

.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--emerald), var(--tangerine));
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--emerald);
  border: 2px solid var(--dark-bg);
  box-shadow: 0 0 0 3px rgba(2, 190, 98, 0.25);
}

.timeline-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.timeline-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 13px;
}

/* ============================================================
   SERVICE PAGE DETAILS
   ============================================================ */
.service-detail-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 32px;
}

.service-detail-header {
  background: var(--dark-card2);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--dark-border2);
}

.service-detail-header .sdi {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(2, 190, 98, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--emerald);
  flex-shrink: 0;
}

.service-detail-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-detail-header p {
  font-size: 13px;
  margin: 0;
}

.service-detail-body {
  padding: 28px 32px;
}

.service-feat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-300);
  padding: 6px 0;
}

.service-feat-list li i {
  color: var(--emerald);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  background: var(--dark-bg);
}

.contact-form-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-group-ort {
  margin-bottom: 20px;
}

.form-group-ort label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.form-control-ort {
  width: 100%;
  background: var(--dark-bg);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font);
  transition: var(--transition-fast);
  outline: none;
}

.form-control-ort:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(2, 190, 98, 0.1);
}

.form-control-ort::placeholder {
  color: var(--gray-600);
}

textarea.form-control-ort {
  resize: vertical;
  min-height: 120px;
}

select.form-control-ort {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

select.form-control-ort option {
  background: var(--dark-card);
}

.contact-info-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius-xl);
  padding: 32px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dark-border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(2, 190, 98, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--emerald);
  flex-shrink: 0;
}

.contact-info-item h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--gray-200);
  margin: 0;
}

.contact-info-item a {
  color: var(--gray-200);
  font-size: 14px;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.ortify-footer {
  background: #050505;
  border-top: 1px solid var(--dark-border);
  padding: 72px 0 0;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-brand img {
  height: 38px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-500);
  font-size: 13px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--emerald);
}

.footer-links a i {
  font-size: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--emerald);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

.footer-contact-item a {
  color: var(--gray-500);
}

.footer-contact-item a:hover {
  color: var(--emerald);
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--emerald);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 20px 0;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--gray-600);
  margin: 0;
}

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

.footer-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--dark-border2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--emerald);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(2, 190, 98, 0.4);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(2, 190, 98, 0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

.fade-in-left {
  animation: fadeInLeft 0.6s ease both;
}

.fade-in-right {
  animation: fadeInRight 0.6s ease both;
}

.scale-in {
  animation: scaleIn 0.5s ease both;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-600 {
  animation-delay: 0.6s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .section-pad {
    padding: 48px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .theme-toggle {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-feat-list {
    grid-template-columns: 1fr;
  }
}

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

  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-ortify {
    width: 100%;
    justify-content: center;
  }

  .stats-band .stat-num {
    font-size: 2rem;
  }

  .contact-form-card,
  .about-card,
  .contact-info-card {
    padding: 24px;
  }

  .service-detail-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-badges {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .hero-badges {
    gap: 6px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .cta-inner {
    padding: 60px 16px;
  }

  .page-hero {
    padding: 100px 0 40px;
  }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--dark-border2);
  background: var(--dark-card2);
  color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
  box-shadow: 0 0 16px rgba(2, 190, 98, 0.4);
  transform: rotate(20deg) scale(1.05);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

body.light .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

body.light .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

body.light .theme-toggle {
  background: #EEF1F5;
  border-color: #CBD5E1;
  color: #374151;
}

body.light .theme-toggle:hover {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

/* ============================================================
   LIGHT MODE
   ============================================================ */
body.light {
  --dark-bg: #F5F7FA;
  --dark-card: #FFFFFF;
  --dark-card2: #EEF1F5;
  --dark-border: #E2E8F0;
  --dark-border2: #CBD5E1;
  /* Remap gray text-color variables so inline style="color:var(--gray-NNN)" reads dark in light mode */
  --gray-200: #1F2937;
  --gray-300: #374151;
  --gray-400: #4B5563;
  color: #1a1a1a;
  background: #F5F7FA;
}

/* Smooth theme transition for everything except images */
body,
body * {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

/* Images must never shift color during theme transitions */
body img {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Base text */
body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light h5,
body.light h6 {
  color: #111827;
}

body.light p {
  color: #4B5563;
}

body.light a {
  color: var(--emerald);
}

/* Navbar */
body.light .ortify-nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: #E2E8F0;
}

body.light .ortify-nav.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

body.light .nav-links a {
  color: #374151;
}

body.light .nav-links a:hover {
  color: #111827;
}

body.light .nav-links a.active {
  color: var(--emerald);
}

body.light .nav-phone {
  color: #111827;
  border-color: rgba(2, 190, 98, 0.4);
  background: rgba(2, 190, 98, 0.07);
}

body.light .nav-phone:hover {
  color: #111827;
  background: rgba(2, 190, 98, 0.14);
  border-color: var(--emerald);
}

body.light .nav-toggle span {
  background: #111827;
}

body.light .nav-mobile {
  background: rgba(255, 255, 255, 0.99);
  border-top-color: #E2E8F0;
}

body.light .nav-mobile a {
  color: #374151;
  border-bottom-color: #E2E8F0;
}

body.light .nav-mobile a:hover,
body.light .nav-mobile a.active {
  color: var(--emerald);
}

/* Hero */
body.light .hero-section {
  background: #F5F7FA;
}

body.light .hero-title {
  color: #111827;
}

body.light .hero-subtitle {
  color: #4B5563;
}

body.light .hero-grid {
  background-image:
    linear-gradient(rgba(2, 190, 98, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 190, 98, 0.07) 1px, transparent 1px);
}

body.light .hero-glow-1 {
  background: radial-gradient(circle, rgba(2, 190, 98, 0.08) 0%, transparent 70%);
}

body.light .hero-glow-2 {
  background: radial-gradient(circle, rgba(253, 144, 73, 0.06) 0%, transparent 70%);
}

body.light .hero-card-float {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body.light .hero-card-float h4 {
  color: #111827;
}

body.light .hero-stat-label {
  color: #6B7280;
}

body.light .hero-stats {
  border-top-color: #E2E8F0;
}

/* Section headings */
body.light .section-title {
  color: #111827;
}

body.light .section-subtitle {
  color: #4B5563;
}

/* Page hero (inner pages) */
body.light .page-hero {
  background: #FFFFFF;
  border-bottom-color: #E2E8F0;
}

body.light .page-hero h1 {
  color: #111827;
}

body.light .page-hero p {
  color: #4B5563;
}

/* Page hero right-side floating credential badges */
.page-hero-deco {
  position: absolute;
  right: clamp(32px, 7vw, 100px);
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 13px;
  pointer-events: none;
  z-index: 2;
}

.page-hero-deco-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-300);
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.page-hero-deco-badge i { color: var(--emerald); font-size: 13px; }

.page-hero-deco-badge:nth-child(1) { animation: pageDecoFloat 5s ease-in-out infinite 0s; }
.page-hero-deco-badge:nth-child(2) { animation: pageDecoFloat 5s ease-in-out infinite 1.2s; margin-left: 22px; }
.page-hero-deco-badge:nth-child(3) { animation: pageDecoFloat 5s ease-in-out infinite 2.4s; }
.page-hero-deco-badge:nth-child(4) { animation: pageDecoFloat 5s ease-in-out infinite 3.6s; margin-left: 22px; }

@keyframes pageDecoFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

body.light .page-hero-deco-badge {
  background: #FFFFFF;
  border-color: #D1FAE5;
  color: #374151;
  box-shadow: 0 4px 16px rgba(2,190,98,0.12);
}

/* Product showcase cards (Live Projects) */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-bg);
  border: 1px solid var(--dark-border2);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

.product-card:hover {
  border-color: rgba(2,190,98,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-emerald);
}

.product-logo-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.product-logo-wrap img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.product-info { flex: 1; display: flex; flex-direction: column; }

.product-info h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.product-info p {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.6;
  flex: 1;
}

body.light .product-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

body.light .product-card:hover {
  border-color: rgba(2,190,98,0.4);
  box-shadow: 0 8px 30px rgba(2,190,98,0.12);
}

body.light .product-logo-wrap {
  background: #F0FDF4;
}

body.light .product-info h4 { color: #111827; }
body.light .product-info p  { color: #6B7280; }

/* Service icon light mode contrast fix */
body.light .service-icon {
  color: #059669;
}

/* ONDC project name (theme-safe text) */
.ondc-proj-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

body.light .ondc-proj-name { color: #111827; }

body.light .breadcrumb-ort {
  color: #6B7280;
}

body.light .breadcrumb-ort a {
  color: #6B7280;
}

body.light .breadcrumb-ort .current {
  color: #374151;
}

/* Service cards */
body.light .service-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

body.light .service-card:hover {
  border-color: rgba(2, 190, 98, 0.4);
  box-shadow: 0 8px 30px rgba(2, 190, 98, 0.12);
}

body.light .service-card h3 {
  color: #111827;
}

body.light .service-card p {
  color: #4B5563;
}

/* Value / Why cards */
body.light .value-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

body.light .value-card:hover {
  border-color: rgba(253, 144, 73, 0.4);
}

body.light .value-card h4 {
  color: #111827;
}

body.light .value-card p {
  color: #4B5563;
}

/* Partner cards */
body.light .partner-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

body.light .partner-card h4 {
  color: #111827;
}

body.light .partner-card p {
  color: #6B7280;
}

/* Project cards */
body.light .project-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

body.light .project-card-body h3 {
  color: #111827;
}

/* Cert cards */
body.light .cert-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

body.light .cert-card h5 {
  color: #111827;
}

/* About */
body.light .about-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

body.light .about-highlight p {
  color: #374151;
}

/* Timeline */
body.light .timeline-item::before {
  border-color: #F5F7FA;
}

body.light .timeline-item h4 {
  color: #111827;
}

body.light .timeline-item p {
  color: #4B5563;
}

/* ONDC visual */
body.light .ondc-visual {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

body.light .capability-list li {
  color: #374151;
  border-bottom-color: #E2E8F0;
}

/* Service detail cards */
body.light .service-detail-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

body.light .service-detail-header {
  background: #F8FAFC;
  border-bottom-color: #E2E8F0;
}

body.light .service-detail-header h3 {
  color: #111827;
}

body.light .service-detail-header p {
  color: #4B5563;
}

body.light .service-feat-list li {
  color: #374151;
}

/* Contact */
body.light .contact-form-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

body.light .contact-form-card h3 {
  color: #111827;
}

body.light .form-group-ort label {
  color: #374151;
}

body.light .form-control-ort {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #111827;
}

body.light .form-control-ort:focus {
  border-color: var(--emerald);
  background: #FFFFFF;
}

body.light .form-control-ort::placeholder {
  color: #9CA3AF;
}

body.light select.form-control-ort option {
  background: #FFFFFF;
  color: #111827;
}

body.light .contact-info-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

body.light .contact-info-item {
  border-bottom-color: #F0F2F5;
}

body.light .contact-info-item h5 {
  color: #6B7280;
}

body.light .contact-info-item p {
  color: #374151;
}

body.light .contact-info-item a {
  color: #374151;
}

body.light .contact-info-item a:hover {
  color: var(--emerald);
}

/* CTA banner */
body.light .cta-banner {
  background: linear-gradient(135deg, #e8f5ee 0%, #f5f7fa 40%, #fff3ea 100%);
  border-color: #E2E8F0;
}

body.light .cta-inner h2 {
  color: #111827;
}

body.light .cta-inner p {
  color: #4B5563;
}

/* Scrollbar */
body.light::-webkit-scrollbar-track {
  background: #F5F7FA;
}

body.light::-webkit-scrollbar-thumb {
  background: #CBD5E1;
}

/* Footer — full light mode (matches page theme) */
body.light .ortify-footer {
  background: #F0F4F8;
  border-top: 1px solid #E2E8F0;
}

body.light .footer-brand p {
  color: #6B7280;
}

body.light .footer-heading {
  color: #9CA3AF;
}

body.light .footer-links a {
  color: #4B5563;
}

body.light .footer-links a:hover {
  color: var(--emerald);
  transform: translateX(3px);
}

body.light .footer-contact-item i {
  color: var(--emerald);
}

body.light .footer-contact-item span {
  color: #374151;
}

body.light .footer-contact-item a {
  color: #374151;
}

body.light .footer-contact-item a:hover {
  color: var(--emerald);
}

body.light .footer-social a {
  background: #E2E8F0;
  color: #6B7280;
}

body.light .footer-social a:hover {
  background: var(--emerald);
  color: #FFFFFF;
}

body.light .footer-bottom {
  border-top-color: #D1D5DB;
}

body.light .footer-bottom p {
  color: #9CA3AF;
}

/* ============================================================
   LOGO — dark chip so white logo text stays readable in both themes
   ============================================================ */
.nav-logo img,
.footer-brand img {
  /* padding: 4px 14px; */
  /* border-radius: 10px; */
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  transition: opacity 0.2s ease !important;
  display: block;
}

/* ============================================================
   FULL-WIDTH CONTAINERS (consistent layout across all pages)
   ============================================================ */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  max-width: 100% !important;
  padding-left: clamp(20px, 4vw, 60px) !important;
  padding-right: clamp(20px, 4vw, 60px) !important;
}

/* ============================================================
   LIGHT MODE — remaining element fixes
   ============================================================ */

/* "MSME Registered" pill-white and similar white-tinted badges */
body.light .pill-white {
  background: rgba(55, 65, 81, 0.07);
  color: #374151;
  border-color: rgba(55, 65, 81, 0.15);
}

/* Outline button needs dark text/border on light background */
body.light .btn-ortify-outline {
  color: #374151;
  border-color: rgba(55, 65, 81, 0.3);
}

body.light .btn-ortify-outline:hover {
  color: #111827;
  background: rgba(55, 65, 81, 0.06);
  border-color: rgba(55, 65, 81, 0.55);
}

/* Keep white text on colored-background buttons (primary green & tangerine) */
body.light .btn-ortify-primary,
body.light .btn-ortify-primary:hover,
body.light .btn-ortify-tangerine,
body.light .btn-ortify-tangerine:hover {
  color: #FFFFFF !important;
}

/* Fix any inline style="color:var(--white)" that would be invisible
   on a light background (e.g. project titles, strong tags in body text) */
body.light [style*="color:var(--white)"] {
  color: #111827 !important;
}