:root {
  --primary: #d4af37;
  --primary-deep: #b38f25;
  --primary-light: #e8c968;
  --secondary: #0a192f;
  --secondary-soft: #112240;
  --accent: #facc15;
  --accent-light: #ffd966;
  --bg: #ffffff;
  --bg-soft: #f0f4f8;
  --text: #2a3a4a;
  --muted: #64748b;
  --border: rgba(114, 145, 165, 0.3);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 16px 42px rgba(10, 25, 47, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 25, 47, 0.18);
  --shadow-xl: 0 25px 80px rgba(10, 25, 47, 0.25);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --container-width: min(1160px, 92%);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 2%, rgba(10, 25, 47, 0.08), rgba(10, 25, 47, 0) 36%),
    radial-gradient(circle at 92% 14%, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: var(--container-width);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background: linear-gradient(145deg, rgba(237, 244, 251, 0.9), rgba(255, 255, 255, 0.95));
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.33);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.45);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-outline {
  border-color: #fff;
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  border-color: rgba(53, 84, 100, 0.6);
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.72);
}

.btn-secondary:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(10, 25, 47, 0.2);
}

.topbar {
  display: none;
}

.topbar .container {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding-top: 0.45rem;
  background: transparent;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding-top: 0.2rem;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  margin: 0.2rem auto 0.35rem;
  padding: 0 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.74), rgba(238, 246, 255, 0.66));
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(30, 80, 128, 0.16);
  transition: var(--transition-smooth);
}

.site-header.scrolled .nav-wrap {
  min-height: 64px;
  box-shadow: 0 15px 40px rgba(30, 80, 128, 0.22);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(238, 246, 255, 0.78));
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo-mark {
  width: 42px;
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--primary), var(--secondary));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-links a {
  color: #2f4a59;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  border-radius: 999px;
  padding: 0.42rem 0.82rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-links a::after {
  display: none;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-deep);
  background: rgba(212, 175, 55, 0.15);
}

.menu-toggle {
  border: 1px solid rgba(31, 122, 224, 0.26);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 10px;
  font-size: 1.5rem;
  color: var(--secondary);
  width: 42px;
  height: 42px;
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(580px, 76vh, 760px);
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(115deg, rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.65)),
    url("https://images.unsplash.com/photo-1581092160607-ee22731f4b67?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -240px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.45), rgba(212, 175, 55, 0));
  animation: float 6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 2rem;
  /* Increased top/bottom padding */
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 650px;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.stats-grid {
  margin-top: -2rem;
  position: relative;
  z-index: 3;
}

.stats-card-wrap {
  background: var(--glass-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
}

.stats-grid .grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 1rem;
}

.stat-value {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--secondary);
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.card-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.service-panel,
.industry-card,
.project-card,
.value-card,
.job-card,
.download-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(32, 65, 92, 0.11);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before,
.service-panel::before,
.industry-card::before,
.project-card::before,
.value-card::before,
.job-card::before,
.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.5s ease;
}

.card:hover::before,
.service-panel:hover::before,
.industry-card:hover::before,
.project-card:hover::before,
.value-card:hover::before,
.job-card:hover::before,
.download-card:hover::before {
  left: 100%;
}

.card:hover,
.service-panel:hover,
.industry-card:hover,
.project-card:hover,
.value-card:hover,
.job-card:hover,
.download-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(45, 52, 54, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
}

.card h3,
.service-panel h3,
.industry-card h3,
.project-card h3,
.value-card h3,
.job-card h3,
.download-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
  color: var(--secondary);
}

.card ul,
.service-panel ul {
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}

.card ul li::before,
.service-panel ul li::before {
  content: "- ";
  color: var(--accent);
}

.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-frame:hover::after {
  opacity: 1;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  transition: transform 0.6s ease;
}

.image-frame:hover img {
  transform: scale(1.08);
}

.industries-grid,
.projects-grid,
.values-grid,
.jobs-grid,
.downloads-grid,
.feature-grid {
  display: grid;
  gap: 1.1rem;
}

.industries-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.values-grid,
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jobs-grid,
.downloads-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.project-img,
.industry-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
}

.project-img img,
.industry-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.coverage-box {
  background: linear-gradient(135deg, rgba(234, 242, 253, 0.8), rgba(255, 255, 255, 0.78));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  backdrop-filter: blur(10px);
}

