:root {
  /* Brand palette from assets/Colours.txt */
  --kp-primary-500: #0980FF; /* primary */
  --kp-primary-700: #0355AD;
  --kp-primary-900: #002C5A;

  --kp-purple-900: #4E2259; /* secondary set */
  --kp-purple-100: #ECDAF1;
  --kp-rose-900: #672839;
  --kp-rose-100: #F1DAE0;
  --kp-green-900: #215723;
  --kp-green-100: #DAF1DB;
  --kp-navy-900: #0C5199;
  --kp-navy-100: #D0E5FB;
  --kp-slate-900: #445B78;
  --kp-slate-100: #DEE5ED;
  --kp-cream-100: #F2DDD9;

  --kp-text: #1E293B;
  --kp-muted: #64748B;
  --kp-bg: #ffffff;

  /* Additional colors for services */
  --kp-purple: #6f42c1;
  --kp-teal: #20c997;
  --kp-orange: #fd7e14;
}

/* Bootstrap color binding */
:root {
  --bs-primary: var(--kp-primary-500);
  --bs-primary-rgb: 9, 128, 255;
}

.btn-primary {
  background-color: var(--kp-primary-500);
  border-color: var(--kp-primary-500);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--kp-primary-700);
  border-color: var(--kp-primary-700);
}
.btn-outline-primary {
  color: var(--kp-primary-500);
  border-color: var(--kp-primary-500);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff;
  background-color: var(--kp-primary-500);
  border-color: var(--kp-primary-500);
}

/* Custom color utilities for services */
.bg-purple-subtle {
  background-color: rgba(111, 66, 193, 0.1);
}
.text-purple {
  color: var(--kp-purple) !important;
}
.bg-teal-subtle {
  background-color: rgba(32, 201, 151, 0.1);
}
.text-teal {
  color: var(--kp-teal) !important;
}
.bg-orange-subtle {
  background-color: rgba(253, 126, 20, 0.1);
}
.text-orange {
  color: var(--kp-orange) !important;
}

/* Services Section Styles */
.bg-gradient-light {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.service-category-nav {
  position: relative;
}

.service-tabs {
  position: relative;
  z-index: 2;
  gap: 1rem;
}

.service-tabs .nav-link {
  border-radius: 12px;
  font-weight: 600;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  background-color: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-tabs .nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.service-tabs .nav-link.active {
  background-color: var(--kp-primary-500);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(9, 128, 255, 0.2);
  transform: translateY(-3px);
}

.service-intro {
  padding: 2rem;
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 2rem;
}

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--kp-primary-500);
}

.feature-card .feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 8px 16px rgba(9, 128, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 24px rgba(9, 128, 255, 0.3);
}

.feature-card .feature-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--kp-text);
}

.feature-card .feature-content p {
  color: var(--kp-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Service Type Cards */
.service-type-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.service-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--kp-primary-500);
}

.service-type-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.service-type-header .service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 8px 16px rgba(9, 128, 255, 0.2);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-type-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 24px rgba(9, 128, 255, 0.3);
}

.service-type-header h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--kp-text);
}

.service-features {
  flex: 1;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: var(--kp-text);
}

.feature-list li i {
  color: var(--kp-primary-500);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Service and contact card hover effects */
.service-card,
.contact-card {
  transition: all 0.3s ease;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.service-card:hover,
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  border-color: var(--kp-primary-500);
}

/* Contact section styles */
.contact-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 8px 16px rgba(9, 128, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 24px rgba(9, 128, 255, 0.3);
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--kp-text);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.contact-info-list li:last-child {
  border-bottom: none;
}

.contact-info-list li i {
  color: var(--kp-primary-500);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Modern Contact Action Cards */
.contact-action-card {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}

.contact-action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-action-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.contact-action-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 20px rgba(9, 128, 255, 0.25);
  transition: all 0.3s ease;
}

.complaint-card .contact-action-icon {
  background: linear-gradient(135deg, #ff6b6b, #ee5253);
  box-shadow: 0 8px 20px rgba(238, 82, 83, 0.25);
}

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

.contact-action-text {
  flex: 1;
}

.contact-action-text h3 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-action-text p {
  color: var(--kp-muted);
  margin-bottom: 0;
}

.contact-action-btn {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-radius: 0;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  font-weight: 600;
}

.contact-action-btn i {
  transition: transform 0.3s ease;
}

.contact-action-card:hover .contact-action-btn i {
  transform: translateX(5px);
}

/* Contact Form Modals */
.modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

.modal-header {
  border-bottom: none;
  padding: 1.5rem;
}

.modal-header .btn-close {
  opacity: 0.8;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-intro {
  text-align: center;
}

.contact-form-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 25px rgba(9, 128, 255, 0.25);
}

.contact-form-icon.complaint-icon {
  background: linear-gradient(135deg, #ff6b6b, #ee5253);
  box-shadow: 0 10px 25px rgba(238, 82, 83, 0.25);
}

.contact-form-intro p {
  color: var(--kp-muted);
  font-size: 1.1rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 1rem 1rem;
  height: calc(3.5rem + 2px);
  font-size: 1rem;
}

.form-floating > textarea.form-control {
  height: 120px;
  padding-top: 1.625rem;
}

.form-floating > label {
  padding: 1rem;
}

.form-check-input {
  width: 1.5em;
  height: 1.5em;
  margin-top: 0.15em;
}

.form-check-label {
  padding-left: 0.5rem;
}

.form-check-input:checked {
  background-color: var(--kp-primary-500);
  border-color: var(--kp-primary-500);
}

.form-check.form-switch .form-check-input {
  width: 3em;
}

/* Form submission feedback */
.form-feedback {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1060;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(150%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-feedback.show {
  transform: translateX(0);
}

.form-feedback-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.form-feedback-icon.success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.form-feedback-icon.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.form-feedback-content h5 {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.form-feedback-content p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--kp-muted);
}

@media (max-width: 768px) {
  .contact-action-content {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }
  
  .contact-action-icon {
    margin-bottom: 1rem;
  }
  
  .modal-dialog {
    margin: 1rem;
  }
  
  .form-feedback {
    left: 20px;
    right: 20px;
    width: auto;
  }
}

/* About Us Section Styles */
.about-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--kp-primary-500), var(--kp-primary-700));
}

.mission-card::before {
  background: linear-gradient(90deg, #10b981, #059669);
}

.about-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(9, 128, 255, 0.2);
  transition: all 0.3s ease;
}

.mission-card .about-card-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.2);
}

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

.about-card h3 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.about-card p {
  color: var(--kp-muted);
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--kp-primary-500);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Certifications and Approvals */
.certification-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--kp-primary-500);
}

.certification-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  margin-bottom: 1.5rem;
}

.certification-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--kp-text);
}

.certification-card p {
  color: var(--kp-muted);
  margin-bottom: 0;
}

/* Core Values */
.value-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 25px rgba(9, 128, 255, 0.2);
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(10deg);
}

