/* ============================================================
   REDONIX TECHNOLOGIES - MAIN STYLESHEET
   Primary: #105581 | Accent: #bb202f | Dark: #0a3352
   ============================================================ */

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

:root {
  --primary:      #105581;
  --primary-dark: #0a3352;
  --primary-light:#1a6fa3;
  --accent:       #bb202f;
  --accent-dark:  #8e1522;
  --dark:         #0d1117;
  --dark-2:       #161b22;
  --dark-3:       #21262d;
  --text:         #1a1a2e;
  --text-muted:   #6b7280;
  --text-light:   #9ca3af;
  --bg-light:     #f8fafc;
  --bg-grey:      #f1f5f9;
  --white:        #ffffff;
  --border:       #e2e8f0;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:       0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:    0 10px 40px rgba(0,0,0,.14);
  --shadow-xl:    0 20px 60px rgba(0,0,0,.18);
  --radius:       10px;
  --radius-lg:    18px;
  --radius-xl:    28px;
  --transition:   .3s cubic-bezier(.4,0,.2,1);
  --font:         'Inter', 'Segoe UI', sans-serif;
  --font-display: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p  { color: var(--text-muted); line-height: 1.75; }

/* ── UTILITIES ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.font-semibold { font-weight: 600; }

.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(187,32,47,.08);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-tag.blue {
  color: var(--primary);
  background: rgba(16,85,129,.08);
}

.section-heading { margin-bottom: 14px; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
}
.section-sub.left { margin: 0 0 40px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(187,32,47,.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(187,32,47,.45);
}
.btn-blue {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(16,85,129,.3);
}
.btn-blue:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16,85,129,.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: .85rem; }

.btn svg { width: 18px; height: 18px; }
.btn-arrow { transition: transform .25s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ── HEADER / NAV ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--primary-dark);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 0;
}
#header.scrolled {
  background: var(--primary-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 34px; width: auto; }

/* Main Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.88);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}
.nav-link svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  pointer-events: none;
  border: 1px solid var(--border);
  overflow: hidden;
}
.dropdown.mega { min-width: 700px; padding: 28px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px 24px; }
.dropdown.mega-2 { min-width: 480px; padding: 28px; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 24px; }

.nav-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.dropdown-group-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 12px 16px 6px;
  border-bottom: 1px solid var(--border);
  grid-column: 1 / -1;
  margin-bottom: 4px;
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}
.dropdown a:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 20px;
}
.dropdown a .drop-icon {
  width: 32px; height: 32px;
  background: var(--bg-grey);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  transition: var(--transition);
}
.dropdown a:hover .drop-icon { background: rgba(16,85,129,.1); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 9px 22px; font-size: .85rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
  background: rgba(255,255,255,.1);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--primary-dark);
  z-index: 999;
  overflow-y: auto;
  padding: 20px 0 40px;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  font-weight: 500;
}
.mobile-nav-link svg { width: 16px; height: 16px; transition: transform .25s; }
.mobile-nav-link.open svg { transform: rotate(180deg); }
.mobile-dropdown { display: none; background: rgba(0,0,0,.15); }
.mobile-dropdown.open { display: block; }
.mobile-dropdown a {
  display: block;
  padding: 11px 24px 11px 40px;
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s;
}
.mobile-dropdown a:hover { color: #fff; }
.mobile-nav-cta { padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a7bc4 100%);
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; right: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: #1a7bc4;
  bottom: -100px; left: -100px;
}
.hero-particles {
  position: absolute; inset: 0;
}
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(255,255,255,.6);
  border-radius: 50%;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-600px) translateX(100px); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: .8rem;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.7;transform:scale(1.3)} }

.hero-title {
  color: #fff;
  margin-bottom: 24px;
  font-weight: 800;
}
.hero-title .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  animation: underlineGrow .8s .5s forwards;
}
@keyframes underlineGrow { to { transform: scaleX(1); } }

.hero-desc {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.hero-stat .num span { color: var(--accent); }
.hero-stat .label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
  display: block;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,.15);
  align-self: stretch;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.hero-main-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(20px);
  animation: heroCardFloat 6s ease-in-out infinite;
}
@keyframes heroCardFloat {
  0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)}
}
.hero-card-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.hero-service-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  transition: var(--transition);
}
.hero-service-item:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }
.hero-service-item .icon { font-size: 1.8rem; margin-bottom: 8px; }
.hero-service-item .name {
  font-size: .75rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
  line-height: 1.3;
}

.hero-progress-bar {
  background: rgba(255,255,255,.1);
  border-radius: 50px;
  height: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}
.hero-progress-bar .fill {
  height: 100%;
  background: var(--accent);
  border-radius: 50px;
  animation: fillBar 2.5s ease-out forwards;
}
@keyframes fillBar { from{width:0} }
.hero-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}

.floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  animation: badgeFloat 4s ease-in-out infinite;
}
.floating-badge-1 { top: -20px; right: -20px; animation-delay: 0s; }
.floating-badge-2 { bottom: 30px; left: -30px; animation-delay: 1.5s; }
.floating-badge .badge-icon {
  width: 32px; height: 32px;
  background: var(--bg-grey);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
@keyframes badgeFloat {
  0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-8px) rotate(2deg)}
}

/* ── TRUSTED BY ── */
.trusted-bar {
  background: var(--bg-grey);
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}
.trusted-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.trusted-logos {
  display: flex;
  gap: 48px;
  animation: scrollLogos 30s linear infinite;
  align-items: center;
}
.trusted-logos:hover { animation-play-state: paused; }
.trust-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: .5;
  transition: opacity .25s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.trust-logo:hover { opacity: .85; }
@keyframes scrollLogos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SERVICES SECTION ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transition: transform .35s;
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(16,85,129,.1), rgba(16,85,129,.05));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transform: scale(1.1) rotate(-5deg);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { font-size: .9rem; margin-bottom: 20px; }
.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 600;
  transition: gap .25s;
}
.service-card:hover .learn-more { gap: 10px; color: var(--accent); }
.service-card .learn-more svg { width: 16px; height: 16px; }