.coverage-map {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.country-chip {
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cfe0f8;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 500;
}

.cta {
  background: linear-gradient(120deg, rgba(10, 25, 47, 0.95), rgba(17, 34, 64, 0.9));
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
}

.page-hero {
  background: linear-gradient(120deg, rgba(10, 25, 47, 0.95), rgba(17, 34, 64, 0.9)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  padding: 5.5rem 0 4rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.8rem;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.94);
}

.stack-list {
  display: grid;
  gap: 1rem;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.value-pill {
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  border: 1px solid #cfe0f8;
  color: var(--secondary);
  background: #fff;
  font-weight: 500;
}

.details-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-card {
  background: var(--glass-strong);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

form {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 0.3rem;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd8e3;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: var(--transition-smooth);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
  background: #fffef8;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--primary-light);
}

.contact-box {
  background: var(--glass-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  backdrop-filter: blur(8px);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
  margin-top: 0.9rem;
}

.form-status {
  margin-top: 0.35rem;
  color: var(--secondary);
  font-size: 0.92rem;
}

.quick-contact {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.quick-contact a {
  border: 1px solid #cfe0f8;
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  color: var(--secondary);
  font-weight: 500;
  background: #f8fbff;
}

.quick-contact a:hover {
  background: var(--primary);
  color: #fff;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 280px;
}

.map-frame iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
}

.download-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer {
  background: linear-gradient(145deg, #0a192f, #020c1b);
  color: #dce7ef;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.4rem;
  padding: 3.2rem 0 1.8rem;
}

.footer-title {
  color: #fff;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.95rem 0;
  font-size: 0.9rem;
  color: #bed1df;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {

  .card-grid,
  .projects-grid,
  .values-grid,
  .feature-grid,
  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 4%;
    right: 4%;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(31, 122, 224, 0.2);
    border-radius: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0; /* Hides the border line when closed */
    pointer-events: none;
    backdrop-filter: blur(14px);
    transition: max-height 0.35s ease, opacity 0.3s ease;
  }

  .nav-links.open {
    max-height: 380px;
    opacity: 1; /* Shows the menu when open */
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    border-top: 1px solid #eef3f7;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 4%;
    width: 100%;
  }

  .stats-grid {
    margin-top: 1.4rem;
  }

  .card-grid,
  .projects-grid,
  .values-grid,
  .feature-grid,
  .industries-grid,
  .jobs-grid,
  .downloads-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    flex-direction: column;
    align-items: flex-start;
  }
}



/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.05);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.page-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}

/* Scroll indicator removed for cleaner professional appearance */

/* ============================================
   ENHANCED STAT CARDS
   ============================================ */

.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

/* ============================================
   ENHANCED CTA SECTION
   ============================================ */

.cta {
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
  animation: pulse 4s ease-in-out infinite;
}

/* ============================================
   TOOLTIP STYLES
   ============================================ */

[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 0.5rem 0.75rem;
  background: var(--secondary);
  color: #fff;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* ============================================
   PROGRESS BAR
   ============================================ */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

/* ============================================
   ENHANCED NAVIGATION LINKS
   ============================================ */

.nav-links a {
  position: relative;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a:hover::before,
.nav-links a.active::before {
  width: 80%;
}

/* ============================================
   STAGGERED ANIMATIONS
   ============================================ */

.card-grid>*,
.projects-grid>*,
.industries-grid>*,
.values-grid>* {
  animation: slideInUp 0.6s ease backwards;
}

.card-grid>*:nth-child(1),
.projects-grid>*:nth-child(1),
.industries-grid>*:nth-child(1),
.values-grid>*:nth-child(1) {
  animation-delay: 0.1s;
}

.card-grid>*:nth-child(2),
.projects-grid>*:nth-child(2),
.industries-grid>*:nth-child(2),
.values-grid>*:nth-child(2) {
  animation-delay: 0.2s;
}

.card-grid>*:nth-child(3),
.projects-grid>*:nth-child(3),
.industries-grid>*:nth-child(3),
.values-grid>*:nth-child(3) {
  animation-delay: 0.3s;
}

.card-grid>*:nth-child(4),
.projects-grid>*:nth-child(4),
.industries-grid>*:nth-child(4),
.values-grid>*:nth-child(4) {
  animation-delay: 0.4s;
}

.card-grid>*:nth-child(5),
.projects-grid>*:nth-child(5),
.industries-grid>*:nth-child(5),
.values-grid>*:nth-child(5) {
  animation-delay: 0.5s;
}

.card-grid>*:nth-child(6),
.projects-grid>*:nth-child(6),
.industries-grid>*:nth-child(6),
.values-grid>*:nth-child(6) {
  animation-delay: 0.6s;
}

/* ============================================
   ACCESSIBILITY - REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--glass-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}

.testimonial-content {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.author-info h4 {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.author-info p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.author-location {
  color: var(--primary) !important;
  font-weight: 500;
  margin-top: 0.2rem !important;
}

/* ============================================
   TRUST BADGES
   ============================================ */

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: var(--radius);
  transition: var(--transition-smooth);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.badge-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
  border-color: var(--primary);
}

.badge-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.badge-text h4 {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 0.2rem;
}

.badge-text p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
  }

  .badge-item {
    flex-direction: column;
    text-align: center;
  }
}


/* Text Center Utility */
.text-center {
  text-align: center !important;
}
/* Text Justify Utility */
.text-justify {
  text-align: justify !important;
  text-justify: inter-word !important;
  hyphens: auto !important;
  -webkit-hyphens: auto !important;
  word-spacing: -0.02em !important;
}

/* Highlight Box */
.highlight-box {
  background: rgba(31, 122, 224, 0.05);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
  margin-top: 1.5rem;
  color: var(--secondary);
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.highlight-box p {
  margin: 0;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #4a5568;
}

/* Logo Showcase */
.logo-showcase {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(245,247,250,0.9));
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(31, 122, 224, 0.08), inset 0 0 0 1px rgba(255,255,255,1);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease;
}
.logo-showcase:hover {
  transform: translateY(-5px);
}
.logo-showcase img {
  max-width: 90%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

@media (max-width: 768px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
  .highlight-box {
    padding: 1.2rem;
  }
}

/* Tighten job card lists */
.job-card ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
  color: var(--muted);
}
.job-card ul li {
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

/* ==========================================================================
   CLIENT OVERRIDE: Global Paragraph Justification
   ========================================================================== */
/* Justify all main paragraphs across the site as requested by the client */
p, .section-subtitle, .text-justify {
  text-align: justify !important;
  text-justify: inter-word !important;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* PROTECTED ZONES: Keep these left-aligned because narrow boxes break when justified */
.job-card p,
.job-card ul,
.job-card li,
.project-card p,
.value-card p,
.testimonial-card p,
.feature-list p,
.feature-list li,
.stat-label,
.stat-value,
.author-location,
.footer-info p,
.form-status,
.menu-toggle {
  text-align: left !important;
}

/* Ensure center-aligned sections stay centered (like the CTA heading) */
.cta-content p {
  text-align: left !important; 
}