.value-card:nth-child(2) .value-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.value-card:nth-child(3) .value-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2);
}

.value-card:nth-child(4) .value-icon {
  background: linear-gradient(135deg, #ec4899, #be185d);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.2);
}

.value-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--kp-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Leadership Team */
.leadership-team-block {
  margin-top: 2.5rem;
  padding: 2.5rem 1.25rem 0;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(9, 128, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .leadership-team-block {
    padding: 3rem 2rem 0;
  }
}

.leadership-team-intro {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.leadership-team-grid {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

/* Team Cards */
.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(9, 128, 255, 0.12);
}

.team-image {
  height: 280px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

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

.team-avatar {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  margin: 1.75rem auto 0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--kp-primary-500), var(--kp-primary-700));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(9, 128, 255, 0.22);
}

.team-initials {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}

.leadership-team-grid .col-lg-4:nth-child(2) .team-avatar {
  background: linear-gradient(145deg, #1e40af, #172554);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.2);
}

.leadership-team-grid .col-lg-4:nth-child(3) .team-avatar {
  background: linear-gradient(145deg, #0d9488, #115e59);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.2);
}

.team-info {
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: center;
}

.team-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.35;
  color: var(--kp-text, #1a1a1a);
  letter-spacing: -0.01em;
}

.team-title {
  color: var(--kp-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.team-bio {
  color: var(--kp-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kp-text);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--kp-primary-500);
  color: white;
  transform: translateY(-3px);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--kp-primary-500);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(9, 128, 255, 0.2);
  z-index: 1;
}

.timeline-content {
  position: relative;
  width: calc(50% - 40px);
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
  left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  left: calc(50% + 40px);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  right: -15px;
  width: 30px;
  height: 30px;
  background: white;
  transform: rotate(45deg);
  border-top: 1px solid rgba(0,0,0,0.04);
  border-right: 1px solid rgba(0,0,0,0.04);
  z-index: -1;
}

.timeline-item:nth-child(even) .timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -15px;
  width: 30px;
  height: 30px;
  background: white;
  transform: rotate(45deg);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  border-left: 1px solid rgba(0,0,0,0.04);
  z-index: -1;
}

.timeline-date {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--kp-primary-500);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.timeline-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--kp-muted);
  margin-bottom: 0;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for about section */
@media (max-width: 992px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    left: 80px !important;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -15px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    border-left: 1px solid rgba(0,0,0,0.04);
    border-top: none;
    border-right: none;
  }
  
  .team-image {
    height: 240px;
  }
}

/* Global */
body {
  color: var(--kp-text);
  background-color: var(--kp-bg);
}
.navbar {
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.navbar .nav-link {
  color: var(--kp-text);
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--kp-primary-500);
}

.py-6 { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.opacity-85 { opacity: .85; }

/* Hero */
#hero { 
  min-height: 88vh; 
  display: grid; 
  align-items: stretch;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; 
  inset: 0; 
  pointer-events: none;
  background-image: url('../assets/background.svg');
  background-repeat: no-repeat; 
  background-size: cover; 
  background-position: center;
  opacity: 0.85;
  mix-blend-mode: soft-light;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--kp-primary-900) 0%, var(--kp-primary-700) 100%);
  opacity: 0.97;
  z-index: -1;
}
#hero .text-body-secondary {
  color: rgba(255, 255, 255, 0.85) !important;
}
#hero .btn-outline-primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
#hero .btn-outline-primary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
#hero .badge {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  backdrop-filter: blur(8px);
}

.hero-gallery {
  position: relative;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Professional Hero Showcase Container */
.hero-showcase-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Hero Animation Display */
.hero-animation-display {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  box-shadow: 
    0 20px 40px rgba(2, 32, 71, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-animation-display:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 25px 50px rgba(2, 32, 71, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Hero Image Slider */
.hero-image-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slider-container {
  display: flex;
  width: fit-content;
  height: 100%;
  transition: transform 0.1s linear;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-slide:hover .hero-slide-img {
  transform: scale(1.05);
}

.hero-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  text-align: left;
}

.hero-slide-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.hero-slide-content p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

/* Hero Overlay Content */
.hero-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg, 
    rgba(9, 128, 255, 0.95) 0%, 
    rgba(3, 85, 173, 0.95) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border-radius: 24px;
}

.hero-overlay-content.show {
  opacity: 1;
}

.overlay-text {
  text-align: center;
  padding: 2rem;
  max-width: 500px;
}

.overlay-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.overlay-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Overlay Feature Badges */
.overlay-features {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.feature-badge i {
  font-size: 1.1rem;
  color: #fff;
}

.feature-badge span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

/* Professional Feature Grid */
.hero-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-feature-grid.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Feature Cards */
.feature-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 32px rgba(2, 32, 71, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-card:nth-child(6) { transition-delay: 0.6s; }

.hero-feature-grid.show .feature-card {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-8px) rotateX(5deg);
  box-shadow: 
    0 20px 40px rgba(2, 32, 71, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Feature Icon */
.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 8px 24px rgba(9, 128, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(9, 128, 255, 0.35);
}

/* Feature Content */
.feature-content h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--kp-text);
  line-height: 1.3;
}

.feature-content p {
  font-size: 0.95rem;
  color: var(--kp-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Professional Brand Element */
.hero-brand-element {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 10;
}

.brand-logo-container {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 15px rgba(9, 128, 255, 0.3));
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: brandFloat 3s ease-in-out infinite;
}

.brand-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(9, 128, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: brandGlow 4s ease-in-out infinite;
}

@keyframes brandFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
}

@keyframes brandGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

/* Animation Fallback */
.animation-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.fallback-content {
  text-align: center;
  padding: 2rem;
}

.fallback-content i {
  color: var(--kp-primary-500);
  opacity: 0.8;
}

.fallback-content h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.fallback-content p {
  font-size: 1rem;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-showcase-container {
    gap: 1.5rem;
  }
  
  .hero-animation-display {
    height: 350px;
  }
  
  .overlay-text h2 {
    font-size: 2rem;
  }
  
  .overlay-features {
    gap: 1rem;
  }
  
  .feature-badge {
    padding: 0.5rem 0.75rem;
  }
  
  .feature-badge span {
    font-size: 0.8rem;
  }
  
  .hero-feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .brand-logo-container {
    width: 80px;
    height: 80px;
  }
  
  .brand-logo {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .hero-animation-display {
    height: 300px;
  }
  
  .overlay-text {
    padding: 1.5rem;
  }
  
  .overlay-text h2 {
    font-size: 1.75rem;
  }
  
  .overlay-features {
    flex-direction: column;
    align-items: center;
  }
}



/* Animation keyframes */
@keyframes floating {
  0%, 100% { transform: perspective(1000px) rotateY(-5deg) translateY(0px); }
  50% { transform: perspective(1000px) rotateY(-5deg) translateY(-10px); }
}



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

@keyframes logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes logo-sheen {
  0%, 100% { opacity: 0; transform: rotate(0deg) scale(0.9); }
  30%, 70% { opacity: 0; }
  50% { opacity: 0.5; transform: rotate(360deg) scale(1.1); }
}

@keyframes floating {
  0% { transform: perspective(1000px) rotateY(-5deg) translateY(0px); }
  50% { transform: perspective(1000px) rotateY(-5deg) translateY(-15px); }
  100% { transform: perspective(1000px) rotateY(-5deg) translateY(0px); }
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
}
.feature-card .icon-wrap { font-size: 1.5rem; }

/* Services section styles */
.nav-pills .nav-link {
  color: var(--kp-text);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-pills .nav-link:hover {
  color: var(--kp-primary-500);
  border-color: var(--kp-primary-500);
  background-color: transparent;
}

.nav-pills .nav-link.active {
  background-color: var(--kp-primary-500);
  box-shadow: 0 4px 12px rgba(9, 128, 255, 0.15);
}

.service-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(2, 32, 71, 0.06);
  border-color: var(--kp-primary-500);
}

.service-card .icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 128, 255, 0.1);
  border-radius: 12px;
  font-size: 1.5rem;
}

.bg-section { background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%); }

.step-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
  position: relative;
}
.step-card .step-index {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--kp-primary-500); color: #fff; font-weight: 700;
}

