/* ============================================
   PurposIQ Consulting — Custom Styles
   ============================================ */

:root {
  --brand-900: #0f172a;
  --brand-800: #172554;
  --brand-700: #1e3a8a;
  --brand-600: #1d4ed8;
  --accent-500: #f59e0b;
  --accent-400: #072045;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.12);
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--accent-400);
  color: var(--brand-900);
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--brand-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.preloader-bar {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent-500);
  border-radius: 3px;
  animation: preloader-slide 1s ease-in-out infinite;
}

@keyframes preloader-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ---- Navigation ---- */
#header {
  background: #031c4f;
}

#header.scrolled {
  background:rgb(7, 32, 69);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

#header.scrolled .nav-text {
  color: #fff;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ---- Services Dropdown (Mega Menu) ---- */
#header {
  position: fixed;
}

.nav-container {
  position: relative;
}

.nav-links {
  align-items: stretch;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  padding: 0 0.25rem;
}

.nav-dropdown-toggle::after {
  display: none;
}

.nav-dropdown-icon {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-toggle {
  color: #fff;
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(36rem, calc(100vw - 1.5rem));
  padding-top: 0.65rem;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 60;
}

/* Invisible bridge so mouse can reach dropdown without losing hover */
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.65rem;
  background: transparent;
}

.nav-dropdown:hover .nav-dropdown-icon,
.nav-dropdown:focus-within .nav-dropdown-icon,
.nav-dropdown.is-open .nav-dropdown-icon {
  transform: rotate(180deg);
}

.nav-dropdown-inner {
  position: relative;
  background: #fff;
  border: 1px solid rgba(91, 33, 182, 0.12);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  border-radius: 0.875rem;
  overflow: hidden;
}

.nav-dropdown-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(251, 191, 36, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(91, 33, 182, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.nav-dropdown-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5b21b6, #a855f7, #fbbf24);
}

/* ---- Services Dropdown (creative compact) ---- */
.nav-svc-menu {
  position: relative;
  z-index: 1;
  padding: 0.9rem 1rem 0.85rem;
}

.nav-svc-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a855f7;
  margin: 0 0 0.65rem;
}

.nav-svc-featured {
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.07) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(91, 33, 182, 0.1);
  border-radius: 0.65rem;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.55rem;
}

.nav-svc-featured-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.nav-svc-step {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(91, 33, 182, 0.3);
}

.nav-svc-featured-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #5b21b6;
  margin: 0;
  line-height: 1.2;
}

.nav-svc-featured-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 2.25rem;
  margin: 0;
  list-style: none;
}

.nav-svc-featured-list a {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.45;
  transition: color 0.15s ease, transform 0.15s ease;
}

.nav-svc-featured-list a:hover {
  color: #5b21b6;
  transform: translateX(2px);
}

.nav-svc-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.85rem;
  padding-left: 2.25rem;
}

.nav-svc-featured-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.3rem;
}

.nav-svc-featured-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.nav-svc-featured-col a {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.35;
  transition: color 0.15s ease, transform 0.15s ease;
}

.nav-svc-featured-col a:hover {
  color: #5b21b6;
  transform: translateX(2px);
}

.nav-svc-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-svc-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-svc-link:hover,
.nav-svc-link.active {
  background: #fff;
  border-color: rgba(91, 33, 182, 0.12);
  box-shadow: 0 4px 14px rgba(91, 33, 182, 0.08);
  transform: translateX(3px);
}

.nav-svc-link.active .nav-svc-link-text {
  color: #5b21b6;
  font-weight: 600;
}

.nav-svc-link-icon {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 33, 182, 0.08);
  color: #5b21b6;
  border-radius: 0.45rem;
  font-size: 0.72rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-svc-link:hover .nav-svc-link-icon {
  background: #5b21b6;
  color: #fbbf24;
}

.nav-svc-link-text {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e1b4b;
  line-height: 1.3;
}

.nav-svc-link-arrow {
  flex-shrink: 0;
  font-size: 0.65rem;
  color: #c4b5fd;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-svc-link:hover .nav-svc-link-arrow {
  transform: translateX(3px);
  color: #5b21b6;
}

/* Legacy dropdown classes (mobile / fallback) */
.nav-dropdown-heading {
  background: #f3f4f6;
  padding: 0.55rem 0.85rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-700);
  margin-bottom: 0.85rem;
}

.nav-dropdown-heading a {
  color: inherit;
  transition: color var(--transition);
}

