/* Zumetra Landing Page - Custom Styles */

/* CSS Custom Properties */
:root {
  --primary-blue: #1976D2;
  --accent-green: #4CAF50;
  --light-blue: #E3F2FD;
  --light-green: #E8F5E8;
  --white: #FFFFFF;
  --dark-gray: #212121;
  --medium-gray: #757575;
  --light-gray: #F5F5F5;
  --gradient-primary: linear-gradient(135deg, #1976D2, #1565C0);
  --gradient-success: linear-gradient(135deg, #4CAF50, #388E3C);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Typography */
.display-4, .display-5 {
  font-weight: 700;
  line-height: 1.2;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--medium-gray);
}

/* Navigation */
.navbar {
  background-color: #ffffff !important;
  transition: var(--transition);
  min-height: 70px;
}

.navbar .container {
  display: flex;
  align-items: center;
}

.navbar-brand {
  color: var(--primary-blue) !important;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-gray) !important;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  line-height: 1.5;
  height: 100%;
}

.navbar-collapse {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 36px;
  width: auto;
  display: block;
}

.navbar-brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-left: 0.5rem;
}

.nav-link:hover {
  color: var(--primary-blue) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--gradient-primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  z-index: 1;
  will-change: transform;
  min-height: 100vh;
}

/* Background Carousel */
.hero-background-carousel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  transform: scale(1.1);
  animation: zoomIn 8s ease-in-out infinite;
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: none;
}

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