.bg-gradient-navy {
  background: linear-gradient(135deg, var(--kp-navy-900), var(--kp-primary-700));
}
.bg-gradient-purple {
  background: linear-gradient(135deg, var(--kp-purple-900), var(--kp-purple-100));
}

.security-feature-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.security-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255,255,255,0.12);
}

.security-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--kp-primary-500);
  background: rgba(255, 255, 255, 0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-feature-card h3 {
  margin-bottom: 0.75rem;
}

.security-feature-card p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.security-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.security-standards {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.security-standards h4 {
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.security-standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.security-standard-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.security-standard-item i {
  font-size: 1.5rem;
  color: var(--kp-primary-500);
}

.security-standard-item span {
  font-size: 0.8rem;
  font-weight: 600;
}

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

footer a { color: inherit; }
footer a:hover { color: var(--kp-primary-500); }

/* Loading Screen */
.loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--kp-primary-900), var(--kp-primary-700));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

.loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  width: 80px;
  height: 80px;
  position: relative;
  animation: logo-float 2s ease-in-out infinite;
}

.loading-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(9, 128, 255, 0.3));
}

.loading-logo::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--kp-primary-500);
  border-radius: 50%;
  animation: logo-spin 1.5s linear infinite;
}

.loading-logo::after {
  content: '';
  position: absolute;
  inset: -16px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-right-color: var(--kp-primary-500);
  border-radius: 50%;
  animation: logo-spin 2s linear infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Utilities */
.rounded-4 { border-radius: 1rem !important; }
.min-vh-100 { min-height: 100vh; }

@media (min-width: 992px) {
  .py-6 { padding-top: 6rem; padding-bottom: 6rem; }
}

/* Kwik Pass - Premium Feature */
.kwikpass-section {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.kwikpass-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(9, 128, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(9, 128, 255, 0.03) 0%, transparent 50%);
  opacity: 0.8;
  z-index: 0;
}

.premium-feature-badge {
  position: absolute;
  top: -15px;
  right: 50px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(217, 119, 6, 0.3);
  z-index: 10;
}

/* Kwik Pass Showcase - Professional Design */
.kwikpass-showcase {
  position: relative;
  height: 450px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kwikpass-professional {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kwikpass-device-mockup {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Professional Tag Design */
.kwikpass-tag-container {
  position: absolute;
  top: 30px;
  left: 40px;
  z-index: 5;
  perspective: 1000px;
}

.kwikpass-tag-pro {
  width: 180px;
  height: 100px;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  padding: 0 20px;
  transform: rotateY(-15deg) rotateX(5deg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.kwikpass-tag-pro:hover {
  transform: rotateY(-5deg) rotateX(2deg) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.kwikpass-tag-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--kp-primary-500), var(--kp-primary-700));
}

.tag-chip-pro {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  border-radius: 6px;
  margin-right: 15px;
  position: relative;
}

.tag-chip-pro::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
  border-radius: 3px;
}

.tag-logo-pro {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--kp-primary-700);
  letter-spacing: -0.5px;
}

.tag-shadow {
  position: absolute;
  top: 100%;
  left: 0;
  width: 90%;
  height: 20px;
  background: rgba(0, 0, 0, 0.1);
  filter: blur(10px);
  border-radius: 50%;
  transform: translateY(-10px);
}

/* Professional Phone Design */
.kwikpass-phone-container {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 10;
  perspective: 1000px;
}

.kwikpass-phone-pro {
  width: 220px;
  height: 420px;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  transform: rotate(-5deg);
  transition: all 0.5s ease;
}

.kwikpass-phone-pro:hover {
  transform: rotate(-3deg) translateY(-5px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.15);
}

.phone-screen-pro {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-status-bar {
  height: 40px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 14px;
  color: #1e293b;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-app-header {
  height: 56px;
  background: var(--kp-primary-500);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 600;
}

.phone-app-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: #f8f9fa;
}

.payment-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.payment-logo {
  width: 50px;
  height: 50px;
  background: #f8f9fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.payment-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.payment-details {
  margin-bottom: 20px;
}

.payment-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 5px;
}

.payment-amount {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 5px;
}

.payment-time {
  font-size: 14px;
  color: #64748b;
}

.payment-actions {
  display: flex;
  gap: 10px;
}

.payment-approve-btn {
  flex: 1;
  background: var(--kp-primary-500);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(9, 128, 255, 0.2);
}

.payment-approve-btn:hover {
  background: var(--kp-primary-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(9, 128, 255, 0.3);
}

.payment-decline-btn {
  background: #f1f5f9;
  color: #64748b;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.payment-decline-btn:hover {
  background: #e2e8f0;
  color: #334155;
}

.payment-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
  margin-top: auto;
}

.payment-security i {
  color: #10b981;
}

/* Professional Illustration */
.kwikpass-illustration {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  z-index: 1;
}

.illustration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.payment-point {
  padding: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.payment-point i {
  font-size: 40px;
  color: #3b82f6;
}

.payment-point span {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.rfid-signal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rfid-signal i {
  font-size: 30px;
  color: var(--kp-primary-500);
  animation: pulse 2s infinite;
}

.illustration-connector {
  position: absolute;
  top: 50%;
  left: 80px;
  right: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--kp-primary-500), var(--kp-primary-700));
  transform: translateY(-50%);
  z-index: 1;
}

/* Features */
.kwikpass-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kwikpass-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(9, 128, 255, 0.15);
}

.feature-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-content p {
  font-size: 0.95rem;
  color: var(--kp-muted);
  margin-bottom: 0;
}

/* Process Steps */
.kwikpass-process {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  margin-bottom: 3rem;
}