.nav-dropdown-heading a:hover {
  color: var(--brand-600);
}

.nav-dropdown-subheading {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.65rem;
}

.nav-dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.nav-dropdown-links a {
  font-size: 0.9rem;
  color: #6b7280;
  word-break: break-word;
  transition: color var(--transition), padding-left var(--transition);
}

.nav-dropdown-links a:hover {
  color: var(--brand-600);
  padding-left: 4px;
}

.nav-dropdown-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6b7280;
}

/* Mobile services accordion */
.mobile-dropdown-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-dropdown-icon {
  transition: transform var(--transition);
}

.mobile-dropdown.open .mobile-dropdown-icon {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 0 0 0.75rem;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.mobile-dropdown.open .mobile-dropdown-menu {
  max-height: 70vh;
  overflow-y: auto;
  opacity: 1;
  padding: 0.35rem 0 0.75rem 0.75rem;
}

.mobile-dropdown-heading {
  display: block;
  padding: 0.65rem 1rem 0.35rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fbbf24;
}

.mobile-dropdown-subheading {
  display: block;
  padding: 0.45rem 1rem 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.mobile-dropdown-sublist {
  padding-left: 0.5rem;
  margin-bottom: 0.35rem;
}

.mobile-dropdown-link {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 0.5rem;
  transition: background var(--transition), color var(--transition);
}

.mobile-dropdown-link:hover,
.mobile-dropdown-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fbbf24;
}

.mobile-dropdown-link.active {
  font-weight: 600;
}

.mobile-menu {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 0.75rem 0.75rem;
  margin: 0;
  padding: 0 0.5rem;
  max-height: calc(100dvh - 4.5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  border-radius: 0.5rem;
  transition: background var(--transition), color var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fbbf24;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-900);
  background: linear-gradient(135deg, var(--accent-500), var(--accent-500));
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
}

.btn-primary.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.75rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-outline-light.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ---- Nav Logo ---- */
.nav-logo-img {
  max-width: 130px;
  height: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .nav-logo-img {
    max-width: 155px;
  }
}

@media (min-width: 1024px) {
  .nav-logo-img {
    max-width: 180px;
  }
}

#header:not(.scrolled) .nav-logo-img {
  filter: none;
}

/* ---- Hero Slider ---- */
.hero-slider-section {
  padding-top: 0;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
}

.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide,
.hero-slide {
  height: auto;
  min-height: 0;
}

@media (min-width: 1024px) {
  .hero-slider-section {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-swiper {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-swiper .swiper-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-swiper .swiper-slide {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100%;
  }

  .hero-slide {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100%;
  }
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 7s ease-out;
}

.swiper-slide-active .hero-slide-img {
  transform: scale(1);
}

/* Ethique-style: dark left gradient for readable text + form */
.hero-overlay-ethique {
  background: linear-gradient(
    100deg,
    rgba(15, 23, 42, 0.94) 0%,
    rgba(15, 23, 42, 0.82) 38%,
    rgba(30, 58, 138, 0.55) 62%,
    rgba(15, 23, 42, 0.35) 100%
  );
}

@media (max-width: 1023px) {
  .hero-overlay-ethique {
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.92) 0%,
      rgba(15, 23, 42, 0.88) 55%,
      rgba(30, 58, 138, 0.75) 100%
    );
  }
}

.hero-slide-inner {
  position: relative;
  z-index: 10;
  padding-top: 4rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-slide-inner {
    padding-top: 4.5rem;
    padding-bottom: 2rem;
  }
}

.hero-overlay {
  background:linear-gradient( 135deg, rgb(15, 23, 42) 0%, rgba(30, 58, 138, 0.92) 50%, rgba(15, 23, 42, 0.85) 100% );
}

/* Hero form card — slide 1 */
.hero-form-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 2.25rem 1.75rem;
  padding-bottom: calc(2.25rem + 15px);
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.hero-slide-inner .lg\:grid-cols-2 {
  grid-template-columns: 1fr !important;
}

@media (min-width: 1024px) {
  .hero-slide-inner .lg\:grid-cols-2 {
    grid-template-columns: 1fr 0.85fr !important;
  }
}

@media (min-width: 1280px) {
  .hero-slide-inner .lg\:grid-cols-2 {
    grid-template-columns: 1fr 0.7fr !important;
  }
}

