/* CSS Variables for Color Scheme */
:root {
  --clr-theme-1: #0e84e1;
  --clr-theme-2: #0a0a09;
  --clr-theme-3: #6551b3;
  --clr-theme-4: #9747ff;
  --clr-theme-5: #4285f4;

  /* Additional colors */
  --clr-white: #ffffff;
  --clr-light: #f8f9fa;
  --clr-gray: #6c757d;
  --clr-dark: #343a40;
  --clr-black: #212529;

  /* Fonts */
  --font-primary: "Inter", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Ensure smooth scrolling works on all browsers */

/* Fallback for browsers that don't support scroll-behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Smooth scroll for all scrollable elements */

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--clr-black);
  background-color: var(--clr-white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

body {
  overscroll-behavior-y: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: var(--spacing-sm);
  font-size: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary1 {
  /* background-color: var(--clr-theme-1); */
  background: linear-gradient(
    to right,
    var(--clr-theme-1),
    var(--clr-theme-3),
    var(--clr-theme-3),
    var(--clr-theme-1)
  );
  color: var(--clr-white);
  border-color: var(--clr-theme-1);
  padding: 15px;
}

@media (max-width: 1055px) and (min-width: 993px) {
  .btn-primary1 {
    font-size: 11px !important;
  }
}

.btn-primary {
  background-color: var(--clr-theme-1);
  color: var(--clr-white);
  border-color: var(--clr-theme-1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: rgba(14, 132, 225, 0.5) 15px 15px 15px;

  background: linear-gradient(
    to right,
    var(--clr-theme-1),
    var(--clr-theme-3),
    var(--clr-theme-3),
    var(--clr-theme-1)
  );
  border-color: rgb(209, 212, 218);
}

.btn-secondary {
  background-color: transparent;
  color: var(--clr-theme-1);
  border-color: var(--clr-theme-1);
}

.btn-secondary:hover {
  background-color: rgba(14, 132, 225, 0.1);
  transform: translateY(-2px);
}

.btn-large {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 1.1rem;
}

/* preloader */

/* =========================
   PRELOADER WRAPPER
========================= */
.preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;

  opacity: 1;
  transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}

.preloader.loaded {
  opacity: 0;
  filter: blur(6px);
  transform: scale(1.05);
  pointer-events: none;
}

/* =========================
   RUBIX CUBE
========================= */
.rubix-cube {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
}

.rubix-cube .layer {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #0e84e1;
}

.layer-3 {
  background: #6551b3;
}

/* grid positions */
.layer-1 {
  top: 0;
  left: 0;
  animation: rc4 2.4s infinite linear;
}
.layer-2 {
  top: 0;
  left: 20px;
  animation: rc3 2.4s infinite linear;
}
.layer-3 {
  top: 0;
  left: 40px;
}

.layer-4 {
  top: 20px;
  left: 0;
  animation: rc5 2.4s infinite linear;
}
.layer-5 {
  top: 20px;
  left: 20px;
  animation: rc2 2.4s infinite linear;
}
.layer-6 {
  top: 20px;
  left: 40px;
  animation: rc1 2.4s infinite linear;
}

.layer-7 {
  top: 40px;
  left: 0;
  animation: rc6 2.4s infinite linear;
}
.layer-8 {
  top: 40px;
  left: 20px;
  animation: rc7 2.4s infinite linear;
}

/* =========================
   ANIMATIONS (movement engine)
========================= */

@keyframes rc1 {
  0% {
    top: 20px;
    left: 40px;
  }
  50% {
    top: 40px;
    left: 40px;
  }
  100% {
    top: 40px;
    left: 20px;
  }
}

@keyframes rc2 {
  0% {
    left: 20px;
  }
  50% {
    left: 40px;
  }
  100% {
    left: 40px;
  }
}

@keyframes rc3 {
  0% {
    top: 0;
  }
  50% {
    top: 20px;
  }
  100% {
    top: 20px;
  }
}

@keyframes rc4 {
  0% {
    left: 0;
  }
  50% {
    left: 20px;
  }
  100% {
    left: 20px;
  }
}

@keyframes rc5 {
  0% {
    top: 20px;
  }
  50% {
    top: 0;
  }
  100% {
    top: 0;
  }
}

@keyframes rc6 {
  0% {
    top: 40px;
  }
  50% {
    top: 20px;
  }
  100% {
    top: 20px;
  }
}

@keyframes rc7 {
  0% {
    left: 20px;
  }
  50% {
    left: 0;
  }
  100% {
    left: 0;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1f242c;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: var(--spacing-sm) 0;
}
.nav-menu .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu .nav-link.active {
  color: #0e84e1; /* your theme color */
}

.nav-menu .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50px;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #0e84e1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-theme-1);
} */

.logo img {
  height: 50px; /* control navbar height */
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
}

.nav-link {
  text-decoration: none;
  color: var(--clr-white);
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--clr-theme-1);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--clr-theme-1);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
}

