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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: #1a1a2e;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

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

/* ===================== CSS VARS ===================== */
:root {
  --blue: #0057ff;
  --blue-dark: #0040cc;
  --blue-dk: #0040cc;
  --blue-light: #e8f0ff;
  --blue-mid: #c7d9ff;
  --cyan: #0057ff;
  --dark: #111827;
  --dark2: #1e293b;
  --white: #ffffff;
  --gray: #f0f4ff;
  --gray2: #f8faff;
  --muted: #64748b;
  --border: #dde5f5;
  --text: #111827;
  --accent: #2563eb;
}

/* ===================== MAIN CONTENT OFFSET ===================== */
main {
  padding-top: 68px;
}

/* ===================== NAV ===================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0, 87, 255, 0.06);
  padding: 17px 4%;
}

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

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

.nav-logo img {
  height: 64px !important;
  width: auto;
}

.logo-fallback {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo-fallback span {
  color: var(--blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  color: #374151;
  font-size: 16px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  font-weight:bold;
}

.nav-menu a:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.nav-menu .btn-contact {
  background: var(--blue);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 7px;
  font-weight: 600;
}

.nav-menu .btn-contact:hover {
  background: var(--blue-dark);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown>a::after {
  content: ' ▾';
  font-size: 0.7rem;
}

/* ===================== HERO ===================== */
.hero {
  min-height: calc(100vh - 68px);
  background: linear-gradient(135deg, #eef3ff 0%, #dce8ff 50%, #e8f0ff 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 87, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-glow1 {
  position: absolute;
  top: -250px;
  left: -150px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow2 {
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 4%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 86, 219, 0.1);
  border: 1px solid rgba(26, 86, 219, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-sub {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 38px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s;
  display: inline-block;
  border: 2px solid var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.35);
}

.btn-ghost {
  border: 2px solid var(--border);
  color: var(--dark);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.hero-video-wrap {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.15), transparent);
  pointer-events: none;
}

/* ===================== STATS ===================== */
.stats {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 4%;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid var(--border);
  position: relative;
}

.stat-cell:last-child {
  border-right: none;
}

.stat-n {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.stat-l {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

.certs-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 4%;
  overflow: hidden;
}

.certs-inner-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.certs-track {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.cert-item {
  height: 44px;
  width: 90px;
  background: var(--gray);
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%)
  }
}

/* ===================== SECTIONS SHARED ===================== */
.section {
  padding: 88px 4%;
}

.sec-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.sec-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 14px;
}

.sec-sub {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.sec-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

/* ===================== CORE CAPABILITIES (Vertical Scroll Stack) ===================== */
.caps-scroll-section {
  overflow: hidden;
  background: var(--gray);
}

.caps-scroll-section .wrapper {
  height: 100vh;
}

.caps-scroll-section .list {
  height: 100%;
  display: flex;
  position: relative;
  padding: 0;
}

.caps-item {
  width: 100vw;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.caps-item-content {
  background: #fff;
  color: var(--text);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px;
  display: flex;
  position: relative;
  width: 45%;
}

.caps-item-content .cap-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  height: 52px;
  width: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  position: absolute;
  top: 60px;
  left: 60px;
}

.caps-item-content h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
  line-height: 1.2;
}

.caps-item-content p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.caps-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.caps-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--blue-light);
  color: var(--blue);
  padding: 5px 12px;
  border-radius: 100px;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 9px 20px;
  border-radius: 7px;
  transition: all 0.2s;
}

.explore-btn:hover {
  background: var(--blue);
  color: #fff;
}

.caps-item-media {
  width: 55%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.caps-intro-label {
  padding: 20px 4%;
  background: var(--gray);
  border-bottom: 1px solid var(--border);
}

.caps-intro-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===================== WHY RK ENTERPRISES ===================== */
.why {
  background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--blue-light) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  opacity: 0.6;
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.why-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 87, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--blue);
  box-shadow: 0 20px 50px rgba(0, 87, 255, 0.12);
  transform: translateY(-8px);
}

.why-icon-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
  box-shadow: 0 8px 16px rgba(0, 87, 255, 0.25);
  color: #fff;
  transition: transform 0.3s;
}