@media (min-width: 1024px) {
  .hero-form-card {
    padding: 3rem 2.25rem;
    padding-bottom: calc(2rem + 15px);
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

.hero-form-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.4rem;
}

.hero-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.625rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.hero-form-input::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.hero-form-input:focus {
  outline: none;
  border-color: var(--accent-500);
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.hero-form-input.error {
  border-color: #f87171;
}

.hero-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2394a3b8' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7.5L10 12l4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.hero-form-select option {
  background: #0f172a;
  color: #fff;
}

.hero-form-feedback {
  font-size: 0.85rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  text-align: center;
}

.hero-form-feedback.success {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-form-feedback.error {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Hero swiper controls */
.hero-swiper-pagination {
  bottom: 2.5rem !important;
  z-index: 20;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: width var(--transition), background var(--transition);
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 5px;
  background: var(--accent-500);
}

.hero-swiper-prev,
.hero-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.hero-swiper-prev:hover,
.hero-swiper-next:hover {
  background: var(--accent-500);
  color: var(--brand-900);
  border-color: var(--accent-500);
}

.hero-swiper-prev {
  left: 1rem;
}

.hero-swiper-next {
  right: 1rem;
}

@media (max-width: 768px) {
  .hero-swiper-prev,
  .hero-swiper-next {
    display: none;
  }

  .hero-slide-inner {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }
}

/* ---- Home Services Strip (below banner) ---- */
.home-services-strip {
  position: relative;
  z-index: 25;
  margin-top: -1.5rem;
  background: #f3f4f6;
  border-radius: 1.25rem 1.25rem 0 0;
  padding: 1.5rem 0 1.75rem;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
}

@media (min-width: 768px) {
  .home-services-strip {
    margin-top: -2.5rem;
    border-radius: 1.5rem 1.5rem 0 0;
    padding: 1.75rem 0 2rem;
  }
}

@media (min-width: 1024px) {
  .home-services-strip {
    margin-top: -3.5rem;
    border-radius: 2rem 2rem 0 0;
    padding: 2rem 0 2.25rem;
  }
}

.home-services-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .home-services-strip-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
}

.home-services-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--brand-700);
  flex-shrink: 0;
}

.home-services-title-mark {
  position: relative;
  display: inline-block;
}

.home-services-title-mark::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--brand-700);
}

.home-services-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  .home-services-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .home-services-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: auto;
  padding: 1.25rem 0.85rem;
  background: #fff;
  border-radius: 0.875rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.home-service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  border-color: rgba(30, 58, 138, 0.2);
}

.home-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  font-size: 2rem;
  color: var(--brand-700);
  transition: color var(--transition), transform var(--transition);
}

.home-service-item:hover .home-service-icon {
  color: var(--brand-600);
  transform: scale(1.05);
}

.home-service-label {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  font-weight: 500;
  color: #374151;
  line-height: 1.35;
}

/* ---- Who We Work With ---- */
.who-we-work-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--brand-700);
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.who-we-work-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 3px;
  background: var(--brand-700);
  border-radius: 2px;
}

.who-we-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .who-we-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.125rem;
  }
}

@media (min-width: 768px) {
  .who-we-work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.who-we-work-card {
  position: relative;
  min-height: 220px;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: default;
  transition: transform var(--transition), box-shadow var(--transition);
}

@media (min-width: 1024px) {
  .who-we-work-card {
    min-height: 260px;
  }
}

.who-we-work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.who-we-work-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.who-we-work-card:hover .who-we-work-card-img {
  transform: scale(1.06);
}

.who-we-work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.35) 0%,
    rgba(15, 23, 42, 0.72) 100%
  );
  transition: background var(--transition);
}

.who-we-work-card:hover .who-we-work-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(30, 58, 138, 0.45) 0%,
    rgba(15, 23, 42, 0.82) 100%
  );
}

.who-we-work-card-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.35;
  z-index: 2;
}

.who-we-work-footer {
  font-size: 0.95rem;
}

/* ---- What We Help You Achieve ---- */
.achieve-section {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.achieve-section-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(30, 58, 138, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, #0f172a 0%, #172554 50%, #1e3a8a 100%);
  pointer-events: none;
}

.achieve-section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}

.achieve-header {
  max-width: 42rem;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .achieve-header {
    margin-bottom: 2.25rem;
  }
}

.achieve-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 0.75rem;
}

.achieve-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.achieve-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.85);
  margin: 0;
}

.achieve-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .achieve-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .achieve-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.achieve-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 11.5rem;
  padding: 1.75rem 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.achieve-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--accent-400), var(--accent-500));
  border-radius: 0 0 4px 0;
  transition: height 0.35s ease;
}