.process-line {
  position: absolute;
  top: 40px;
  left: 80px;
  right: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--kp-primary-500), var(--kp-primary-700));
  z-index: 1;
}

.process-step {
  position: relative;
  width: 220px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px rgba(9, 128, 255, 0.2);
}

.step-content {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  height: 100%;
  width: 100%;
}

.step-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 20px rgba(9, 128, 255, 0.15);
}

.step-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--kp-muted);
  margin-bottom: 0;
}

/* Locations */
.kwikpass-locations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.location-item {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.location-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.location-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
}

.location-item:nth-child(1) .location-icon {
  color: #3b82f6;
}

.location-item:nth-child(2) .location-icon {
  color: #10b981;
}

.location-item:nth-child(3) .location-icon {
  color: #f59e0b;
}

.location-item:nth-child(4) .location-icon {
  color: #ef4444;
}

.location-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.location-item p {
  font-size: 0.9rem;
  color: var(--kp-muted);
  margin-bottom: 0;
}

/* CTA */
.kwikpass-cta {
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 15px 40px rgba(9, 128, 255, 0.2);
}

.cta-content {
  color: white;
}

.cta-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes carMove {
  0% { transform: translateX(-100px); }
  40% { transform: translateX(150px); }
  45% { transform: translateX(150px); }
  85% { transform: translateX(350px); }
  100% { transform: translateX(500px); }
}

@keyframes gateMove {
  0%, 40% { transform: rotate(0deg); }
  45% { transform: rotate(-80deg); }
  85% { transform: rotate(-80deg); }
  90% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

@keyframes wheelRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes signalWave {
  0% { 
    transform: translate(-50%, -50%) scale(0.1); 
    opacity: 0.8;
  }
  100% { 
    transform: translate(-50%, -50%) scale(3); 
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .kwikpass-process {
    flex-direction: column;
    gap: 3rem;
    padding: 0;
  }
  
  .process-line {
    top: 0;
    bottom: 0;
    left: 40px;
    right: auto;
    width: 4px;
    height: auto;
  }
  
  .process-step {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .step-number {
    margin-bottom: 0;
    margin-left: 20px;
  }
  
  .step-content {
    text-align: left;
  }
  
  .step-icon {
    margin: 0 0 1rem 0;
  }
  
  .kwikpass-locations {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .kwikpass-cta {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .kwikpass-tag-container {
    top: 20px;
    left: 20px;
  }
  
  .kwikpass-phone-container {
    top: 20px;
    right: 10px;
  }
  
  .kwikpass-illustration {
    bottom: 40px;
    padding: 0 30px;
  }
  
  .illustration-connector {
    left: 50px;
    right: 50px;
  }
}

@media (max-width: 768px) {
  .premium-feature-badge {
    right: 20px;
  }
  
  .kwikpass-showcase {
    height: 400px;
  }
  
  .kwikpass-device-mockup {
    flex-direction: column;
    align-items: center;
  }
  
  .kwikpass-tag-container {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 30px;
  }
  
  .kwikpass-tag-pro {
    width: 160px;
    height: 80px;
    transform: none;
  }
  
  .tag-logo-pro {
    font-size: 1rem;
  }
  
  .kwikpass-phone-container {
    position: relative;
    top: 0;
    right: 0;
  }
  
  .kwikpass-phone-pro {
    width: 180px;
    height: 350px;
    transform: none;
  }
  
  .kwikpass-illustration {
    display: none;
  }
}

@media (max-width: 576px) {
  .kwikpass-locations {
    grid-template-columns: 1fr;
  }
  
  .kwikpass-showcase {
    height: 350px;
  }
  
  .kwikpass-tag-pro {
    width: 140px;
    height: 70px;
  }
  
  .tag-chip-pro {
    width: 25px;
    height: 25px;
  }
  
  .tag-logo-pro {
    font-size: 0.9rem;
  }
  
  .kwikpass-phone-pro {
    width: 160px;
    height: 320px;
  }
  
  .phone-app-header {
    height: 48px;
    font-size: 14px;
  }
  
  .phone-app-content {
    padding: 15px;
  }
  
  .payment-card {
    padding: 15px;
  }
  
  .payment-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }
  
  .payment-title {
    font-size: 14px;
  }
  
  .payment-amount {
    font-size: 20px;
  }
  
  .payment-actions button {
    padding: 10px;
    font-size: 12px;
  }
}

.pbc-demo-container {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  margin: 2rem -3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Horizontal Animation Flow */
.pbc-animation-flow {
  position: relative;
  width: 120%;
  height: 400px;
  overflow: hidden;
  background: #fff;
  border-radius: 1rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
  margin-left: -10%;
  margin-right: -10%;
}

.pbc-elements-container {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 40px;
  overflow: visible;
}

/* Stations */
.pbc-station {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: all 0.5s ease;
}

.scanner-station {
  left: 25%;
  bottom: 120px;
  transform-origin: bottom center;
  transform: scale(0.9);
  opacity: 0.7;
  transition: all 0.5s ease;
}

.scanner-station.active {
  transform: scale(1.1);
  opacity: 1;
}

.mobile-station {
  left: 45%;
  top: 40px;
  transform: translateY(-30px) scale(0.8);
  opacity: 0;
  transition: all 0.6s ease;
  z-index: 25;
}

.mobile-station.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.gate-station {
  left: 65%;
  bottom: 120px;
  transform-origin: bottom center;
  transform: scale(0.9);
  opacity: 0.7;
  transition: all 0.5s ease;
}

.gate-station.active {
  transform: scale(1.1);
  opacity: 1;
}

.success-station {
  left: 85%;
  top: 50%;
  transform: translate(0, -50%) scale(0.6);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 30;
}

.success-station.show {
  transform: translate(0, -50%) scale(1);
  opacity: 1;
}

.pbc-station-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

/* Road Background */
.pbc-road-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, #e2e8f0, #cbd5e1);
  border-top: 3px solid #94a3b8;
}

.pbc-road-lines {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    to right,
    #64748b 0,
    #64748b 60px,
    transparent 60px,
    transparent 120px
  );
}

/* Car Element */
.pbc-car-element {
  position: absolute;
  bottom: 120px;
  left: -200px;
  transform: translateX(0);
  transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
  will-change: transform;
}

.pbc-car-element.at-scanner {
  transform: translateX(calc(25% + 200px));
}

.pbc-car-element.at-gate {
  transform: translateX(calc(65% + 200px));
}

.pbc-car-element.exit {
  transform: translateX(calc(120% + 200px));
}

/* Road styles */
.pbc-road-bg {
  position: absolute;
  bottom: 0;
  left: -60px;
  right: -60px;
  height: 180px;
  background: linear-gradient(to bottom, #e2e8f0, #cbd5e1);
  border-top: 3px solid #94a3b8;
  transform: perspective(1000px) rotateX(35deg);
  transform-origin: bottom center;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.pbc-road-lines {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    to right,
    #64748b 0,
    #64748b 100px,
    transparent 100px,
    transparent 200px
  );
  opacity: 0.4;
  animation: road-scroll 20s linear infinite;
}

@keyframes road-scroll {
  from { background-position: 0 0; }
  to { background-position: 200px 0; }
}

/* Progress Bar */
.pbc-progress-bar {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.pbc-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: #e2e8f0;
  border-radius: 3px;
}

.pbc-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--kp-primary-500);
  border-radius: 3px;
  width: 0;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(9, 128, 255, 0.3);
}

/* Progress Bar */
.pbc-progress-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
}

.pbc-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: #e2e8f0;
  border-radius: 2px;
}