.why-card:hover .why-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.why-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark);
  letter-spacing: -0.2px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.why-list {
  list-style: none;
}

.why-list li {
  font-size: 0.85rem;
  color: #475569;
  padding: 6px 0 6px 20px;
  position: relative;
  font-weight: 500;
}

.why-list li::before {
  content: '✓';
  color: var(--blue);
  position: absolute;
  left: 0;
  font-weight: 900;
  font-size: 0.9rem;
}

/* ===================== HORIZONTAL SCROLL — INTEL SECTIONS ===================== */
.intel-scroll-section {
  overflow: hidden;
}

.intel-scroll-section .wrapper {
  height: 100vh;
}

.intel-scroll-section .list {
  height: 100%;
  display: flex;
  position: relative;
}

.intel-item {
  width: 100vw;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.intel-item-text {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 60px;
  background: linear-gradient(135deg, #eef3ff, #dce8ff);
  color: var(--dark);
}

.intel-item-text .eyebrow {
  color: var(--blue);
}

.intel-item-text h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}

.intel-item-text h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.intel-item-text p {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.8;
}

.intel-item-img {
  width: 55%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.intel-placeholder {
  width: 55%;
  height: 100%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #c7d9ff, #a5c1ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  opacity: 0.7;
}

/* ===================== ACHIEVEMENTS ===================== */
.achievements {
  background: var(--gray);
}

.ach-header {
  text-align: center;
  margin-bottom: 60px;
}

.ach-header .sec-sub {
  margin: 0 auto;
}

.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.ach-cell {
  background: #fff;
  padding: 44px 32px;
  text-align: center;
}

.ach-n {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.ach-l {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}

/* ===================== INDUSTRIES ===================== */
.industries {
  background: #fff;
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.ind-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
}

.ind-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.1);
  border-color: var(--blue);
}

.ind-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.ind-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.ind-img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #c7d9ff, #a5c1ff);
}

.ind-body {
  padding: 22px;
}

.ind-body h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.ind-body p {
  font-size: 0.855rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ===================== INDIA PRESENCE ===================== */
.presence {
  background: var(--gray);
}

.presence-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.pres-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.pres-stat {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.pres-stat-n {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
}

.pres-stat-l {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

.map-box {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: #fff;
}

.map-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================== PROJECTS ===================== */
.projects {
  background: #fff;
}

.proj-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.proj-video-box {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--blue-light);
  border: 1.5px solid var(--border);
}

.proj-video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proj-text .sec-sub {
  max-width: 480px;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.proj-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.proj-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 87, 255, 0.08);
}

.proj-img {
  height: 130px;
  background: linear-gradient(135deg, #dce8ff, #b8d0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  overflow: hidden;
}

.proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proj-body {
  padding: 14px 16px;
}

.proj-body h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
}

/* ===================== CLIENTS CAROUSEL ===================== */
.clients-section {
  background: var(--gray);
  padding: 80px 4%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.clients-inner h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.clients-inner p {
  font-size: 0.97rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.clients-track-wrap {
  overflow: hidden;
}

.clients-track {
  display: flex;
  gap: 24px;
  animation: marquee 22s linear infinite;
  width: max-content;
}

.client-logo {
  height: 58px;
  min-width: 130px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  padding: 10px 16px;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

/* ===================== CERTIFICATIONS ===================== */
.certifications {
  background: var(--gray);
  padding: 60px 4%;
}

.cert-section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.cert-sec-title {
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 40px;
}

.cert-scroll-wrap {
  overflow: hidden;
  position: relative;
}

.cert-scroll-wrap::before,
.cert-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.cert-scroll-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--gray), transparent);
}

.cert-scroll-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--gray), transparent);
}

.cert-track {
  display: flex;
  gap: 20px;
  animation: marquee 32s linear infinite;
  width: max-content;
  padding: 10px 0;
}

.cert-badge {
  height: 70px;
  min-width: 110px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}