.achieve-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.achieve-card:hover::before {
  height: 100%;
}

.achieve-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(251, 191, 36, 0.55);
}

.achieve-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, rgba(251, 190, 36, 0.779), rgba(251, 190, 36, 0.76));
  border: 1px solid rgba(251, 190, 36, 0.735);
  color: var(--accent-400);
  font-size: 1.35rem;
  transition: transform var(--transition), background var(--transition);
}

.achieve-card:hover .achieve-card-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.15));
}

.achieve-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: #f8fafc;
  margin: 0;
  padding-right: 2rem;
}

@media (min-width: 1024px) {
  .achieve-card-title {
    font-size: 0.975rem;
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-500), #fde68a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.scroll-indicator {
  animation: bounce 2s infinite;
}

.scroll-mouse {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* ---- Sections ---- */
.section-padding {
  padding: 2.25rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 2.75rem 0;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 3.25rem 0;
  }
}

.section-padding .mb-12 {
  margin-bottom: 2rem;
}

.section-padding .mb-10 {
  margin-bottom: 1.5rem;
}

.section-padding .mt-12 {
  margin-top: 2rem;
}

.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--brand-900);
  line-height: 1.2;
}

/* ---- About ---- */
.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -12px;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-500));
  border-radius: 1.75rem;
  z-index: -1;
  opacity: 0.15;
}

.about-image-wrapper {
  position: relative;
}

.mission-card {
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.mission-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  color: #fff;
  border-radius: 0.75rem;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.mission-icon.vision {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
  color: var(--brand-900);
}

/* ---- Service Cards ---- */
.service-card {
  position: relative;
  padding: 2rem;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-600), var(--accent-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
  color: var(--brand-600);
  border-radius: 1rem;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-600);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.service-card:hover .service-link {
  opacity: 1;
  transform: translateY(0);
}

.service-link i {
  font-size: 0.75rem;
  transition: transform var(--transition);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* ---- Feature Blocks ---- */
.why-pattern {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.feature-block {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.feature-block:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(251, 191, 36, 0.3);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
  color: var(--brand-900);
  border-radius: 0.875rem;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  transition: transform var(--transition);
}

.feature-block:hover .feature-icon {
  transform: rotate(-5deg) scale(1.05);
}

/* ---- Process Timeline ---- */
.process-timeline {
  position: relative;
}

.process-track {
  position: absolute;
  top: 2.5rem;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-600), var(--accent-500));
  border-radius: 3px;
  opacity: 0.25;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

.process-step {
  position: relative;
  text-align: center;
  padding: 1.5rem 1rem;
  background: #f8fafc;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-600);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.process-step:hover .process-number {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.4);
}

@media (min-width: 1024px) {
  .process-step::after {
    content: '';
    position: absolute;
    top: 2.65rem;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-600), transparent);
    opacity: 0.2;
    z-index: 0;
  }

  .process-step:last-child::after {
    display: none;
  }
}

/* ---- Stats ---- */
.stats-section {
  min-height: 280px;
}

/* ---- Testimonials ---- */
.testimonial-card {
  padding: 1.5rem;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: box-shadow var(--transition);
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 2rem;
    border-radius: 1.5rem;
  }
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}

.swiper-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  color: var(--brand-700);
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}

.swiper-btn:hover {
  background: var(--brand-700);
  color: #fff;
  border-color: var(--brand-700);
  transform: scale(1.05);
}

.testimonial-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 1;
  transition: width var(--transition), background var(--transition);
}

.testimonial-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 5px;
  background: var(--brand-600);
}

/* ---- CTA ---- */
.cta-gradient {
  background: linear-gradient(
    135deg,
    var(--brand-900) 0%,
    var(--brand-800) 40%,
    var(--brand-700) 100%
  );
}

.cta-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(245, 158, 11, 0.15), transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(37, 99, 235, 0.2), transparent 50%);
}

/* ---- Contact Form ---- */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-900);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--brand-900);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-input.error {
  border-color: #ef4444;
}

.form-feedback {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.form-feedback.success {
  background: #ecfdf5;
  color: #047857;
}

.form-feedback.error {
  background: #fef2f2;
  color: #b91c1c;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
  color: var(--brand-600);
  border-radius: 0.75rem;
}

.map-wrapper {
  border: 1px solid #e2e8f0;
}

/* ---- Footer ---- */
.footer {
  padding-top: 3rem;
}

.footer .pb-12 {
  padding-bottom: 2rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--accent-500);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-contact-item i {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--accent-500);
  font-size: 0.9rem;
}