.pbc-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--kp-primary-500);
  border-radius: 2px;
  width: 0;
  transition: width 0.5s ease;
}

.pbc-progress-steps {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.pbc-progress-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pbc-progress-step .pbc-step-dot {
  width: 12px;
  height: 12px;
  background: #e2e8f0;
  border: 2px solid #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.pbc-progress-step.active .pbc-step-dot {
  background: var(--kp-primary-500);
  transform: scale(1.2);
}

.pbc-progress-step.complete .pbc-step-dot {
  background: #10b981;
}

.pbc-progress-step span {
  position: absolute;
  top: 20px;
  font-size: 0.75rem;
  color: #64748b;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.pbc-progress-step.active span {
  color: var(--kp-primary-500);
  font-weight: 600;
}

.pbc-car-body {
  width: 100px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 25px 25px 10px 10px;
  position: relative;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.pbc-car-windows {
  position: absolute;
  top: 8px;
  left: 15px;
  right: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 8px;
}

.pbc-car-wheels {
  position: absolute;
  bottom: -8px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
}

.pbc-wheel {
  width: 16px;
  height: 16px;
  background: #1e293b;
  border-radius: 50%;
  border: 2px solid #475569;
}

.pbc-rfid-tag {
  position: absolute;
  top: -10px;
  right: 15px;
  width: 24px;
  height: 14px;
  background: #10b981;
  border-radius: 6px;
  border: 1px solid #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  box-shadow: 0 3px 6px rgba(16, 185, 129, 0.3);
}

.pbc-car-shadow {
  position: absolute;
  bottom: -15px;
  left: 10px;
  right: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  filter: blur(6px);
}

/* Scanner Element */
.pbc-scanner-element {
  position: absolute;
  bottom: 100px;
  left: 35%;
  z-index: 15;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.pbc-scanner-element.show {
  opacity: 1;
  transform: scale(1);
}

.pbc-scanner-body {
  width: 60px;
  height: 30px;
  background: #1e293b;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pbc-scanner-light {
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  animation: scanner-pulse 1s ease-in-out infinite;
}

.pbc-scan-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pbc-wave {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid #10b981;
  border-radius: 50%;
  opacity: 0;
  animation: scan-wave 1.5s ease-out infinite;
}

.pbc-wave:nth-child(2) {
  animation-delay: 0.5s;
}

.pbc-wave:nth-child(3) {
  animation-delay: 1s;
}

@keyframes scanner-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes scan-wave {
  0% { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(0.5); 
  }
  100% { 
    opacity: 0; 
    transform: translate(-50%, -50%) scale(2); 
  }
}

/* Mobile Element */
.pbc-mobile-element {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0;
  transform: translateY(-30px) scale(0.8);
  transition: all 0.6s ease;
  z-index: 25;
}

.pbc-mobile-element.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pbc-phone-body {
  width: 140px;
  height: 240px;
  background: #1e293b;
  border-radius: 25px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pbc-phone-screen {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 15px;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.pbc-notification-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pbc-notification-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.875rem;
}

.pbc-notification-header i {
  color: var(--kp-primary-500);
  font-size: 1rem;
}

.pbc-notification-content {
  flex: 1;
  margin-bottom: 15px;
}

.pbc-location {
  margin: 0 0 8px 0;
  font-size: 0.8rem;
  color: #64748b;
}

.pbc-amount {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
}

.pbc-notification-actions {
  display: flex;
  gap: 8px;
}

.pbc-approve-btn {
  background: var(--kp-primary-500);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.pbc-approve-btn:hover {
  background: var(--kp-primary-700);
  transform: translateY(-1px);
}

.pbc-approve-btn.approved {
  background: #10b981;
  transform: scale(1.05);
}

/* Gate Element */
.pbc-gate-element {
  position: absolute;
  bottom: 100px;
  right: 25%;
  z-index: 10;
}

.pbc-gate-pillar {
  width: 15px;
  height: 80px;
  background: #475569;
  border-radius: 8px;
  position: relative;
}

.pbc-gate-top {
  position: absolute;
  top: -12px;
  left: -8px;
  width: 31px;
  height: 24px;
  background: #334155;
  border-radius: 6px;
}

.pbc-gate-arm {
  position: absolute;
  top: 0;
  left: 15px;
  width: 120px;
  height: 10px;
  background: linear-gradient(45deg, #ef4444, #dc2626);
  border-radius: 5px;
  transform-origin: left center;
  transition: transform 0.8s ease;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.3);
}

.pbc-gate-arm.open {
  transform: rotate(-75deg);
}

.pbc-gate-stripes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.4) 10px,
    rgba(255, 255, 255, 0.4) 20px
  );
}

/* Success Element */
.pbc-success-element {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  scale: 0.8;
  transition: all 0.5s ease;
  z-index: 30;
}

.pbc-success-element.show {
  opacity: 1;
  scale: 1;
}

.pbc-success-card {
  background: rgba(16, 185, 129, 0.95);
  color: #fff;
  padding: 16px 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(10px);
}

.pbc-success-card i {
  font-size: 1.2rem;
}

/* Flow Indicators */
.pbc-flow-indicators {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 5;
}

.pbc-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.pbc-flow-step.active {
  opacity: 1;
}

.pbc-step-dot {
  width: 12px;
  height: 12px;
  background: var(--kp-primary-500);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.pbc-flow-step.active .pbc-step-dot {
  background: #10b981;
  transform: scale(1.2);
}

.pbc-flow-step span {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.pbc-flow-step.active span {
  color: #1e293b;
  font-weight: 600;
}

/* Demo Content */
.pbc-demo-content {
  padding-right: 2rem;
}

.pbc-demo-controls {
  display: flex;
  gap: 0.5rem;
}

.pbc-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pbc-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

.pbc-feature-item i {
  font-size: 1rem;
}

/* Benefits */
.pbc-benefit-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.pbc-benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(2, 32, 71, 0.06);
}

.pbc-benefit-icon {
  width: 48px;
  height: 48px;
  background: rgba(9, 128, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  color: var(--kp-primary-500);
}

/* Trust Signals */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.partner-logo {
  flex: 0 0 200px;
}

.partner-logo-placeholder {
  height: 100px;
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-text {
  color: #94a3b8;
  font-weight: 500;
}

/* Testimonial Slider */
.testimonial-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  margin-bottom: 20px;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  padding: 10px 0;
  width: fit-content;
}

.testimonial-slide {
  flex: 0 0 350px;
  min-width: 350px;
  padding: 5px;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--kp-primary-500);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 60px;
  font-family: Georgia, serif;
  color: rgba(9, 128, 255, 0.08);
  line-height: 1;
}

.testimonial-rating {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  gap: 2px;
}

.testimonial-text {
  font-style: italic;
  color: #334155;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 0.95rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(9, 128, 255, 0.2);
}

.avatar-placeholder {
  font-size: 1.2rem;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  color: #1e293b;
}

.testimonial-title {
  font-size: 0.8rem;
  color: #64748b;
}


@media (max-width: 768px) {
  .testimonial-slide {
    flex: 0 0 300px;
    min-width: 300px;
  }
  
  .testimonial-card {
    min-height: 320px;
  }
}

@media (max-width: 576px) {
  .testimonial-slide {
    flex: 0 0 280px;
    min-width: 280px;
  }
  
  .testimonial-card {
    padding: 20px;
    min-height: 340px;
  }
}

/* Client Logos */
.client-logo {
  background: white;
  border-radius: 12px;
  padding: 15px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.client-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--kp-primary-500);
}

.client-logo img {
  max-height: 40px;
  width: auto;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1 !important;
}

.awards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  width: 300px;
  transition: all 0.3s ease;
}

.award-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.award-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.award-info {
  flex: 1;
}

.award-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #1e293b;
}

