/* ============================================================
   HRS OUTBOOKS LLC — HOME PAGE STYLES
   All section-specific styles for index.html
   ============================================================ */

/* ─── Hero Section ─── */
#hero {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--navy-dark);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.08;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding: 80px 0 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 94, 255, 0.12);
  border: 1px solid rgba(30, 94, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-accent);
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: 900;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-headline .line-accent {
  display: block;
  background: linear-gradient(135deg, var(--cyan-accent) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtext {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 580px;
}

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

/* Watch Overview Button */
.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.btn-watch-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-bounce);
}

.btn-watch:hover {
  color: var(--white);
}

.btn-watch:hover .btn-watch-icon {
  background: var(--primary-bright);
  border-color: var(--primary-bright);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(30, 94, 255, 0.5);
}

/* Hero Stats Row */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.hero-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.hero-stat-text {
  line-height: 1.2;
}

.hero-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* Hero Visual Right Side */
.hero-visual {
  position: relative;
  z-index: 5;
  padding: 8px 0 6px;
}

.hero-dashboard {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
}

.hero-main-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dashboard-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.dashboard-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(0, 198, 255, 0.15);
  border: 1px solid rgba(0, 198, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan-accent);
}

.dashboard-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan-accent);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Metric Cards in Dashboard */
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  transition: all 0.3s ease;
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(30, 94, 255, 0.3);
}

.metric-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.metric-value.accent {
  color: var(--cyan-accent);
}

.metric-value.green {
  color: #4ADE80;
}

.metric-change {
  font-size: 0.7rem;
  color: #4ADE80;
  font-weight: 600;
  margin-top: 4px;
}

/* Sparkline Chart */
.chart-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
}

.chart-bar {
  flex: 1;
  background: var(--grad-primary);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  animation: chartGrow 1s var(--ease-bounce) forwards;
  transform-origin: bottom;
}

.chart-bar:hover {
  opacity: 1;
}

@keyframes chartGrow {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

/* Floating mini cards */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(4, 30, 66, 0.4);
}

.hero-float-card-1 {
  top: -40px;
  right: 20px;
  animation: floating 7s ease-in-out infinite;
}

.hero-float-card-2 {
  bottom: -40px;
  left: 20px;
  animation: floating 8s ease-in-out infinite;
  animation-delay: -3s;
}

.float-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card-icon.success {
  background: rgba(74, 222, 128, 0.15);
  color: #4ADE80;
}

.float-card-icon.info {
  background: rgba(0, 198, 255, 0.15);
  color: var(--cyan-accent);
}

.float-card-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.float-card-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* ─── Trusted By Section ─── */
#trusted-by {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
}

.trusted-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 32px;
}

/* ─── About Section ─── */
#about-home {
  background: var(--light-bg);
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 600px;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  background: rgba(4, 30, 66, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  color: var(--white);
}

.about-image-badge-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.about-image-badge-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.about-feature-card {
  background: var(--white);
  border: 1px solid rgba(11, 61, 145, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-smooth);
}

.about-feature-card:hover {
  border-color: rgba(30, 94, 255, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 94, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-bright);
  margin-bottom: 14px;
}

.about-feature-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.about-feature-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Why Choose HRS ─── */
#why-choose {
  background: var(--navy-dark);
  overflow: hidden;
}

.why-card {
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  cursor: default;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.why-card:hover {
  border-color: rgba(30, 94, 255, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(30, 94, 255, 0.25);
}

.why-card:hover::before {
  opacity: 0.08;
}

.why-card>* {
  position: relative;
  z-index: 1;
}

.why-card-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 0;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(30, 94, 255, 0.4);
  transition: all 0.3s var(--ease-bounce);
}

.why-card:hover .why-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 28px rgba(30, 94, 255, 0.6);
}

.why-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ─── Services Section ─── */
#services-home {
  background: var(--white);
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(11, 61, 145, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(30, 94, 255, 0.2);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.service-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 30, 66, 0.7) 0%, transparent 60%);
}