.cert-badge img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.cert-badge-text {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

/* ===================== FOOTER ===================== */
footer {
  background: #f8faff;
  border-top: 1.5px solid var(--border);
  color: var(--muted);
  padding: 70px 4% 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.foot-brand-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
  letter-spacing: -0.5px;
  display: block;
  margin-bottom: 16px;
}

.foot-brand-logo span {
  color: var(--blue);
}

.foot-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 270px;
  margin-bottom: 20px;
}

.foot-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.foot-contact a:hover {
  color: var(--blue);
}

.foot-col h4 {
  color: var(--dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.foot-col ul {
  list-style: none;
}

.foot-col ul li {
  margin-bottom: 9px;
}

.foot-col ul li a {
  color: var(--muted);
  font-size: 0.855rem;
  transition: color 0.2s;
}

.foot-col ul li a:hover {
  color: var(--blue);
}

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

.foot-bottom p {
  font-size: 0.8rem;
}

.foot-links {
  display: flex;
  gap: 20px;
}

.foot-links a {
  color: var(--muted);
  font-size: 0.8rem;
  transition: color 0.2s;
}

.foot-links a:hover {
  color: var(--blue);
}

/* ===================== CHATBOT BTN ===================== */
.chatbot-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 8888;
  background: var(--blue);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.4);
  cursor: pointer;
  transition: transform 0.2s;
}

.chatbot-btn:hover {
  transform: scale(1.08);
}

.chatbot-btn svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

/* ===================== RESPONSIVE ===================== */
@media(max-width:1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-video-wrap {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ind-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proj-intro {
    grid-template-columns: 1fr;
  }

  .proj-grid {
    grid-template-columns: 1fr 1fr;
  }

  .presence-inner {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .caps-item-content {
    padding: 40px;
  }

  .caps-item-content .cap-num {
    top: 40px;
    left: 40px;
  }

  .intel-item-text {
    padding: 50px 40px;
  }
}

@media(max-width:768px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-cell:nth-child(2) {
    border-right: none;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ach-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proj-grid {
    grid-template-columns: 1fr 1fr;
  }

  .caps-item {
    flex-direction: column;
  }

  .caps-item-content {
    width: 100%;
    height: 50%;
    padding: 30px;
    padding-top: 60px;
  }

  .caps-item-content .cap-num {
    top: 16px;
    left: 20px;
  }

  .caps-item-media {
    width: 100%;
    height: 50%;
  }

  .intel-item {
    flex-direction: column;
  }

  .intel-item-text {
    width: 100%;
    height: 50%;
    padding: 30px;
  }

  .intel-item-img,
  .intel-placeholder {
    width: 100%;
    height: 50%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:576px) {

  .why-grid,
  .ach-grid,
  .ind-grid,
  .proj-grid {
    grid-template-columns: 1fr;
  }

  .proj-intro {
    grid-template-columns: 1fr;
  }
}

/* ===================== HAMBURGER / MOBILE NAV ===================== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}

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

@media(max-width:768px) {
  .nav-hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 4% 20px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,87,255,.08);
    z-index: 9998;
  }

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

  .nav-menu a {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    width: 100%;
    display: block;
  }

  .nav-menu .btn-contact {
    margin-top: 8px;
    text-align: center;
    padding: 12px 20px;
  }
}


/* ===================== PRODUCT CARDS (home featured — full styles in product.css) ===================== */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 768px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pgrid { grid-template-columns: 1fr; } }

/* ===================== GENERIC SECTION HELPERS ===================== */
.sec {
  padding: 80px 4%;
}

.sec-in {
  max-width: 1280px;
  margin: 0 auto;
}

/* ===================== SMALL SCREEN EXTRAS ===================== */
@media(max-width:480px) {
  .hero-inner { padding: 60px 4%; }
  .hero h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
  .section { padding: 60px 4%; }
  .sec { padding: 56px 4%; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .foot-links { justify-content: center; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-cell:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: none; }
  .chatbot-btn { bottom: 16px; right: 16px; width: 50px; height: 50px; }
}

/* ===================== FOOTER SOCIAL ===================== */
.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.foot-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all .2s;
  flex-shrink: 0;
}

.foot-social-btn svg {
  width: 16px;
  height: 16px;
}

.foot-social-btn:hover {
  background: var(--blue);
  color: #fff;
}