.nav-cta {
  margin-left: var(--spacing-md);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--clr-white);
  transition: all 0.3s ease;
}

/* Hero Section */
/* .hero-section {
  padding-top: 40px;
  padding-bottom: 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
} */

/* ================= HERO BACKGROUND ================= */

.hero-section {
  position: relative;
  padding: 120px 0;
  min-height: 90vh;

  background-image: url("/assets/images/blog-post-1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
}

/* dark overlay for readability */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* keep content above overlay */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  color: #ffffff !important;
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.25rem;
  max-width: 750px;
  margin: 0 auto var(--spacing-lg);
}
.highlight-item {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
    min-height: 75vh;
    background-position: center top;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 70px 0;
    min-height: auto;
  }
}

/* .hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
} */

/* ===== ABOUT / WHO WE ARE IMAGE LAYOUT ===== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

/* left image */
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* adjust your existing content-block when inside grid */
.about-grid .content-block {
  margin: 0;
}
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    order: -1; /* image goes on top */
  }
}
@media (max-width: 576px) {
  .about-image img {
    border-radius: var(--radius-md);
  }
}

/* ===== ABOUT IMAGE WITH HOVER OVERLAY ===== */

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* image */
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;

  transition: transform 0.6s ease;
}

/* overlay layer */
.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 132, 225, 0),
    rgba(101, 81, 179, 0)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}
.about-image:hover img {
  transform: scale(1.06);
}

.about-image:hover .about-image-overlay {
  opacity: 1;
  background: linear-gradient(
    135deg,
    rgba(14, 132, 225, 0.35),
    rgba(101, 81, 179, 0.35)
  );
}
@media (max-width: 768px) {
  .about-image-overlay {
    opacity: 0.15;
  }
}

.hero-title {
  color: var(--clr-theme-2);
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--clr-gray);
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
/* 
.trust-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
} */