/* ── WHY CHOOSE US ── */
.why-section { background: var(--primary-dark); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-item {
  padding: 36px 28px;
  background: rgba(255,255,255,.03);
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.why-item:hover { background: rgba(255,255,255,.07); }
.why-item:nth-child(4n) { border-right: none; }
.why-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}
.why-item h4 { color: #fff; margin-bottom: 10px; font-size: 1rem; }
.why-item p  { color: rgba(255,255,255,.6); font-size: .87rem; }

/* ── STATS / COUNTER ── */
.stats-section {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-suffix {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: rgba(255,255,255,.7);
}
.stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  margin-top: 8px;
  font-weight: 500;
  display: block;
}

/* ── PROCESS ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 48px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 80px; height: 80px;
  background: var(--white);
  border: 3px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}
.process-step:hover .process-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.1);
}
.process-step h4 { margin-bottom: 10px; }
.process-step p  { font-size: .88rem; }

/* ── INDUSTRIES ── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.industry-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.industry-card:hover .industry-icon { background: rgba(255,255,255,.15); }
.industry-card:hover h5, .industry-card:hover p { color: rgba(255,255,255,.9); }
.industry-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
  width: 56px; height: 56px;
  background: var(--bg-grey);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  transition: var(--transition);
}
.industry-card h5 { font-size: .95rem; margin-bottom: 4px; transition: color .25s; }
.industry-card p  { font-size: .78rem; transition: color .25s; }

/* ── TECH STACK ── */
.tech-section { background: var(--bg-light); }
.tech-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.tech-tab {
  padding: 10px 22px;
  border-radius: 8px 8px 0 0;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tech-tab:hover { color: var(--primary); }
.tech-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(16,85,129,.05);
}
.tech-panel { display: none; }
.tech-panel.active { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.tech-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.tech-badge span { font-size: 1.4rem; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--bg-light); }
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px; right: 28px;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary);
  opacity: .1;
  font-family: Georgia, serif;
}
.testimonial-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 16px; }
.testimonial-text {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .95rem; }
.testimonial-role { font-size: .82rem; color: var(--text-light); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(187,32,47,.3) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.05) 0%, transparent 60%);
}
.cta-banner-inner {
  position: relative;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 36px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── CERTIFICATIONS / AWARDS ── */
.awards-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.award-badge {
  width: 80px; height: 80px;
  background: var(--bg-grey);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  border: 2px solid var(--border);
  transition: var(--transition);
}
.award-item:hover .award-badge {
  border-color: var(--primary);
  background: rgba(16,85,129,.05);
  transform: scale(1.05);
}
.award-name { font-size: .82rem; font-weight: 600; color: var(--text-muted); }

/* ── BLOG / INSIGHTS ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.blog-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.blog-img .blog-cat {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.blog-meta svg { width: 13px; height: 13px; }
.blog-body h4 { margin-bottom: 10px; line-height: 1.4; }
.blog-body p  { font-size: .88rem; flex: 1; }
.blog-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-read-more {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: .85rem;
  font-weight: 600;
  transition: gap .2s;
}
.blog-card:hover .blog-read-more { gap: 10px; color: var(--accent); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand { }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 36px; }
.footer-tagline {
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.08);
}
.footer-social:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h5 {
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .86rem;
  color: rgba(255,255,255,.55);
  transition: color .2s, padding-left .2s;
}
.footer-links a:hover {
  color: rgba(255,255,255,.9);
  padding-left: 4px;
}

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .86rem;
  color: rgba(255,255,255,.55);
}
.footer-contact-item .icon {
  width: 34px; height: 34px;
  background: rgba(16,85,129,.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  color: rgba(255,255,255,.8);
}
.footer-contact-item strong { color: rgba(255,255,255,.8); display: block; font-size: .8rem; }

.footer-newsletter h5 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: 10px; }
.footer-newsletter p  { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer-newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}
.footer-newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: none;
  padding: 11px 14px;
  color: #fff;
  font-size: .85rem;
  outline: none;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.footer-newsletter-form button {
  background: var(--accent);
  color: #fff;
  padding: 11px 18px;
  font-size: .85rem;
  font-weight: 600;
  transition: background .2s;
}
.footer-newsletter-form button:hover { background: var(--accent-dark); }

.footer-badges {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.footer-badge {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  letter-spacing: .04em;
}

.footer-divider { border-color: rgba(255,255,255,.07); margin: 0; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ── PAGE HEADER (Inner Pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero-inner { position: relative; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 12px; height: 12px; opacity: .5; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 600px; }

/* ── TEAM CARDS ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.team-photo {
  height: 220px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.team-info { padding: 24px; }
.team-name { font-size: 1.05rem; margin-bottom: 4px; }
.team-role { font-size: .85rem; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.team-bio  { font-size: .85rem; }
.team-socials { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.team-social {
  width: 32px; height: 32px;
  background: var(--bg-grey);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.team-social:hover { background: var(--primary); color: #fff; }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16,85,129,.1);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── ACCORDION / FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: .95rem;
}
.faq-icon {
  width: 28px; height: 28px;
  background: var(--bg-grey);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--primary);
  font-size: 1.2rem;
}
.faq-item.open .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 18px; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 500;
  box-shadow: var(--shadow);
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ── LOADING SCREEN ── */
#loader {
  position: fixed; inset: 0;
  background: var(--primary-dark);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity .5s, visibility .5s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { height: 40px; animation: loaderPulse 1.5s ease-in-out infinite; }
@keyframes loaderPulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 2px;
  animation: loaderFill 1.8s ease forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ── FLOATING WHATSAPP ── */
.wa-float {
  position: fixed;
  bottom: 90px; right: 30px;
  width: 52px; height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 499;
  transition: var(--transition);
  animation: waFloat 3s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
@keyframes waFloat {
  0%,100%{transform:scale(1)} 50%{transform:scale(1.06)}
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-slider { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .nav-menu, .nav-cta .btn:not(.btn-primary) { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .process-grid { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .process-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .testimonials-slider { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-service-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .footer-top { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.6rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-grey); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ── SELECTION ── */
::selection { background: var(--accent); color: #fff; }