/* Dark Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Hero Section Text Styling for Dark Background */
.hero-section h1,
.hero-section .display-4,
.hero-section .lead {
  color: white !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-section .text-muted {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .text-primary {
  color: #64B5F6 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-section .text-success {
  color: #81C784 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-section .stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-section .stat-card .text-muted {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Hero Mockup */
.hero-mockup {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-mockup {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
  height: 300px;
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

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

.mockup-header {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.mockup-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.mockup-content {
  padding: 2rem;
  position: relative;
  height: calc(100% - 80px);
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.floating-card {
  position: absolute;
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  animation: pulse 2s ease-in-out infinite;
}

.floating-card.fuel-level {
  top: 20px;
  right: 20px;
  animation-delay: 0s;
}

.floating-card.engine-health {
  top: 80px;
  left: 20px;
  animation-delay: 0.5s;
}

.floating-card.trip-count {
  bottom: 20px;
  right: 20px;
  animation-delay: 1s;
}

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

/* Stat Cards */
.stat-card {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.counter {
  font-size: 2rem;
  font-weight: 700;
}

/* Problem/Solution Section */
.py-5.bg-light {
  position: relative;
  z-index: 2;
  background: rgba(248, 249, 250, 0.95) !important;
  backdrop-filter: blur(10px);
}

.problem-stats .stat-item {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.before, .after {
  text-align: center;
}

.before h4, .after h4 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.before ul, .after ul {
  text-align: left;
}

.before li, .after li {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Feature Cards */
.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

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

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  transform: rotate(360deg);
}

/* Technology Cards */
.tech-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.tech-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.tech-card:hover .tech-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

/* Testimonial Cards */
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-blue);
  opacity: 0.1;
  font-family: serif;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #ffc107;
}

.avatar {
  width: 50px;
  height: 50px;
  font-size: 2rem;
}

/* Pricing Cards */
.pricing-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  height: 100%;
  border: 2px solid transparent;
}

/* Pricing Toggle */
.pricing-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: white;
  border: 2px solid #d1d5db;
  border-radius: 999px;
  padding: 6px;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.pricing-toggle .toggle-option {
  position: relative;
  z-index: 2;
  border: none;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--dark-gray);
  cursor: pointer;
}

.pricing-toggle .toggle-option.active {
  color: white;
}

.pricing-toggle .toggle-knob {
  position: absolute;
  z-index: 1;
  left: 6px;
  top: 6px;
  width: calc(50% - 6px);
  height: calc(100% - 12px);
  background: var(--dark-gray);
  border-radius: 999px;
  transition: transform 0.3s ease;
}

.pricing-toggle.team .toggle-knob {
  transform: translateX(100%);
}

.pricing-group {
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pricing-group[hidden] {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.pricing-group.active {
  opacity: 1;
  visibility: visible;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: var(--shadow-sm);
}

.billing-toggle .billing-label {
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 0.95rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input { display:none; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #d1d5db;
  transition: .3s;
  border-radius: 999px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

input:checked + .slider {
  background-color: var(--primary-blue);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.discount-badge {
  background: var(--light-green);
  color: #1b5e20;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
}

/* Urgency banner */
.urgency-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff6f0;
  border: 1px solid #ffd6bf;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.urgency-banner .pill-badge {
  background: #ffedd5;
  color: #9a3412;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.urgency-banner .countdown {
  font-weight: 700;
  color: #b91c1c;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary-blue);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-header {
  margin-bottom: 2rem;
}

.price {
  margin: 1rem 0;
}

.currency {
  font-size: 1.5rem;
  vertical-align: top;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.period {
  font-size: 1rem;
  color: var(--medium-gray);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Expense Management Cards */
.expense-feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.expense-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

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

.expense-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.feature-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.feature-header i {
  display: block;
  margin-bottom: 1rem;
}

.feature-content {
  padding: 0;
}

.expense-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: var(--transition);
}

.expense-item:hover {
  background: var(--light-blue);
  transform: translateX(5px);
}

.expense-item i {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.expense-item span {
  font-weight: 500;
  color: var(--dark-gray);
  line-height: 1.5;
}

/* Lead Collection Modal */
.modal-content {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.modal-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.5rem;
}

.trial-benefits {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  height: 100%;
}

.trial-benefits h6 {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.trial-benefits ul li {
  color: var(--dark-gray);
  font-weight: 500;
}

.trial-benefits .bg-light {
  background: rgba(25, 118, 210, 0.1) !important;
  border: 1px solid rgba(25, 118, 210, 0.2);
}

.form-label {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545;
}

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

.form-check-label {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.form-check-label a {
  color: var(--primary-blue);
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

.invalid-feedback {
  display: none;
  font-size: 0.875rem;
  color: #dc3545;
  margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback,
.form-check-input.is-invalid ~ .invalid-feedback {
  display: block;
}

/* Success Modal */
.success-icon {
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.next-steps .row > div {
  padding: 0.5rem 0;
  border-left: 3px solid var(--light-blue);
  padding-left: 1rem;
  margin-left: 0.5rem;
}

.next-steps .row > div i {
  width: 20px;
  text-align: center;
}

/* Alert positioning */
.alert-positioned {
  box-shadow: var(--shadow-lg);
  border: none;
}

/* Integration Items */
.integration-item {
  padding: 2rem 1rem;
  transition: var(--transition);
}

.integration-item:hover {
  transform: translateY(-5px);
}

.integration-item i {
  transition: var(--transition);
}

.integration-item:hover i {
  transform: scale(1.2);
}

.integration-logo {
  max-height: 60px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
  display: block;
  margin: 0 auto;
}

.integration-item:hover .integration-logo {
  transform: scale(1.1);
}

/* Accordion Customization */
.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: white;
  border: none;
  font-weight: 600;
  color: var(--dark-gray);
  padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--light-blue);
  color: var(--primary-blue);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-body {
  padding: 1.5rem;
  background: white;
}

/* CTA Section */
.bg-primary {
  background: var(--gradient-primary) !important;
}

.bg-primary .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bg-primary h2 {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trust-indicators {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-item {
  text-align: center;
}

.trust-item i {
  display: block;
  margin-bottom: 0.5rem;
}

.trust-item p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin: 0;
}

/* Additional CTA section improvements */
.bg-primary .btn-light {
  background: white;
  color: var(--primary-blue);
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bg-primary .btn-light:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.bg-primary .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  background: transparent;
}

.bg-primary .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

/* Footer */
footer {
  background: var(--dark-gray) !important;
  color: white;
}

footer h5,
footer h6 {
  color: white !important;
  font-weight: 600;
  margin-bottom: 1rem;
}

footer p {
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.6;
}

footer p.text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

footer a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: var(--transition);
}

footer a.text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

footer a:hover {
  color: white !important;
  text-decoration: underline;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer hr {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1rem 0;
}

/* Override Bootstrap text-muted in footer */
footer .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Ensure all footer text is visible */
footer * {
  color: inherit;
}

footer h5, footer h6 {
  color: white !important;
}

footer p, footer span, footer div {
  color: rgba(255, 255, 255, 0.8) !important;
}

footer a {
  color: rgba(255, 255, 255, 0.7) !important;
}

footer a:hover {
  color: white !important;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: var(--transition);
  color: white !important;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
  color: white !important;
  text-decoration: none;
}

/* Partner/parent company logo in footer */
.footer-partner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.footer-partner img.footer-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--gradient-primary);
}

.btn-outline-primary {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  .hero-mockup {
    height: 300px;
    margin-top: 2rem;
  }
  
  .dashboard-mockup {
    height: 250px;
  }
  
  .before-after {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .trust-indicators {
    flex-direction: row;
    justify-content: space-around;
    margin-top: 2rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  .feature-card,
  .testimonial-card,
  .pricing-card {
    padding: 1.5rem;
  }
  
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .floating-card {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
.btn:focus,
.nav-link:focus,
.accordion-button:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Careers Section */
.career-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.career-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

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

.career-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.career-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.career-header h5 {
  color: var(--dark-gray);
  margin: 0;
  flex: 1;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background: var(--light-blue);
  color: var(--primary-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Job Application Modal */
.job-details {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  height: 100%;
}

.job-info .info-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.job-description,
.job-requirements {
  font-size: 0.9rem;
  line-height: 1.6;
}

.job-description ul,
.job-requirements ul {
  padding-left: 1.2rem;
  margin: 0;
}

.job-description li,
.job-requirements li {
  margin-bottom: 0.5rem;
  color: var(--medium-gray);
}

/* File input styling */
.form-control[type="file"] {
  padding: 0.5rem 0.75rem;
}

.form-control[type="file"]::-webkit-file-upload-button {
  background: var(--light-blue);
  color: var(--primary-blue);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-right: 1rem;
  font-weight: 500;
  transition: var(--transition);
}

.form-control[type="file"]::-webkit-file-upload-button:hover {
  background: var(--primary-blue);
  color: white;
}

/* Dropdown hover effects */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  font-weight: 500;
}

.dropdown-item:hover {
  background: var(--light-blue);
  color: var(--primary-blue);
}

/* Careers Overlay */
.careers-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.careers-overlay.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.careers-overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.careers-overlay-content {
    position: relative;
    z-index: 10000;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.careers-overlay.show .careers-overlay-content {
    transform: scale(1);
}

.careers-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-bottom: 1px solid #e0e0e0;
}

.careers-overlay-header h5 {
    color: var(--primary-blue);
    margin: 0;
}

.careers-overlay-close {
    background: none;
    border: none;
    color: var(--dark-gray);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.careers-overlay-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-blue);
}

.careers-overlay-body {
    padding: 1.5rem;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
}

.careers-overlay-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.careers-overlay-menu li {
    margin-bottom: 0.5rem;
}

.careers-overlay-item {
    display: block;
    padding: 1rem 1.25rem;
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    border: 1px solid transparent;
}

.careers-overlay-item:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding-left: 1.5rem;
    text-decoration: none;
}

.footer-careers-item {
    position: relative;
}

.footer-careers-link {
    cursor: pointer;
}

/* Responsive adjustments for careers overlay */
@media (max-width: 768px) {
    .careers-overlay-content {
        max-width: 90%;
        width: 90%;
        margin: 1rem;
    }
    
    .careers-overlay-header {
        padding: 1.25rem;
    }
    
    .careers-overlay-body {
        padding: 1.25rem;
    }
    
    .careers-overlay-item {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .careers-overlay-content {
        max-width: 95%;
        width: 95%;
        max-height: 85vh;
    }
    
    .careers-overlay-header h5 {
        font-size: 1.1rem;
    }
    
    .careers-overlay-item {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
}

/* Careers Dropdown */
.careers-dropdown {
    position: relative;
}

.careers-toggle {
    background: none;
    border: none;
    color: var(--dark-gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.careers-toggle:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.careers-toggle i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.careers-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.careers-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 250px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    margin-top: 0.5rem;
}

.careers-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.careers-menu-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

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

.careers-menu-item:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding-left: 1.25rem;
}

/* Hero Image Carousel */
.hero-image-carousel {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: transparent;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: transparent;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 10;
    padding: 0;
    margin: 0;
    width: 100%;
}

.indicator {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    flex-shrink: 0;
}

.indicator.active {
    background: var(--primary-blue);
    border-color: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .hero-image-carousel {
        width: 85%;
        max-width: 420px;
        margin: 4rem auto 2rem auto;
    }
    
    .carousel-container {
        height: 630px;
    }
    
    .carousel-image {
        object-fit: contain;
        object-position: center top;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
        min-width: 10px;
        min-height: 10px;
    }
}

@media (max-width: 576px) {
    .hero-image-carousel {
        width: 90%;
        max-width: 380px;
        margin: 5rem auto 2rem auto;
    }
    
    .carousel-container {
        height: 570px;
    }
    
    .carousel-image {
        object-fit: contain;
        object-position: center top;
    }
}

@media (max-width: 480px) {
    .hero-image-carousel {
        width: 90%;
        max-width: 340px;
        margin: 5rem auto 2rem auto;
    }
    
    .carousel-container {
        height: 510px;
    }
}

@media (max-width: 375px) {
    .hero-image-carousel {
        width: 90%;
        max-width: 320px;
        margin: 6rem auto 2rem auto;
    }
    
    .carousel-container {
        height: 480px;
    }
}

/* Dashboard Feature Showcase */
.dashboard-showcase {
    position: relative;
    overflow: hidden;
}

.dashboard-image-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.dashboard-image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.dashboard-image-container:hover img {
    transform: scale(1.02);
}

/* Responsive adjustments for dashboard */
@media (max-width: 768px) {
    .dashboard-showcase .display-6 {
        font-size: 2rem;
    }
    
    .dashboard-showcase .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .dashboard-showcase {
        padding: 2rem 0 !important;
    }
    
    .dashboard-showcase .display-6 {
        font-size: 1.75rem;
    }
    
    .dashboard-showcase .lead {
        font-size: 1rem;
    }
}

/* Scrolling Stats Banner */
.scrolling-stats-section {
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.scrolling-stats-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.scrolling-stats-content {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
    gap: 4rem;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.scrolling-stats-content:hover {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scrolling-stats-content {
        gap: 2rem;
    }
    
    .stat-item {
        min-width: 150px;
        padding: 0.75rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .scrolling-stats-content {
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 0.5rem 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* Print Styles */
@media print {
  .navbar,
  .hero-section,
  footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .container {
    max-width: none;
    width: 100%;
  }
}