.award-organization {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

/* App Download Section */
.download-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-qr-code {
  position: relative;
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.qr-code-svg {
  display: block;
}

.qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-store-badge img, 
.google-play-badge img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.app-store-badge:hover img, 
.google-play-badge:hover img {
  transform: scale(1.05);
}

.app-ratings {
  font-size: 0.9rem;
}

.stars {
  font-size: 1.1rem;
  letter-spacing: -2px;
}

.rating-text {
  font-weight: 600;
  margin-left: 5px;
}

.download-stats {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.download-stat-item {
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
}

.download-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--kp-primary-500);
  line-height: 1;
  margin-bottom: 5px;
}

.download-stat-label {
  font-size: 0.85rem;
  color: var(--kp-muted);
  font-weight: 500;
}

/* Download Section Styles */
.app-download-btn {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}

.app-download-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.app-store-img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.app-store-img:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.download-features {
  margin-top: 2rem;
}

.download-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.download-feature-item:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.download-feature-item i {
  font-size: 1.5rem;
}

.download-feature-item span {
  font-weight: 500;
  color: var(--kp-text);
}

.download-illustration {
  position: relative;
  padding: 2rem;
}

.phone-mockup-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 8px rgba(255, 255, 255, 0.1),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.phone-screen-mockup {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  color: white;
  text-align: center;
}

.mockup-logo {
  width: 80px;
  height: 80px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.phone-screen-mockup h4 {
  color: white;
  font-weight: 700;
  margin: 0;
}

.phone-screen-mockup p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.floating-badge {
  position: absolute;
  background: white;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--kp-text);
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}

.floating-badge i {
  color: var(--kp-primary-500);
  font-size: 1.1rem;
}

.floating-badge.badge-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.floating-badge.badge-2 {
  bottom: 15%;
  left: -15%;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive adjustments for download section */
@media (max-width: 991.98px) {
  .phone-mockup {
    width: 240px;
    height: 480px;
  }
  
  .floating-badge {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .app-store-img {
    height: 50px !important;
  }
  
  .phone-mockup {
    width: 200px;
    height: 400px;
  }
}

/* Feature Showcase */
.showcase-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.showcase-media {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
}

.showcase-content {
  padding: 25px;
}

.showcase-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e293b;
}

.showcase-content p {
  color: #64748b;
  margin-bottom: 15px;
}

/* Interactive Demo */
.showcase-demo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-screen {
  width: 220px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-phone {
  width: 180px;
  height: 360px;
  background: #1e293b;
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transform: scale(0.55);
}

.demo-app {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.demo-app-header {
  height: 50px;
  background: var(--kp-primary-500);
  color: white;
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 10px;
  font-weight: 600;
}

.demo-app-content {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.demo-app-balance {
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 15px;
  padding: 15px;
  color: white;
}

.balance-label {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 5px;
}

.balance-amount {
  font-size: 1.5rem;
  font-weight: 700;
}

.demo-app-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.demo-action {
  background: #f8fafc;
  border-radius: 12px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.demo-action:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.action-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--kp-primary-500);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.action-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: #334155;
}

/* Video Tutorial */
.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b, #334155);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-play-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* User Guide */
.guide-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--kp-primary-700), var(--kp-primary-500));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.guide-placeholder i {
  font-size: 3rem;
  margin-bottom: 10px;
}

.guide-placeholder span {
  font-weight: 600;
}

/* Case Studies */
.case-study-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  display: flex;
  align-items: center;
  padding: 20px;
  color: white;
}

.case-study-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.case-study-text h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.case-study-text p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pbc-demo-container {
    padding: 1rem;
    min-height: 350px;
  }
  
  .pbc-animation-flow {
    height: 300px;
  }
  
  .pbc-car-element {
    left: 5%;
  }
  
  .pbc-scanner-element {
    left: 30%;
  }
  
  .pbc-gate-element {
    right: 20%;
  }
  
  .pbc-mobile-element {
    right: 10px;
    top: 10px;
  }
  
  .pbc-phone-body {
    width: 120px;
    height: 200px;
  }
  
  .pbc-flow-indicators {
    padding: 0 10px;
  }
  
  .pbc-flow-step span {
    font-size: 0.6rem;
  }
  
  .download-qr-code {
    width: 150px;
    height: 150px;
  }
  
  .download-stat-number {
    font-size: 1.5rem;
  }
}

/* Lottie Animation Styles */
.lottie-container {
  width: 50%;
  height: 50%;
  display: flex;
  margin: auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
}

.lottie-container svg {
  width: 100%;
  height: 100%;
  margin: auto;
  /* max-width: 100%;
  max-height: 100%; */
}

/* Hero Lottie Animation */
.hero-lottie {
  width: 100%;
  height: 400px;
  max-width: 500px;
  margin: 0 auto;
}

/* Feature Lottie Animation */
.feature-lottie {
  width: 100%;
  height: 300px;
  max-width: 400px;
  margin: 0 auto;
}

/* Mobile Lottie Animation */
.mobile-lottie {
  width: 100%;
  height: 350px;
  max-width: 300px;
  margin: 0 auto;
}