.service-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(30, 94, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card-body {
  padding: 28px 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(30, 94, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-bright);
  margin-bottom: 16px;
  transition: all 0.3s var(--ease-bounce);
}

.service-card:hover .service-card-icon {
  background: var(--grad-primary);
  color: var(--white);
  transform: rotate(-8deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(30, 94, 255, 0.4);
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.service-card-benefits {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.service-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-body);
  font-weight: 500;
}

.service-benefit svg {
  width: 14px;
  height: 14px;
  color: var(--primary-bright);
  flex-shrink: 0;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-bright);
  transition: gap 0.3s var(--ease-bounce);
  margin-top: auto;
}

.service-card-link:hover {
  gap: 14px;
  color: var(--primary);
}

/* ─── Industry Slider ─── */
#industry-slider {
  background: var(--light-bg);
  overflow: hidden;
}

.industry-swiper {
  padding: 20px 10px 60px !important;
  overflow: visible !important;
}

.industry-slide {
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.industry-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-smooth);
}

.industry-slide:hover .industry-slide-bg {
  transform: scale(1.06);
}

.industry-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(4, 30, 66, 0.92) 0%,
      rgba(4, 30, 66, 0.5) 50%,
      rgba(4, 30, 66, 0.15) 100%);
  transition: background 0.4s ease;
}

.industry-slide:hover .industry-slide-overlay {
  background: linear-gradient(to top,
      rgba(11, 61, 145, 0.95) 0%,
      rgba(11, 61, 145, 0.6) 50%,
      rgba(11, 61, 145, 0.2) 100%);
}

.industry-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
}

.industry-slide-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.industry-slide:hover .industry-slide-icon {
  background: var(--primary-bright);
  border-color: var(--primary-bright);
}

.industry-slide-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.industry-slide-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.industry-slide:hover .industry-slide-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Gradient border on slide */
.industry-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255, 255, 255, 0);
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.industry-slide:hover::after {
  border-color: rgba(30, 94, 255, 0.5);
}

/* ─── Process Timeline ─── */
#process-timeline {
  background: var(--navy-dark);
  overflow: hidden;
}

.timeline-container {
  position: relative;
  overflow: visible;
  padding-bottom: 20px;
}

.timeline-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  padding: 40px 0;
  position: relative;
}

/* Single perfectly-aligned connector line spanning from first to last dot center */
.timeline-track::before {
  content: '';
  position: absolute;
  top: 68px; /* aligned vertically with center of 56px dots */
  left: 8.33%;
  right: 8.33%;
  height: 2px;
  background: linear-gradient(90deg, rgba(30, 94, 255, 0.6), rgba(0, 198, 255, 0.2));
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 160px;
  z-index: 2;
}

.timeline-step-connector {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

.timeline-step-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-primary);
  border: 4px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 30px rgba(30, 94, 255, 0.5);
  transition: all 0.3s var(--ease-bounce);
}

.timeline-step:hover .timeline-step-dot {
  transform: scale(1.15);
  box-shadow: 0 0 40px rgba(30, 94, 255, 0.8);
}

/* Hide the individual step lines since we use the unified track background line */
.timeline-step-line {
  display: none;
}

.timeline-step-content {
  margin-top: 20px;
  text-align: center;
  padding: 0 10px;
}

.timeline-step-number {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-step-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.timeline-step-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

/* ─── Performance / Stats ─── */
#performance {
  background: var(--light-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border: 1px solid rgba(11, 61, 145, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 94, 255, 0.15);
}

.stat-card:hover::after {
  transform: scaleX(1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(30, 94, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-bright);
  margin: 0 auto 16px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ─── Why Outsource ─── */
#why-outsource {
  background: var(--white);
}

.outsource-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(11, 61, 145, 0.06);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-smooth);
  height: 100%;
}