.trust-highlights {
  display: flex;
  flex-wrap: nowrap; /* 🔴 stop wrapping */
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.highlight-item {
  flex: 1; /* each takes equal width */
  min-width: 0; /* prevents overflow bugs */
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  background-color: var(--clr-white);
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

@media (min-width: 992px) {
  .trust-highlights {
    flex-wrap: nowrap;
  }

  .highlight-item {
    flex: 1;
  }
}
@media (max-width: 768px) {
  .trust-highlights {
    flex-direction: column;
    flex-wrap: wrap; /* override your nowrap */
    align-items: stretch; /* full width */
    gap: var(--spacing-sm);
  }

  .highlight-item {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
  }
}

.highlight-item {
  background: #ffffff;
  transition: background 0.3s ease, color 0.3s ease;
}

.highlight-item:hover {
  background: linear-gradient(
    to right,
    var(--clr-theme-1),
    var(--clr-theme-3),
    var(--clr-theme-3),
    var(--clr-theme-1)
  );
  color: #fff;
}

.highlight-item:hover {
  transform: translateY(-5px);
}

.highlight-item i {
  color: var(--clr-theme-1);
  font-size: 1.2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
}

/* Sections */
.section {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-subtitle {
  color: var(--clr-gray);
  font-size: 1.1rem;
}

/* Who We Are */
.who-we-are {
  background-color: var(--clr-light);
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--clr-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.content-block p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

/* Services Section */
.services-section {
  background-color: var(--clr-white);
}

/* ===== SERVICES GRID — CONTROLLED COLUMNS ===== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row */
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  align-items: stretch;
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==============================
   SERVICE CARD OVERLAY EFFECT
============================== */

.service-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card h3,
.service-card p {
  text-align: center;
}

/* keep icon perfectly centered */
.service-icon {
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background-color: var(--clr-white);
  border: 2px solid #d5d8db;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75);
  border-color: var(--clr-theme-1);
}

.service-icon {
  width: 85px;
  height: 65px;
  background: linear-gradient(
    135deg,
    var(--clr-theme-1) 0%,
    var(--clr-theme-5) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  color: var(--clr-white);
  font-size: 2rem;
}

.service-card h3 {
  color: var(--clr-theme-2);
  margin-bottom: var(--spacing-sm);
  font-size: 16px;
}
.service-card p {
  margin-bottom: var(--spacing-sm);
  font-size: 14px;
}

.section-cta {
  text-align: center;
  margin-top: var(--spacing-lg);
  /* padding: 16px 4px !important; */
}
.full {
  background-color: var(--clr-theme-1);
  color: var(--clr-white);
  border-color: var(--clr-theme-1);
  padding: 16px;
}
.full:hover {
  transform: translateY(-2px);
  box-shadow: rgba(14, 132, 225, 0.5) 15px 15px 15px;

  background: linear-gradient(
    to right,
    var(--clr-theme-1),
    var(--clr-theme-3),
    var(--clr-theme-3),
    var(--clr-theme-1)
  );
  border-color: rgb(209, 212, 218);
}
/* Why Us Section */
.why-us-section {
  background: linear-gradient(135deg, var(--clr-theme-2) 0%, #1a1a1a 100%);
  color: var(--clr-white);
}

.why-us-section .section-header h2 {
  color: var(--clr-white);
}

.value-points {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.value-point {
  text-align: center;
  padding: var(--spacing-md);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.value-point:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.value-point i {
  font-size: 2.5rem;
  color: var(--clr-theme-1);
  margin-bottom: var(--spacing-sm);
}

.value-point h3 {
  font-size: 1.1rem;
  color: var(--clr-white);
}

.value-statement {
  text-align: center;
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  padding: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Process Section */
.process-section {
  background-color: var(--clr-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.process-step {
  background-color: var(--clr-white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--clr-theme-1) 0%,
    var(--clr-theme-5) 100%
  );
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.process-summary {
  text-align: center;
  font-size: 1.1rem;
  color: var(--clr-gray);
  font-style: italic;
}

@media (max-width: 600px) {
  .service-icon {
    width: 77px;
    height: 60px;
    background: linear-gradient(
      135deg,
      var(--clr-theme-1) 0%,
      var(--clr-theme-5) 100%
    );
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    color: var(--clr-white);
    font-size: 2rem;
  }
}

/* Industries Section */
.industries-section {
  background-color: var(--clr-white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch; /* important */
}

.industry-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;

  border: 2px solid #e8ecf1;

  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease, background 0.35s ease;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical balance */
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 132, 225, 0.08),
    rgba(101, 81, 179, 0.08)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}
.industry-card h3 {
  font-size: 1.1rem;
  color: var(--clr-theme-2);
  margin: 0;
  transition: color 0.35s ease;
}
@media (max-width: 992px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

.industry-card h3 {
  min-height: 2.6em; /* locks title block height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.industry-card i {
  margin-bottom: 16px;
}

.industry-card h3 {
  line-height: 1.3;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
  border-color: rgba(14, 132, 225, 0.55);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card:hover i {
  transform: scale(1.15) translateY(-2px);
  color: var(--clr-theme-3);
}

.industry-card:hover h3 {
  color: var(--clr-theme-1);
}

.industry-card i {
  font-size: 2.5rem;
  color: var(--clr-theme-1);
  margin-bottom: var(--spacing-sm);
}

.industries-summary {
  text-align: center;
  font-size: 15px;
  color: black;
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   ENGAGEMENT IMAGE CARD STYLE
================================ */

.engagement-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* responsive */
@media (max-width: 992px) {
  .engagement-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .engagement-image-grid {
    grid-template-columns: 1fr;
  }
}

/* card */
.engagement-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  height: 320px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* image */
.engagement-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* overlay base */
.engagement-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0) 100%
  );

  color: #fff;
  transition: all 0.45s ease;
}

/* title always visible */
.engagement-overlay h3 {
  margin: 0;
  font-size: 20px;
  transform: translateY(0);
  transition: transform 0.45s ease;
}

/* paragraph hidden initially */
.engagement-overlay p {
  margin: 8px 0 0;
  font-size: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.45s ease;
}

/* hover effects */
.engagement-image-card:hover img {
  transform: scale(1.08);
}

.engagement-image-card:hover .engagement-overlay {
  background: linear-gradient(
    to top,
    rgba(14, 132, 225, 0.85),
    rgba(101, 81, 179, 0.75)
  );
}

.engagement-image-card:hover .engagement-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* mobile — always show text (no hover on touch) */
@media (hover: none) {
  .engagement-overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.4)
    );
  }

  .engagement-overlay p {
    opacity: 1;
    transform: none;
  }
}

/* FAQ Section */
/* ===========================
   MODERN FAQ CARD DESIGN
=========================== */

.faq-section {
  background: #f6f7fb;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

/* card */
.faq-item {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e3e6ef;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* hover lift */
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* header */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 600;
  background: #fff;
  transition: all 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 17px;
  color: #1f2430;
}

/* plus icon */
.faq-icon {
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-theme-1);
  transition: all 0.3s ease;
}

/* answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fafbff;
  transition: max-height 0.45s ease, padding 0.35s ease;
  padding: 0 22px;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 18px;
  color: #5a6275;
  line-height: 1.6;
  font-size: 15px;
}

/* ACTIVE STATE — matches your screenshot style */
.faq-item.active {
  border-color: #cfd6f6;
}

.faq-item.active .faq-question {
  background: linear-gradient(135deg, #6c5ce7, #5f27cd);
}

.faq-item.active .faq-question h3 {
  color: #fff;
}

.faq-item.active .faq-icon {
  color: #fff;
  transform: rotate(45deg); /* + becomes × */
}

/* open spacing */
.faq-item.active .faq-answer {
  /* padding: 16px 22px 22px; */
  margin-top: 15px;
  margin-bottom: 15px;
}

/* Final CTA Section */
/* ===== FINAL CTA — BACKGROUND IMAGE ===== */

.final-cta-section {
  position: relative;
  text-align: center;
  color: var(--clr-white);
  overflow: hidden;

  background-image: url("/assets/images/ud-cta-bg.png"); /* change path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 20px;
}

.final-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.65);  */
}
.final-cta-section .container {
  position: relative;
  /* z-index: 1; */
}
@media (max-width: 768px) {
  .final-cta-section {
    background-position: center top;
  }
}

.final-cta-section .section-header h2 {
  color: var(--clr-white);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
}

.cta-buttons .btn-primary1 {
  background-color: var(--clr-white);
  color: var(--clr-theme-1);
  border-color: var(--clr-white);
}

.cta-buttons .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.cta-buttons .btn-secondary {
  background-color: transparent;
  color: var(--clr-white);
  border-color: var(--clr-white);
}

.cta-buttons .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: rgba(14, 132, 225, 0.5) 15px 15px 15px;

  background: linear-gradient(
    to right,
    var(--clr-theme-1),
    var(--clr-theme-3),
    var(--clr-theme-3),
    var(--clr-theme-1)
  );
  border-color: rgb(209, 212, 218);
}
@media (max-width: 576px) {
  .cta-buttons {
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
  }

  .cta-buttons .btn {
    font-size: 12px;
    padding: 10px 14px;
    width: auto !important;
    max-width: none;
  }
}
@media (max-width: 420px) {
  .cta-buttons {
    flex-wrap: wrap;
  }
}

/* Footer */
.footer {
  background-color: var(--clr-theme-2);
  color: var(--clr-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-col h3 {
  color: var(--clr-white);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--clr-theme-1);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--clr-theme-1);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
  color: var(--clr-theme-1);
  width: 20px;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--clr-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--clr-theme-1);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 100px;
    right: -100%;
    flex-direction: column;
    background-color: var(--clr-black);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: var(--spacing-md) 0;
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-cta {
    display: none;
  }

  .trust-highlights {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn,
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .section {
    padding: var(--spacing-lg) 0;
  }

  .services-grid,
  .value-points,
  .process-steps,
  .industries-grid,
  .engagement-models {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .btn-large {
    width: 100%;
  }

  .content-block {
    padding: var(--spacing-md) var(--spacing-sm);
  }
}

/*  */
/* Add these to your existing CSS */

/* Smooth fade-in for hero content */

/* =========================
   HERO 2-COLUMN LAYOUT
========================= */

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

/* left side text */
.hero-left {
  text-align: left;
}

.hero-left .hero-title,
.hero-left .hero-subtitle {
  text-align: left;
  margin-left: 0;
}

/* right side cards */
.hero-right {
  display: flex;
  justify-content: center;
}

/* stack cards nicely */
.hero-right .trust-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hero-subtitle,
.trust-highlights,
.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
  animation-delay: 0.8s;
}

.trust-highlights {
  animation-delay: 1.2s;
}

.hero-cta {
  animation-delay: 1.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typewriter text container */
#typewriter-text {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

/* Typewriter cursor */
#typewriter-text::after {
  content: "|";
  animation: blink 1s infinite;
  color: #ffffff00;
  font-weight: 300;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-left {
    text-align: center;
  }

  .hero-left .hero-title,
  .hero-left .hero-subtitle {
    text-align: center;
  }
}
@media (max-width: 576px) {
  .hero-right .highlight-item {
    font-size: 14px;
    padding: 12px;
  }
}

/* =================================
   TABLET FIX (1000px → 767px)
================================= */

@media (max-width: 1000px) and (min-width: 767px) {
  /* hero grid becomes stacked */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* make cards equal width grid */
  .trust-highlights {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .highlight-item {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* keep buttons in one row */
  .hero-cta {
    flex-direction: row !important;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .hero-cta .btn {
    width: auto !important;
    min-width: 220px;
    font-size: 14px;
  }
}

@media (max-width: 767px) and (min-width: 550px) {
  .hero-cta .btn {
    font-size: 10px;
  }
  .hero-cta {
    flex-direction: row !important;
    justify-content: center;
    flex-wrap: nowrap;
  }
}

@media (max-width: 550px) and (min-width: 250px) {
  .hero-cta .btn {
    font-size: 10px;
  }
}

.nexi {
  color: var(--clr-white);
  /* background: linear-gradient(
    to right,
    var(--clr-theme-1),
    var(--clr-theme-3),
    var(--clr-theme-3),
    var(--clr-theme-1)
  );
  -webkit-text-fill-color: transparent;
  background-clip: text; */
  font-weight: bold;
}
.btn-secondary1 {
  background-color: var(--clr-theme-1);
  color: var(--clr-white);
  border-color: var(--clr-theme-1);
}
.btn-secondary1:hover {
  transform: translateY(-2px);
  box-shadow: rgba(14, 132, 225, 0.5) 15px 15px 15px;

  background: linear-gradient(
    to right,
    var(--clr-theme-1),
    var(--clr-theme-3),
    var(--clr-theme-3),
    var(--clr-theme-1)
  );
  border-color: rgb(209, 212, 218);
}

/* 

*/

.header-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.decoration-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--clr-theme-1),
    transparent
  );
}

.decoration-dot {
  width: 8px;
  height: 8px;
  background: var(--clr-theme-1);
  border-radius: 50%;
  position: relative;
}

.decoration-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--clr-theme-1);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* 
 */

.modern-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.3;
  color: var(--clr-theme-2);
  margin-bottom: var(--spacing-sm);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--clr-theme-1), var(--clr-theme-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* Enhanced Why Us Section Styles */
.enhanced-why-us {
  position: relative;
  background: linear-gradient(135deg, var(--clr-theme-2) 0%, #131313 100%);
  color: var(--clr-white);
  overflow: hidden;
}

.enhanced-why-us .section-header {
  margin-bottom: var(--spacing-xl);
}

.enhanced-why-us .modern-title {
  color: var(--clr-white);
  margin-bottom: var(--spacing-sm);
}

.enhanced-why-us .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Value Points Container */
.value-points-container {
  position: relative;
  z-index: 2;
  margin-bottom: var(--spacing-xl);
}

.enhanced-value-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: 0;
}

/* Enhanced Value Point */
.enhanced-value-point {
  position: relative;
  text-align: center;
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.6s forwards;
}

.enhanced-value-point.visible {
  opacity: 1;
  transform: translateY(0);
}

.enhanced-value-point:hover {
  transform: translateY(-10px);
  background: rgba(8, 5, 74, 0.25);
  border-color: white;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(14, 132, 225, 0.1);
  color: #0a0a09 !important;
  border: 2px solid white;
}

.value-point-icon-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-point-icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--clr-theme-1), var(--clr-theme-3));
  border-radius: 50%;
  opacity: 0.15;
  transition: all 0.4s ease;
  border: 2px solid var(--clr-white);
}

.enhanced-value-point:hover .value-point-icon-bg {
  opacity: 0.25;
  transform: scale(1.1);
}

.enhanced-value-point i {
  font-size: 2.2rem;
  color: var(--clr-theme-1);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.enhanced-value-point:hover i {
  color: var(--clr-white);
  transform: scale(1.1);
}

.enhanced-value-point h3 {
  font-size: 1.2rem;
  color: var(--clr-white);
  margin-bottom: var(--spacing-sm);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-point-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.enhanced-value-point:hover .value-point-desc {
  opacity: 1;
  max-height: 200px;
  margin-bottom: var(--spacing-sm);
}

.value-point-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(14, 132, 225, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.enhanced-value-point:hover .value-point-hover-effect {
  opacity: 1;
}

/* Enhanced Value Statement */
.enhanced-value-statement {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-xl) var(--spacing-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.value-quote-icon {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--clr-theme-1), var(--clr-theme-3));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--clr-white);
  box-shadow: 0 5px 15px rgba(14, 132, 225, 0.3);
}

.value-statement-text {
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--clr-white);
  margin-bottom: var(--spacing-lg);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.highlight-text {
  background: linear-gradient(135deg, var(--clr-theme-1), var(--clr-theme-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.value-statement-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
}

.value-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1;
}

.stat-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-theme-1);
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: var(--spacing-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* Why Us CTA */
.why-us-cta {
  text-align: center;
  margin-top: var(--spacing-xl);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 132, 225, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(14, 132, 225, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 132, 225, 0);
  }
}

/* Background Shapes */
.why-us-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(
    to right,
    var(--clr-theme-1),
    var(--clr-theme-3),
    var(--clr-theme-3),
    var(--clr-theme-1)
  );
  top: -150px;
  right: -100px;
  animation: float 25s infinite linear;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--clr-theme-4), var(--clr-theme-5));
  bottom: -100px;
  left: -50px;
  animation: float 20s infinite linear reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--clr-theme-1), var(--clr-theme-5));
  top: 30%;
  left: 10%;
  animation: float 15s infinite linear;
}

.shape-4 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--clr-theme-3), var(--clr-theme-4));
  bottom: 20%;
  right: 15%;
  animation: float 18s infinite linear reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, 20px) rotate(90deg);
  }
  50% {
    transform: translate(0, 40px) rotate(180deg);
  }
  75% {
    transform: translate(-20px, 20px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .enhanced-value-points {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
  }

  .value-stats {
    gap: var(--spacing-md);
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .enhanced-value-points {
    grid-template-columns: 1fr;
  }

  .value-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .stat-divider {
    width: 80px;
    height: 1px;
  }

  .value-statement-text {
    font-size: 1.3rem;
  }

  .enhanced-value-point h3 {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .enhanced-value-point {
    padding: var(--spacing-md);
  }

  .value-statement-text {
    font-size: 1.2rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}

/* Animation for counter */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number.animated {
  animation: countUp 0.8s ease forwards;
}
/* cta */
.badge {
  display: inline-block;
  background: linear-gradient(
    to right,
    var(--clr-theme-1),
    var(--clr-theme-3),
    var(--clr-theme-3),
    var(--clr-theme-1)
  );
  /* color: #2563eb; */
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
  backdrop-filter: blur(4px);
  color: white;
}