/* Loading Lottie Animation */
.loading-lottie {
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

/* Responsive Lottie containers */
@media (max-width: 768px) {
  .hero-lottie {
    height: 300px;
  }
  
  .feature-lottie {
    height: 250px;
  }
  
  .mobile-lottie {
    height: 280px;
  }
  
  .loading-lottie {
    width: 80px;
    height: 80px;
  }
}

/* Lottie animation controls */
.lottie-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.lottie-controls button {
  padding: 8px 16px;
  border: 1px solid var(--kp-primary-500);
  background: transparent;
  color: var(--kp-primary-500);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lottie-controls button:hover {
  background: var(--kp-primary-500);
  color: white;
}

.lottie-controls button.active {
  background: var(--kp-primary-500);
  color: white;
}

/* Lottie animation states */
.lottie-container.playing {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Lottie fallback */
.lottie-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--kp-primary-100), var(--kp-purple-100));
  border-radius: 12px;
  color: var(--kp-primary-500);
  font-weight: 500;
}

.lottie-fallback i {
  font-size: 2rem;
  margin-right: 10px;
}

/* Animation Demo Containers */
.animation-demo-container {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

/* CSS Animation Demo */
.css-animation-demo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.css-animation-element {
  font-size: 3rem;
  color: var(--kp-primary-500);
  transition: all 0.3s ease;
}

.css-animation-element.animate {
  animation: cssBounce 1s ease-in-out infinite;
}

@keyframes cssBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  40% {
    transform: translateY(-20px) rotate(180deg);
  }
  60% {
    transform: translateY(-10px) rotate(360deg);
  }
}

/* GSAP Animation Demo */
.gsap-animation-demo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gsap-animation-element {
  font-size: 3rem;
  color: #28a745;
}

/* Anime.js Animation Demo */
.anime-animation-demo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anime-animation-element {
  font-size: 3rem;
  color: #ffc107;
}

/* Three.js Animation Demo */
.threejs-animation-demo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 12px;
}

.threejs-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.threejs-fallback i {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #dc3545;
}

/* Canvas Animation Demo */
.canvas-animation-demo {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, #17a2b8, #138496);
}

/* Lottie Comparison Demo */
.lottie-comparison-demo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Purple color for Lottie */
.bg-purple {
  background-color: #6f42c1 !important;
}

.btn-outline-purple {
  color: #6f42c1;
  border-color: #6f42c1;
}

.btn-outline-purple:hover {
  color: #fff;
  background-color: #6f42c1;
  border-color: #6f42c1;
}

/* Animation states */
.animation-demo-container.playing {
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .animation-demo-container {
    height: 150px;
  }
  
  .css-animation-element,
  .gsap-animation-element,
  .anime-animation-element {
    font-size: 2rem;
  }
}

/* Mobile App Showcase */
.mobile-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.mobile-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.mobile-screen {
  position: absolute;
  opacity: 0;
  transform: translateX(100px) scale(0.8);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.mobile-screen.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: all;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 40px;
  padding: 8px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  /* Remove scroll bars */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.phone-screen::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* App Header */
.app-header {
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  color: white;
  padding: 0;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 4px;
  font-size: 12px;
  font-weight: 600;
}

.status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.app-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.app-title {
  font-weight: 600;
  font-size: 16px;
}

/* App Content */
.app-content {
  padding: 20px 16px;
  height: calc(100% - 80px);
  overflow-y: auto;
}

/* Balance Card */
.balance-card {
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  color: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.balance-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.balance-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.action-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.action-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.2s;
}

.action-item:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.action-icon {
  width: 48px;
  height: 48px;
  background: var(--kp-primary-500);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: white;
  font-size: 20px;
}

.action-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--kp-text);
}

/* QR Scanner */
.qr-scanner {
  text-align: center;
  padding: 40px 20px;
}

.scanner-frame {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  position: relative;
  border: 2px solid rgba(9, 128, 255, 0.3);
  border-radius: 16px;
}

.scanner-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid var(--kp-primary-500);
}

.scanner-corner.top-left {
  top: -3px;
  left: -3px;
  border-right: none;
  border-bottom: none;
  border-radius: 8px 0 0 0;
}

.scanner-corner.top-right {
  top: -3px;
  right: -3px;
  border-left: none;
  border-bottom: none;
  border-radius: 0 8px 0 0;
}

.scanner-corner.bottom-left {
  bottom: -3px;
  left: -3px;
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 8px;
}

.scanner-corner.bottom-right {
  bottom: -3px;
  right: -3px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 8px 0;
}

.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--kp-primary-500);
  animation: scan 2s linear infinite;
}

@keyframes scan {
  0% { top: 0; }
  100% { top: 100%; }
}

.scanner-text p {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--kp-text);
}

.scanner-text span {
  font-size: 14px;
  color: var(--kp-muted);
}

.payment-options {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.payment-option {
  background: #f8f9fa;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.payment-option:hover {
  background: #e9ecef;
}

/* Success Screen */
.success-animation {
  text-align: center;
  padding: 40px 0;
}

.success-circle {
  width: 80px;
  height: 80px;
  background: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 32px;
  animation: successPulse 1s ease-out;
}

@keyframes successPulse {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.payment-details {
  text-align: center;
  margin-bottom: 32px;
}

.payment-details h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #28a745;
}

.payment-details .amount {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--kp-text);
}

.payment-details .merchant {
  font-size: 16px;
  color: var(--kp-muted);
  margin-bottom: 4px;
}

.payment-details .transaction-id {
  font-size: 12px;
  color: var(--kp-muted);
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.success-actions button {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: all 0.2s;
}

.success-actions .btn-primary {
  background: var(--kp-primary-500);
  color: white;
}

.success-actions .btn-secondary {
  background: #f8f9fa;
  color: var(--kp-text);
}

/* Car Payment */
.car-payment-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.car-icon {
  width: 64px;
  height: 64px;
  background: var(--kp-primary-500);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
  font-size: 28px;
}

.car-payment-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--kp-text);
}

.parking-details {
  margin-bottom: 24px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item .label {
  font-size: 14px;
  color: var(--kp-muted);
}

.detail-item .value {
  font-size: 14px;
  font-weight: 600;
  color: var(--kp-text);
}

.detail-item .value.amount {
  color: var(--kp-primary-500);
  font-size: 16px;
}

.approve-btn {
  background: var(--kp-primary-500);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  transition: all 0.2s;
}

.approve-btn:hover {
  background: var(--kp-primary-700);
  transform: translateY(-1px);
}

/* Profile Screen */
.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 16px;
}

.profile-avatar {
  width: 60px;
  height: 60px;
  background: var(--kp-primary-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.profile-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--kp-text);
}

.profile-info span {
  font-size: 14px;
  color: var(--kp-muted);
  margin-bottom: 8px;
  display: block;
}

.verification-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #28a745;
  font-weight: 600;
}

.profile-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.2s;
}

.menu-item:hover {
  background: #e9ecef;
}

.menu-item i:first-child {
  width: 20px;
  color: var(--kp-primary-500);
}

.menu-item span {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--kp-text);
}

.menu-item i:last-child {
  color: var(--kp-muted);
}

/* Carousel Navigation */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #e9ecef;
  cursor: pointer;
  transition: all 0.2s;
}