.outsource-card:hover {
  border-color: rgba(30, 94, 255, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.outsource-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(30, 94, 255, 0.3);
  transition: all 0.4s var(--ease-bounce);
}

.outsource-card:hover .outsource-icon-wrap {
  transform: scale(1.12) rotate(-8deg);
}

/* Color themes for outsource cards */
.outsource-card.theme-green .outsource-icon-wrap {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}
.outsource-card.theme-green:hover .outsource-icon-wrap {
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
}
.outsource-card.theme-green .outsource-percentage {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outsource-card.theme-orange .outsource-icon-wrap {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}
.outsource-card.theme-orange:hover .outsource-icon-wrap {
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.5);
}
.outsource-card.theme-orange .outsource-percentage {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outsource-card.theme-cyan .outsource-icon-wrap {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}
.outsource-card.theme-cyan:hover .outsource-icon-wrap {
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.5);
}
.outsource-card.theme-cyan .outsource-percentage {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outsource-card.theme-purple .outsource-icon-wrap {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
}
.outsource-card.theme-purple:hover .outsource-icon-wrap {
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.5);
}
.outsource-card.theme-purple .outsource-percentage {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outsource-card.theme-magenta .outsource-icon-wrap {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.3);
}
.outsource-card.theme-magenta:hover .outsource-icon-wrap {
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.5);
}
.outsource-card.theme-magenta .outsource-percentage {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outsource-card.theme-blue .outsource-icon-wrap {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}
.outsource-card.theme-blue:hover .outsource-icon-wrap {
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
}
.outsource-card.theme-blue .outsource-percentage {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outsource-percentage {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.outsource-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.outsource-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Testimonials ─── */
#testimonials {
  background: var(--navy-dark);
  overflow: hidden;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(30, 94, 255, 0.3);
  transform: translateY(-4px);
}

.quote-mark {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  color: #FFC53D;
  margin-bottom: 16px;
}

.testimonial-rating svg {
  width: 16px;
  height: 16px;
}

.testimonial-text {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(30, 94, 255, 0.4);
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.testimonial-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ─── FAQ ─── */
#faq {
  background: var(--light-bg);
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(11, 61, 145, 0.07);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(30, 94, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}

.faq-question-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.faq-item.open .faq-question-text {
  color: var(--primary);
}

.faq-chevron {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(30, 94, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-bright);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-bounce);
}

.faq-item.open .faq-chevron {
  background: var(--primary-bright);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-smooth);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ─── CTA Banner ─── */
#cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 30, 66, 0.95) 0%, rgba(11, 61, 145, 0.85) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--section-py) 0;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.cta-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ─── Contact Section ─── */
#contact-home {
  background: var(--white);
}

.contact-image-col {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 600px;
}

.contact-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 30, 66, 0.85) 0%, rgba(11, 61, 145, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
  flex-shrink: 0;
}

.contact-info-text-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 3px;
}

.contact-info-text-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

/* Glass Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid rgba(11, 61, 145, 0.08);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--light-bg);
  border: 1.5px solid rgba(11, 61, 145, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  outline: none;
  transition: all 0.25s ease;
}

.form-control::placeholder {
  color: var(--text-light);
}

.form-control:focus {
  border-color: var(--primary-bright);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.1);
}

.form-control:invalid:not(:placeholder-shown) {
  border-color: #EF4444;
}

select.form-control {
  appearance: none;
  cursor: pointer;
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(11, 61, 145, 0.2);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary-bright);
}

.form-check-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.form-check-label a {
  color: var(--primary-bright);
  font-weight: 600;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--grad-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(30, 94, 255, 0.4);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(30, 94, 255, 0.55);
}

.form-submit-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ADE80;
  margin: 0 auto 20px;
}

/* ─── Responsive ─── */
@media (max-width: 1199px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .hero-visual {
    display: none;
  }

  .about-features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .hero-stat-card {
    justify-content: flex-start;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form-wrap {
    padding: 28px 24px;
  }

  .contact-image-col {
    min-height: 350px;
  }
}

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