.footer-contact-item a {
  color: #fff;
  transition: color var(--transition);
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 2rem;
  padding-bottom: 0.75rem;
}

.footer-credit {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-credit a {
  color: #94a3b8;
  transition: color var(--transition);
}

.footer-credit a:hover {
  color: var(--accent-500);
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
  z-index: 40;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
  color: var(--brand-900);
}

/* ---- Lazy Load ---- */
.lazy-image {
  transition: opacity 0.5s ease;
}

.lazy-image.loading {
  opacity: 0.6;
}

.lazy-image.loaded {
  opacity: 1;
}

/* ---- AOS offset fix for fixed header ---- */
[data-aos] {
  pointer-events: auto;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- About Page ---- */
.about-page-hero {
  background: linear-gradient(180deg, #4c1d95 0%, #5b21b6 50%, #6d28d9 100%);
  padding: 3rem 0 3.5rem;
}

@media (min-width: 768px) {
  .about-page-hero {
    padding: 3.5rem 0 4rem;
  }
}

.about-page-title-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.about-page-title-ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  font-size: clamp(2.5rem, 12vw, 7rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 479px) {
  .about-page-title-ghost {
    white-space: normal;
    font-size: clamp(2rem, 14vw, 3rem);
  }
}

.about-page-title {
  position: relative;
  z-index: 1;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  padding-bottom: 1rem;
}

.about-page-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 4rem;
  height: 3px;
  background:#fff;
  border-radius: 2px;
}

.about-page-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto;
}

.about-tagline-bar {
  background: var(--accent-400);
  padding: 0.65rem 1rem;
  text-align: center;
}

.about-tagline-bar p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.about-intro {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.about-intro-text {
  font-size: 1rem;
  line-height: 1.85;
  color: #374151;
}

@media (min-width: 768px) {
  .about-intro-text {
    font-size: 1.05rem;
  }
}

.about-mv-section {
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .about-mv-section {
    padding-bottom: 4rem;
  }
}

.about-mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .about-mv-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.about-mv-card {
  text-align: center;
  padding: 2.5rem 1.75rem 2.25rem;
  background: #fff;
  border: 1px solid #e9d5ff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(91, 33, 182, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.about-mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(91, 33, 182, 0.1);
  border-color: #d8b4fe;
}

.about-mv-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5b21b6;
  color: var(--accent-500);
  border-radius: 50%;
  font-size: 1.25rem;
}

.about-mv-title-wrap {
  position: relative;
  margin-bottom: 1rem;
  min-height: 2.5rem;
}

.about-mv-title-ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 800;
  color: rgba(91, 33, 182, 0.08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.about-mv-title {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 700;
  color: #5b21b6;
}

.about-mv-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #4b5563;
  max-width: 22rem;
  margin: 0 auto;
}

/* ---- Contact Page ---- */
.contact-page-hero {
  padding-bottom: 3rem;
}

.contact-intro {
  padding: 2rem 0 1.5rem;
  background: #fff;
}

.contact-intro-text {
  font-size: 1rem;
  line-height: 1.85;
  color: #000;
}

.contact-intro-text strong {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-main {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-main-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.contact-form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #5b21b6;
  margin-bottom: 1rem;
}

.contact-form-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #000;
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.contact-page-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .contact-field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.contact-required {
  color: #dc2626;
}

.contact-page-form input,
.contact-page-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #111827;
  background: #fff;
  border: 1px solid #111827;
  border-radius: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-page-form input:focus,
.contact-page-form textarea:focus {
  outline: none;
  border-color: #5b21b6;
  box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.12);
}

.contact-page-form input.error,
.contact-page-form textarea.error {
  border-color: #dc2626;
}

.contact-page-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #5b21b6;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.contact-submit-btn:hover {
  background: #4c1d95;
  transform: translateY(-1px);
}

.contact-form-feedback {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  text-align: center;
}

.contact-form-feedback.success {
  background: #ecfdf5;
  color: #047857;
}

.contact-form-feedback.error {
  background: #fef2f2;
  color: #b91c1c;
}

.contact-info-card {
  background: linear-gradient(180deg, #5b21b6 0%, #4c1d95 100%);
  color: #fff;
  padding: 2rem 1.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 16px 40px rgba(76, 29, 149, 0.25);
}

@media (min-width: 1024px) {
  .contact-info-card {
    padding: 2.25rem 2rem;
    min-height: 100%;
  }
}

.contact-info-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.contact-info-card-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info-list-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
}