.dot.active {
  background: var(--kp-primary-500);
  transform: scale(1.2);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
  background: var(--kp-primary-500);
  color: white;
  border-color: var(--kp-primary-500);
}

.carousel-arrow.prev {
  left: -60px;
}

.carousel-arrow.next {
  right: -60px;
}

/* Mobile Carousel Responsive */
@media (max-width: 768px) {
  .mobile-carousel-container {
    padding: 1rem 0;
  }
  
  .phone-frame {
    width: 240px;
    height: 480px;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
  
  .carousel-arrow.prev {
    left: -50px;
  }
  
  .carousel-arrow.next {
    right: -50px;
  }
}

@media (max-width: 576px) {
  .carousel-arrow.prev {
    left: 10px;
  }
  
  .carousel-arrow.next {
    right: 10px;
  }
}

/* Payment Success Screen Styles */
.payment-success-screen {
  background: linear-gradient(180deg, #2F5711 0%, #2F5711 60%, #F7FBFF 60%, #F7FBFF 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.payment-success-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 10px;
  text-align: center;
  color: #F2F2F2;
  position: relative;
  z-index: 2;
  flex: 1;
}

.success-icon {
  margin-bottom: 16px;
}

.success-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(180deg, #EBF5FF 0%, #FFFFFF 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
}

.success-circle::before {
  content: '';
  position: absolute;
  top: 10.37%;
  left: 10.37%;
  right: 10.37%;
  bottom: 10.37%;
  background: #FFFFFF;
  border: 4px solid #FFFFFF;
  border-radius: 50%;
}

.success-circle i {
  font-size: 48px;
  color: #000000;
  position: relative;
  z-index: 2;
}

.success-message h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  margin: 0 0 20px 0;
  color: #F2F2F2;
}

.amount-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.amount {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 36px;
  letter-spacing: 1px;
  color: #F2F2F2;
  margin: 0;
}

.payment-date {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  color: #F2F2F2;
  margin: 0;
}

.quick-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  margin: 20px 0;
  gap: 16px;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.action-icon {
  width: 50px;
  height: 50px;
  background: #FFFFFF;
  border: 1px solid #F2F2F2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.action-icon i {
  font-size: 24px;
  color: #0980FF;
}

.action-item span {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 10px;
  line-height: 12px;
  color: #333333;
  text-align: center;
  max-width: 50px;
}

.marketing-banner {
  display: flex;
  align-items: center;
  padding: 6px 10px 3px;
  gap: 4px;
  margin: 0 16px 16px;
  background: #D9EEFF;
  border-radius: 8px;
  position: relative;
  flex-shrink: 0;
}

.banner-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.banner-content h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 12px;
  color: #001243;
  margin: 0;
  width: 160px;
}

.refer-btn {
  background: #FFFFFF;
  border: none;
  border-radius: 24px;
  padding: 4px 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 8px;
  line-height: 16px;
  color: #001243;
  cursor: pointer;
  transition: all 0.3s ease;
}

.refer-btn:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

.banner-illustration {
  width: 100px;
  height: 80px;
  position: relative;
}

.welcome-illustration {
  position: absolute;
  width: 100px;
  height: 55px;
  right: 0;
  top: 25px;
  background: linear-gradient(45deg, 
    #367CFF 0%, #0CBC8B 25%, #60CDFF 50%, #E98862 75%, #367CFF 100%);
  border-radius: 6px;
  opacity: 0.8;
}

/* Payment Success Screen Responsive */
@media (max-width: 768px) {
  .success-content {
    padding: 20px 15px 10px;
  }
  
  .success-circle {
    width: 70px;
    height: 70px;
  }
  
  .success-circle i {
    font-size: 32px;
  }
  
  .amount {
    font-size: 28px;
    line-height: 28px;
  }
  
  .quick-actions {
    gap: 12px;
    padding: 0 12px;
    margin: 15px 0;
  }
  
  .action-icon {
    width: 45px;
    height: 45px;
  }
  
  .action-icon i {
    font-size: 20px;
  }
  
  .action-item span {
    font-size: 9px;
    max-width: 45px;
  }
  
  .marketing-banner {
    margin: 0 12px 12px;
    padding: 5px 8px 2px;
  }
  
  .banner-content h4 {
    font-size: 9px;
    line-height: 11px;
    width: 140px;
  }
  
  .banner-illustration {
    width: 80px;
    height: 60px;
  }
  
  .welcome-illustration {
    width: 80px;
    height: 45px;
    top: 15px;
  }
}

/* Ensure no scrolling on any screen */
.app-content {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.payment-success-screen .app-content {
  padding: 0;
  margin: 0;
}

/* 3D Mobile Showcase Styles */
.threejs-mobile-container {
  position: relative;
  width: 100%;
  height: 600px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

#threejs-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#threejs-canvas:active {
  cursor: grabbing;
}

.threejs-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.control-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--kp-text);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-btn:hover {
  background: var(--kp-primary-500);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(9, 128, 255, 0.3);
}

.control-btn.active {
  background: var(--kp-primary-500);
  color: white;
}

.threejs-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.info-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--kp-text);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--kp-muted);
}

.feature-list li i {
  color: var(--kp-primary-500);
  font-size: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: 0.9rem;
  color: var(--kp-muted);
  font-weight: 500;
}

.spec-value {
  font-size: 0.9rem;
  color: var(--kp-text);
  font-weight: 600;
}

/* 3D Mobile Responsive */
@media (max-width: 768px) {
  .threejs-mobile-container {
    height: 400px;
  }
  
  .threejs-controls {
    bottom: 15px;
    gap: 8px;
  }
  
  .control-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .threejs-info {
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .threejs-mobile-container {
    height: 350px;
  }
  
  .threejs-controls {
    flex-direction: column;
    bottom: 10px;
    right: 10px;
    left: auto;
    transform: none;
  }
  
  .control-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* Core Features Section Styles */
#features .feature-card {
  border-top: 4px solid var(--kp-primary-500);
  padding: 2rem;
}

@media (max-width: 768px) {
  #features .feature-card {
    padding: 1.5rem;
  }
}

#features .feature-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

#features .feature-card:hover .feature-card-icon {
  background: var(--kp-primary-500);
  color: #fff;
  transform: scale(1.1);
}

#features .feature-list {
  margin-bottom: 20px;
  padding-left: 0;
  list-style: none;
}

#features .feature-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

#features .feature-list li i {
  color: var(--kp-primary-500);
  margin-right: 10px;
  font-size: 14px;
}

/* Feature animation container */
.feature-animation-container {
  background: var(--bs-primary-bg-subtle);
  border-radius: 16px;
  padding: 40px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(9, 128, 255, 0.15);
}

.animation-placeholder {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-animation-btn {
  padding: 12px 24px;
  font-weight: 600;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .feature-animation-container {
    padding: 25px;
  }
  
  .animation-placeholder {
    min-height: 150px;
  }
}