.contact-info-list-item a {
  color: rgba(255, 255, 255, 0.95);
  transition: color var(--transition);
}

.contact-info-list-item a:hover {
  color: var(--accent-400);
}

.contact-info-list-icon {
  flex-shrink: 0;
  width: 1.25rem;
  margin-top: 0.15rem;
  color: var(--accent-500);
  text-align: center;
}

.contact-social-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.contact-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-social-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #5b21b6;
  border-radius: 50%;
  font-size: 0.85rem;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.contact-social-icon:hover {
  transform: translateY(-2px);
  background: var(--accent-400);
  color: #1f2937;
}

.contact-closing {
  padding: 1.75rem 1rem 2.5rem;
  background: #fff;
  text-align: center;
}

.contact-closing-text {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 600;
  color: #5b21b6;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- People Development Page ---- */
.service-page {
  padding-top: 4rem;
}

@media (min-width: 640px) {
  .service-page {
    padding-top: 4.5rem;
  }
}

.pd-focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .pd-focus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .pd-focus-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.pd-focus-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pd-focus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(91, 33, 182, 0.2);
}

.pd-focus-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  color: #fbbf24;
  border-radius: 50%;
  font-size: 1.25rem;
}

.pd-focus-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #5b21b6;
}

.pd-examples-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 32rem;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

@media (min-width: 640px) {
  .pd-examples-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    gap: 1rem 2rem;
  }
}

.pd-examples-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border-radius: 0.625rem;
  border: 1px solid #e2e8f0;
}

.pd-examples-list li i {
  color: #5b21b6;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pd-trainers-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border-radius: 50%;
  font-size: 1.5rem;
}

.pd-trainers--light {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  position: relative;
}

.pd-trainers--light::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(91, 33, 182, 0.06), transparent),
    radial-gradient(ellipse 50% 60% at 85% 50%, rgba(245, 158, 11, 0.07), transparent);
  pointer-events: none;
}

.pd-trainers-inner {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.pd-trainers-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #5b21b6, #f59e0b);
}

@media (min-width: 640px) {
  .pd-trainers-inner {
    padding: 3rem 2.5rem;
  }

  .pd-trainers-inner::before {
    left: 2.5rem;
    right: 2.5rem;
  }
}

.pd-trainers-text {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.95);
}

.pd-trainers-text strong {
  color: #fbbf24;
}

.pd-trainers-icon--light {
  background: rgba(91, 33, 182, 0.1);
  color: #5b21b6;
}

.pd-trainers-text--dark {
  color: #374151;
}

.pd-trainers-text--dark strong {
  color: #5b21b6;
}

.pd-cta {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (max-width: 1023px) {
  .hero-slide {
    min-height: 28rem;
  }
}

.about-page,
.contact-page {
  padding-top: 4rem;
}

@media (min-width: 640px) {
  .about-page,
  .contact-page {
    padding-top: 4.5rem;
  }
}
img,
video,
svg {
  max-width: 100%;
  height: auto;
}

.nav-container {
  overflow-x: clip;
}

.header-bar {
  min-height: 4rem;
}

@media (min-width: 1024px) {
  .header-bar {
    min-height: 5rem;
  }
}

.hero-intro-mobile {
  display: block;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.9);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-intro-mobile {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-form-card {
    padding: 2rem 1.25rem;
    padding-bottom: calc(2rem + 15px);
    border-radius: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-form-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .hero-slide-content .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .hero-form-input,
  .contact-page-form input,
  .contact-page-form textarea {
    font-size: 16px;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-logo img {
    height: 3rem;
  }

  .contact-info-list-item span,
  .contact-info-list-item a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .contact-social-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .swiper-btn {
    width: 44px;
    height: 44px;
  }

  .testimonial-nav {
    width: 100%;
    justify-content: center;
  }

  .who-we-work-card-title {
    font-size: 0.9rem;
    padding: 0 0.75rem 1rem;
  }

  .achieve-card-title {
    font-size: 0.95rem;
    padding-right: 2.25rem;
  }

  .about-mv-card {
    padding: 2rem 1.25rem 1.75rem;
  }

  .contact-info-card {
    padding: 1.5rem 1.25rem;
  }

  .contact-form-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .home-services-strip-inner {
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .footer-bottom {
    text-align: left;
  }
}
