/* ===== GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'AvenirNext-Bold', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-weight: 400;
  padding-top: 70px; /* Add padding to account for fixed navbar */
}

/* ===== BRAND STYLING ===== */
.brand-name {
  font-family: 'AvenirNext-Bold', 'Inter', sans-serif;
  font-weight: 700;
}

.brand-name .improv {
  color: #4E95D9;
}

.brand-name .separator {
  color: #D9D9D9;
  margin: 0 4px;
}

.brand-name .iq {
  color: #FF9D00;
}

/* ===== HERO SECTION BRAND STYLING ===== */
.hero .company-name .brand-name .improv {
  color: #4E95D9 !important;
  -webkit-text-fill-color: #4E95D9 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 8px rgba(78, 149, 217, 0.3);
}

.hero .company-name .brand-name .separator {
  color: #D9D9D9 !important;
  -webkit-text-fill-color: #D9D9D9 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero .company-name .brand-name .iq {
  color: #FF9D00 !important;
  -webkit-text-fill-color: #FF9D00 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 8px rgba(255, 157, 0, 0.3);
}

.hero .company-name .brand-name {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===== PAGE LOADING ANIMATION ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4E95D9 0%, #4E95D9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 0.5s ease;
}

.loader-content {
  text-align: center;
  color: white;
}

.loader-logo-img {
  height: 80px;
  width: auto;
  margin: 0 0 20px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  animation: logoGlow 1s ease-in-out infinite alternate;
}

.loader-logo h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoGlow 2s ease-in-out infinite alternate;
}

.loader-tagline {
  font-size: 1.25rem;
  margin: 0 0 40px;
  opacity: 0.9;
  font-weight: 400;
}

.loader-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-ring:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 10px;
  left: 10px;
  border-top-color: rgba(255, 255, 255, 0.6);
  animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
  width: 40px;
  height: 40px;
  top: 20px;
  left: 20px;
  border-top-color: rgba(255, 255, 255, 0.9);
  animation-delay: 0.4s;
}

.loader-text {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 500;
  animation: textPulse 1s ease-in-out infinite;
}

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

@keyframes logoGlow {
  0% { filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)); }
  100% { filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)); }
}

@keyframes textPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #4E95D9 0%, #4E95D9 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(78, 149, 217, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(78, 149, 217, 0.6);
}

.btn-secondary {
  background: transparent;
  color: #4E95D9;
  border: 2px solid #4E95D9;
}

.btn-secondary:hover {
  background: #4E95D9;
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #4E95D9;
  border: 2px solid #D9D9D9;
}

.btn-outline:hover {
  border-color: #4E95D9;
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  background: linear-gradient(135deg, #f8fafc 0%, #D9D9D9 100%);
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-top: 20px; /* Override body padding-top for auth pages */
}

/* Fallback for browsers that don't support dvh */
@supports not (min-height: 100dvh) {
  .auth-page {
    min-height: 100vh;
  }
}

.auth-container {
  width: 100%;
  max-width: 480px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.auth-logo {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 8px;
  background: linear-gradient(135deg, #4E95D9 0%, #4E95D9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-tagline {
  font-size: 1rem;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.auth-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
}

.auth-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-card-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1a1a1a;
}

.auth-card-header p {
  color: #666;
  margin: 0;
  font-size: 1rem;
}

.auth-form {
  margin-bottom: 24px;
}

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

.form-control {
  width: 100%;
  padding: 16px;
  border: 2px solid #D9D9D9;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.2s ease;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: #4E95D9;
  box-shadow: 0 0 0 3px rgba(78, 149, 217, 0.1);
}

.form-control::placeholder {
  color: #999;
}

.btn-auth {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}

.auth-footer {
  text-align: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 24px;
}

.auth-footer p {
  margin: 0 0 16px;
  color: #666;
}

.auth-footer a {
  color: #4E95D9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.auth-footer a:hover {
  color: #4E95D9;
}

.back-home {
  display: inline-block;
  font-size: 0.9rem;
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-home:hover {
  color: #4E95D9;
}

/* ===== HERO SECTION ===== */
.hero {
  background: #4E95D9;
  color: white;
  min-height: calc(100vh - 70px);
  min-height: calc(100dvh - 70px); /* Dynamic viewport height for mobile, minus navbar */
  max-height: calc(100vh - 70px);
  max-height: calc(100dvh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem 0;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

/* Fallback for browsers that don't support dvh */
@supports not (min-height: 100dvh) {
  .hero {
    min-height: calc(100vh - 70px);
    max-height: calc(100vh - 70px);
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 20px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  overflow: visible;
  box-sizing: border-box;
  transform-origin: center center;
  gap: 2rem;
}

/* Hero Layout Components - Landing Page Only */
.hero-left {
  flex: 1;
  text-align: left;
  max-width: 600px;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
}

/* Other Pages Hero - Centered Layout */
.hero:not(.hero-landing) .hero-content {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.hero:not(.hero-landing) .hero-left {
  text-align: center;
  max-width: 800px;
}

.hero:not(.hero-landing) .hero-right {
  display: none;
}

.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.hero-main-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  display: block;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.company-logo {
  position: static;
  margin: 1.5rem 0 2rem 0;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: inline-block;
  width: auto;
}

/* Other Pages Company Logo - Centered */
.hero:not(.hero-landing) .company-logo {
  margin: 2rem auto;
}

.company-name {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.company-tagline {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.hero-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.2;
}

.highlight {
  background: linear-gradient(135deg, #FF9D00 0%, #4E95D9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

/* Other Pages Hero Actions - Centered */
.hero:not(.hero-landing) .hero-actions {
  justify-content: center;
}

.hero .btn-primary {
  background: white;
  color: #4E95D9;
  border: 2px solid white;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.3);
}

.hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #4E95D9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.hero .btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero .btn-secondary:hover {
  background: white;
  color: #4E95D9;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #FF9D00;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Ensure hero stats numbers and labels are white in the hero section */
.hero .stat-number {
  color: #ffffff;
  margin-bottom: 4px;
}

.hero .stat-label {
  color: rgba(255, 255, 255, 0.95);
  opacity: 1;
  margin-top: 0;
}


/* ===== GET TO KNOW SECTION (Card Scroll) ===== */
.get-to-know {
  background: #ffffff;
  padding: 120px 0;
  position: relative;
}

.feature-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 40px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.card-header {
  text-align: center;
  margin-bottom: 32px;
}

.feature-icon-large {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4E95D9 0%, #FF9D00 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: 0 8px 24px rgba(78, 149, 217, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-large {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(78, 149, 217, 0.3);
}

.feature-icon-large i {
  font-size: 32px;
  color: white;
}

.feature-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
  line-height: 1.2;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: #86868b;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.feature-description {
  font-size: 1rem;
  color: #1d1d1f;
  line-height: 1.6;
  margin: 0 0 32px 0;
  flex: 1;
}

.feature-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.highlight-item {
  font-size: 0.9rem;
  color: #4E95D9;
  font-weight: 500;
  position: relative;
  padding-left: 20px;
}

.highlight-item::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #4E95D9;
  font-weight: bold;
  font-size: 1rem;
}



/* ===== FAQ SECTION ===== */
.faq {
  background: #f8f9fa;
  padding: 120px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: visible;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.faq-item.active {
  box-shadow: 0 8px 30px rgba(78, 149, 217, 0.15);
}

.faq-question {
  padding: 24px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(78, 149, 217, 0.05);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  flex: 1;
  padding-right: 20px;
}

.faq-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-toggle:hover {
  background: rgba(78, 149, 217, 0.1);
}

.faq-toggle i {
  font-size: 1.2rem;
  color: #4E95D9;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  background: rgba(248, 249, 250, 0.5);
  padding: 0 20px;
  opacity: 0;
}

.faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  padding: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.faq-answer.active {
  max-height: 300px;
  padding: 20px 20px;
  opacity: 1;
}

.faq-answer.active p {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile responsive FAQ */
@media (max-width: 768px) {
  .faq {
    padding: 80px 0;
  }
  
  .faq-question {
    padding: 20px 16px;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
    padding-right: 16px;
  }
  
  .faq-toggle {
    padding: 6px;
  }
  
  .faq-toggle i {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .faq {
    padding: 60px 0;
  }
  
  .faq-question {
    padding: 16px 12px;
  }
  
  .faq-question h3 {
    font-size: 1rem;
    padding-right: 12px;
  }
}

/* ===== SECTIONS ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: #1a1a1a;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #666;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 100px 0;
  background: #fafbfc;
}

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

.feature-item {
  background: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4E95D9 0%, #FF9D00 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 24px 0;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 15px rgba(78, 149, 217, 0.3);
}

/* Bootstrap Icons for Features */
.feature-icon i {
  color: white;
  font-size: 24px;
}

.feature-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #1a1a1a;
  flex-shrink: 0;
}

.feature-item p {
  color: #666;
  margin: 0;
  line-height: 1.6;
  flex-grow: 1;
}

/* ===== PRICING SECTION ===== */
.pricing {
  padding: 100px 0;
  background: white;
}

/* Pricing Toggle Styles */
.pricing-toggle-container {
  text-align: center;
  margin-bottom: 60px;
}

.toggle-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 32px;
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 6px;
  max-width: 600px;
  margin: 0 auto;
}

.toggle-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.toggle-btn:hover {
  background: rgba(78, 149, 217, 0.1);
}

.toggle-btn.active {
  background: #4E95D9;
  color: white;
  box-shadow: 0 4px 12px rgba(4, 45, 97, 0.3);
}

.toggle-label {
  font-size: 1rem;
  font-weight: 600;
}

.toggle-subtitle {
  font-size: 0.875rem;
  opacity: 0.8;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.pricing-card {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card .pricing-features {
  flex-grow: 1;
  margin-bottom: 32px;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: #4E95D9;
  transform: scale(1.05);
}

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

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF9D00;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 157, 0, 0.3);
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 16px;
  color: #1a1a1a;
}


.price {
  font-size: 3rem;
  font-weight: 700;
  color: #4E95D9;
  margin-bottom: 32px;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: #666;
}

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

.pricing-features li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  color: #666;
  border-bottom: 1px solid #f0f0f0;
}

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

/* ===== PRICING FEATURE ICONS ===== */
.core-tick {
  color: #4E95D9;
  margin-right: 12px;
  font-size: 1.1rem;
}

.elevate-plus {
  color: #FF9D00;
  margin-right: 12px;
  font-size: 1.1rem;
}

/* ===== CONSULTING ADD-ON STYLES ===== */
.consulting-addon {
  margin: 24px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.addon-toggle {
  margin-bottom: 8px;
}

.addon-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
}

.addon-checkbox input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #4E95D9;
  border-radius: 4px;
  margin-right: 12px;
  position: relative;
  transition: all 0.2s ease;
}

.addon-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #4E95D9;
}

.addon-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.addon-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.addon-price {
  color: #4E95D9;
  font-weight: 600;
  font-size: 0.9rem;
}

.addon-description {
  margin-top: 8px;
  color: #666;
}

.total-price {
  margin: 20px 0;
  padding: 16px;
  background: linear-gradient(135deg, #4E95D9 0%, #1e4a7a 100%);
  border-radius: 12px;
  color: white;
  text-align: center;
}

.total-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 4px;
}

.total-amount {
  font-size: 1.4rem;
  font-weight: 700;
}

.total-amount span {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.9;
}

/* ===== STANDALONE SERVICES SECTION ===== */
.standalone-services-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 2px solid #f0f0f0;
}

.standalone-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 16px;
}

.standalone-subtitle {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.standalone-services-horizontal {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.horizontal-card {
  max-width: 800px;
  width: 100%;
}

.horizontal-card-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.horizontal-card-left {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.horizontal-card-right {
  flex: 1;
}

.consulting-description p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ===== CONSULTING SERVICE STYLES ===== */
.pricing-card.consulting-service {
  border-color: #FF9D00;
  position: relative;
}

.pricing-card.consulting-service .consulting-note {
  margin-bottom: auto;
  margin-top: 0;
}

.pricing-card.consulting-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 157, 0, 0.15);
}

.consulting-badge {
  background: linear-gradient(135deg, #FF9D00 0%, #FFB84D 100%);
  color: white;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 157, 0, 0.3);
  white-space: nowrap;
}

.consulting-badge i {
  margin-right: 6px;
}

.consulting-note {
  margin: 16px 0;
  padding: 12px;
  background: #fff8f0;
  border: 1px solid #FFE5B3;
  border-radius: 8px;
  text-align: center;
}

.consulting-note small {
  color: #B8860B;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #4E95D9 0%, #FF9D00 100%);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: white;
}

.cta p {
  font-size: 1.25rem;
  margin: 0 0 32px 0;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.cta .btn-primary {
  background: white;
  color: #4E95D9;
  border: 2px solid white;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.3);
}

.cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #4E95D9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.cta .btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta .btn-secondary:hover {
  background: white;
  color: #4E95D9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.cta .hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: #4E95D9;
}

.footer-brand p {
  color: #999;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 20px;
  color: white;
}

.footer-section a {
  display: block;
  color: #999;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #4E95D9;
}

.footer-logo {
  filter: brightness(0) invert(1);
}

.problem-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
  position: relative;
}

.problem-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4E95D9, transparent);
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(78, 149, 217, 0.1);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(78, 149, 217, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4E95D9, #FF9D00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 12px;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
}

.solution-section {
  padding: 100px 0;
  background: white;
  position: relative;
}

.solution-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #FF9D00, transparent);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.solution-item {
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  transition: all 0.3s ease;
  border: 1px solid rgba(78, 149, 217, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.solution-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4E95D9, #FF9D00);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(78, 149, 217, 0.15);
}

.solution-item:hover::before {
  opacity: 1;
}

.solution-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4E95D9 0%, #FF9D00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(78, 149, 217, 0.3);
}

/* Bootstrap Icons for Solutions */
.solution-icon i {
  color: white;
  font-size: 24px;
}

.solution-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.solution-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.who-we-serve {
  padding: 100px 0;
  background: #fafbfc;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.industry-item {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.industry-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4E95D9 0%, #FF9D00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(78, 149, 217, 0.2);
}

/* Bootstrap Icons for Industries */
.industry-icon i {
  color: white;
  font-size: 20px;
}

/* Bootstrap Icons for Timeline */
.marker-icon i {
  color: #4E95D9;
  font-size: 24px;
}

.timeline-features .feature-item i {
  color: #4E95D9;
  font-size: 14px;
  margin-right: 8px;
}

/* Bootstrap Icons for Comparison */
.comparison-item li i {
  margin-right: 8px;
  font-size: 16px;
}

.comparison-item.traditional li i {
  color: #dc3545; /* Red for X marks */
}

.comparison-item.improviq li i {
  color: #28a745; /* Green for check marks */
}

.industry-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #1a1a1a;
}

.ceo-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.ceo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4E95D9, transparent);
}

.ceo-content {
  padding-right: 40px;
}

.ceo-name {
  font-size: 2rem;
  font-weight: 600;
  color: #4E95D9;
  margin-bottom: 20px;
}

.ceo-intro {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.ceo-quote {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 35px;
  border-radius: 20px;
  margin-bottom: 40px;
  border: 1px solid rgba(78, 149, 217, 0.2);
  box-shadow: 0 8px 25px rgba(78, 149, 217, 0.1);
  position: relative;
}

.ceo-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  font-weight: 700;
  color: #4E95D9;
  opacity: 0.3;
}

.ceo-quote blockquote {
  font-size: 1.125rem;
  font-style: italic;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

.contact-info h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.contact-item {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
}

.contact-label {
  font-weight: 600;
  color: #666;
  min-width: 80px;
  margin-right: 12px;
}

.contact-item a {
  color: #4E95D9;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.ceo-image {
  text-align: center;
}

.ceo-image img {
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  width: 300px;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.ceo-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 80px rgba(78, 149, 217, 0.2);
}

.why-improviq {
  padding: 100px 0;
  background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
  position: relative;
}

.why-improviq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #FF9D00, transparent);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.comparison-item {
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.comparison-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: opacity 0.3s ease;
}

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

.comparison-item.traditional {
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  border: 2px solid rgba(217, 217, 217, 0.3);
}

.comparison-item.traditional::before {
  background: linear-gradient(90deg, #D9D9D9, #999);
}

.comparison-item.traditional:hover {
  box-shadow: 0 15px 40px rgba(217, 217, 217, 0.2);
}

.comparison-item.improviq {
  background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
  border: 2px solid rgba(78, 149, 217, 0.3);
}

.comparison-item.improviq::before {
  background: linear-gradient(90deg, #4E95D9, #FF9D00);
}

.comparison-item.improviq:hover {
  box-shadow: 0 15px 40px rgba(78, 149, 217, 0.2);
}

.comparison-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.comparison-item.traditional h3 {
  color: #666;
}

.comparison-item.improviq h3 {
  color: #4E95D9;
}

.comparison-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-item li {
  padding: 8px 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
  .problem-section,
  .solution-section,
  .who-we-serve,
  .ceo-section,
  .why-improviq {
    padding: 60px 0;
  }
  
  .problem-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
  
  .stat-item {
    padding: 24px 16px;
    margin-bottom: 16px;
  }
  
  .stat-number {
    font-size: 2.5rem;
    margin-bottom: 8px;
  }
  
  .stat-label {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  .solution-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .ceo-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #666;
  margin: 0;
  font-size: 0.9rem;
}

/* ===== LEGAL PAGES STYLES ===== */
.legal-hero {
  background: #4E95D9;
  padding: 50px 0 80px; /* Reduced top padding to account for navbar */
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.legal-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.legal-hero .hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.legal-hero .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.legal-hero .hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.legal-hero .company-logo {
  margin-bottom: 2rem;
}

.legal-hero .company-logo img {
  opacity: 0.95;
}

.legal-hero .company-tagline {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 0.5rem;
  margin-bottom: 0;
  white-space: nowrap;
}

.legal-hero .hero-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.legal-hero .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-hero .meta-item i {
  font-size: 1rem;
}

.legal-content {
  padding: 80px 0;
  background: #fafbfc;
}

.legal-text {
  background: white;
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e8ed;
}

.legal-text .lead {
  font-size: 1.2rem;
  color: #4a5568;
  margin-bottom: 40px;
  font-weight: 500;
}

.legal-text h2 {
  color: #2d3748;
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #4E95D9;
}

.legal-text h2:first-of-type {
  margin-top: 0;
}

.legal-text h3 {
  color: #4a5568;
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.legal-text p {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 20px;
}

.legal-text ul {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-text li {
  margin-bottom: 10px;
}

.legal-text strong {
  color: #2d3748;
  font-weight: 600;
}

.legal-text a {
  color: #4E95D9;
  text-decoration: none;
  font-weight: 500;
}

.legal-text a:hover {
  color: #2A5490;
  text-decoration: underline;
}

.legal-contact {
  background: #f7fafc;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid #4E95D9;
  margin-top: 40px;
}

.legal-contact h3 {
  color: #2d3748;
  margin-top: 0;
  margin-bottom: 15px;
}

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

.legal-contact .contact-list li {
  margin-bottom: 8px;
  color: #4a5568;
}

.legal-contact .contact-list a {
  color: #4E95D9;
  text-decoration: none;
  font-weight: 500;
}

.legal-contact .contact-list a:hover {
  color: #2A5490;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-text {
    padding: 40px 30px;
  }
  
  .legal-text h2 {
    font-size: 1.5rem;
  }
}

/* ===== RESPONSIVE DESIGN - MOBILE OPTIMIZED ===== */

/* Mobile-First Approach - Base styles optimized for mobile */
* {
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
}

/* Prevent horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Better mobile font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Improved mobile focus states */
.btn:focus,
.form-control:focus,
.scroll-nav-link:focus {
  outline: 2px solid #4E95D9;
  outline-offset: 2px;
}

/* Better mobile hover states (for devices that support hover) */
@media (hover: hover) {
  .btn:hover,
  .scroll-nav-link:hover {
    transform: translateY(-1px);
  }
}

/* Touch-friendly hover states for mobile */
@media (hover: none) {
  .btn:active,
  .scroll-nav-link:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

/* Enhanced Mobile Touch Targets */
@media (max-width: 768px) {
  /* Reduce hero section top padding on mobile */
  .hero.hero-landing {
    padding: 0.25rem 0 1rem 0 !important;
  }
  
  /* Hero scaling adjustments for mobile */
  .hero-content {
    padding: 0.5rem 1rem;
    gap: 1rem;
  }
  
  .hero-title {
    font-size: clamp(1.2rem, 4vw, 1.8rem) !important;
    line-height: 1.2 !important;
    margin: 0 0 1rem 0 !important;
  }
  
  .hero-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1.5rem !important;
  }
  
  .hero-main-image {
    max-width: 200px !important;
  }
}

/* Extra small screens - enhanced scaling */
@media (max-width: 480px) {
  /* Further reduce hero section top padding on very small screens */
  .hero.hero-landing {
    padding: 0.125rem 0 0.75rem 0 !important;
  }
  
  .hero-content {
    padding: 0.25rem 0.75rem;
    gap: 0.75rem;
  }
  
  .hero-title {
    font-size: clamp(1rem, 5vw, 1.5rem) !important;
    line-height: 1.1 !important;
    margin: 0 0 0.75rem 0 !important;
  }
  
  .hero-subtitle {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
  }
  
  .hero-main-image {
    max-width: 150px !important;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  /* Ensure all interactive elements meet minimum touch target size (44px) */
  .btn, .btn-primary, .btn-secondary, .btn-outline {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 20px;
  }
  
  .scroll-nav-menu-toggle {
    min-height: 44px;
    min-width: 44px;
  }
  
  .faq-toggle {
    min-height: 44px;
    min-width: 44px;
  }
  
  .form-control {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Improved mobile spacing */
  .container {
    padding: 0 16px;
  }
  
  /* Better mobile typography */
  body {
    font-size: 16px;
    line-height: 1.5;
  }
  
  /* Standardized mobile hero section styling for all hero types */
  .hero,
  .legal-hero {
    padding: 0.25rem 0 1rem 0 !important;
    min-height: calc(100vh - 70px);
    min-height: calc(100dvh - 70px);
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  
  .hero-content,
  .legal-hero .hero-content {
    padding: 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    gap: 2rem;
  }
  
  /* Enhanced mobile navigation */
  .scroll-nav-content {
    padding: 0 16px;
  }
  
  .scroll-nav-brand {
    margin-left: 0;
  }
  
  /* Better mobile card layouts */
  .feature-card,
  .pricing-card,
  .solution-item,
  .industry-item {
    margin-bottom: 1.5rem;
  }
  
  /* Improved mobile form layouts */
  .auth-card {
    margin: 1rem;
    padding: 2rem 1.5rem;
  }
  
  /* Better mobile image handling */
  .hero-main-image,
  .image-item img,
  .screenshot-image img {
    max-width: 100%;
    height: auto;
  }
  
  /* Enhanced mobile text readability */
  .section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Better mobile spacing for sections */
  .features,
  .get-to-know,
  .faq,
  .cta,
  .pricing {
    padding: 3rem 0;
  }
  
  .hero-left {
    text-align: center;
    max-width: 100%;
  }
  
  .hero-right {
    max-width: 100%;
  }
  
  .hero-main-image {
    max-width: 250px;
  }
  
  .company-logo {
    position: static;
    margin: 2rem 0 4rem 0;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  
  .hero-title,
  .legal-hero .hero-title {
    font-size: 2rem !important;
    margin: 0 0 1rem 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }
  
  .hero-subtitle,
  .legal-hero .hero-subtitle {
    font-size: 1rem !important;
    margin: 0 auto 0 auto !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    margin-top: auto;
  }
  
  .hero-stats {
    display: none; /* Hide stats on mobile for brevity */
  }
  
  .hero-badge,
  .legal-hero .hero-badge {
    display: none; /* Hide badge on mobile for consistency */
  }
  
  .company-tagline {
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  .legal-hero .company-logo {
    margin-bottom: 1.5rem;
  }
  
  .legal-hero .company-logo img {
    height: 50px !important;
  }
  
  .legal-hero .company-tagline {
    font-size: 0.9rem !important;
    white-space: nowrap;
  }
  
  .legal-hero .hero-meta {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .legal-hero .meta-item {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  
  .company-logo img {
    height: 60px !important; /* Smaller logo on mobile */
  }
  
  .hero-title,
  .legal-hero .hero-title {
    font-size: 2rem !important;
    margin: 0 0 1rem 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }
  
  .hero-subtitle,
  .legal-hero .hero-subtitle {
    font-size: 1rem !important;
    margin: 0 auto 2rem auto !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-toggle {
    flex-direction: column;
    max-width: 300px;
  }
  
  .toggle-btn {
    padding: 12px 16px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  
  .auth-card {
    padding: 24px;
  }
  
  .what-you-get {
    padding: 60px 0;
  }
  
  .carousel-container {
    margin: 0 20px;
    padding: 0 1rem;
  }
  
  .carousel-track {
    gap: 1.5rem;
    padding: 15px 0;
    width: fit-content;
  }
  
  .carousel-item {
    width: 320px;
    min-height: 280px;
  }
  
  .carousel-content {
    padding: 20px;
    min-height: 100%;
  }
  
  .carousel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .carousel-header h3 {
    font-size: 1.1rem;
  }
  
  .get-to-know {
    padding: 80px 0;
  }
  
  .cards-container {
    margin-top: 60px;
    padding: 0 20px;
  }
  
  .cards-scroll {
    gap: 24px;
    padding: 16px 0;
  }
  
  .feature-card {
    flex: 0 0 320px;
    padding: 32px;
    min-height: 450px;
  }
  
  .feature-icon-large {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }
  
  .feature-icon-large i {
    font-size: 24px;
  }
  
  .feature-title {
    font-size: 1.5rem;
  }
  
  .feature-subtitle {
    font-size: 1rem;
  }
  
  .feature-description {
    font-size: 0.9rem;
  }
  
  }

/* Enhanced Small Mobile Styles */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  /* Even better touch targets for small screens */
  .btn, .btn-primary, .btn-secondary, .btn-outline {
    min-height: 48px;
    padding: 14px 24px;
    font-size: 16px;
  }
  
  /* Improved small mobile spacing */
  .hero-content,
  .legal-hero .hero-content {
    padding: 0.75rem 0.75rem;
    gap: 1.5rem;
  }
  
  /* Better small mobile typography */
  .hero-title,
  .legal-hero .hero-title {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    line-height: 1.2 !important;
  }
  
  .hero-subtitle,
  .legal-hero .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }
  
  /* Enhanced small mobile cards */
  .feature-card,
  .pricing-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Better small mobile forms */
  .auth-card {
    margin: 0.5rem;
    padding: 1.5rem 1rem;
  }
  
  .form-control {
    padding: 14px 16px;
    font-size: 16px;
  }
  
  /* Improved small mobile navigation */
  .scroll-nav-content {
    padding: 0 12px;
  }
  
  .scroll-nav-logo {
    max-width: 100px;
    height: auto;
  }
  
  /* Better small mobile sections */
  .features,
  .get-to-know,
  .faq,
  .cta,
  .pricing {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }
  
  /* Enhanced small mobile grids */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .solution-grid,
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Better small mobile images */
  .hero-main-image {
    max-width: 200px;
  }
  
  .image-item img {
    max-width: 180px;
  }
  
  /* Improved small mobile FAQ */
  .faq-question {
    padding: 16px 12px;
  }
  
  .faq-question h3 {
    font-size: 1rem;
    padding-right: 12px;
  }
  
  /* Better small mobile footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Enhanced mobile dashboard */
  .dashboard-header {
    padding: 1rem 0;
  }
  
  .dashboard-logo {
    font-size: 1.5rem;
  }
  
  .business-info {
    padding: 1rem;
  }
  
  /* Better mobile charts */
  .chart-container {
    position: relative;
    height: 250px;
    width: 100%;
  }
  
  canvas {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Improved mobile accordions */
  .accordion-button {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .accordion-body {
    padding: 1rem;
  }
  
  /* Better mobile lists */
  .list-group-item {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  /* Enhanced mobile progress bars */
  .progress {
    height: 24px;
  }
  
  .progress-bar {
    font-size: 0.9rem;
  }
  
  /* Better mobile form controls */
  .form-select {
    min-height: 44px;
    font-size: 16px;
  }
  
  /* Improved mobile modals */
  .modal-dialog {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
  
  .modal-content {
    border-radius: 12px;
  }
  
  /* Better mobile tables */
  .table-responsive {
    border-radius: 8px;
    overflow: hidden;
  }
  
  /* Enhanced mobile navigation cards */
  .nav-card,
  .mobile-nav-card {
    min-height: 60px;
    padding: 1rem;
  }
  
  .nav-card-icon,
  .mobile-nav-icon {
    width: 40px;
    height: 40px;
  }
  
  /* Better mobile spacing for all sections */
  .section-header {
    margin-bottom: 2rem;
  }
  
  /* Improved mobile CTA sections */
  .cta {
    padding: 2rem 0;
  }
  
  .cta h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
  }
  
  .cta p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .cta .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta .btn-large {
    width: 100%;
    max-width: 280px;
  }
  
  /* Enhanced Problem Section for Small Mobile */
  .problem-section {
    padding: 40px 0;
  }
  
  .problem-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }
  
  .stat-item {
    padding: 20px 12px;
    margin-bottom: 12px;
    border-radius: 12px;
  }
  
  .stat-number {
    font-size: 2.2rem;
    margin-bottom: 6px;
  }
  
  .stat-label {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  
  /* Standardized mobile hero section styling for all hero types on small screens */
  .hero,
  .legal-hero {
    padding: 0.125rem 0 0.75rem 0 !important;
    min-height: calc(100vh - 70px);
    min-height: calc(100dvh - 70px);
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  
  .hero-content,
  .legal-hero .hero-content {
    padding: 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    gap: 1.5rem;
  }
  
  .hero-left {
    text-align: center;
    max-width: 100%;
  }
  
  .hero-right {
    max-width: 100%;
  }
  
  .hero-main-image {
    max-width: 220px;
  }
  
  .company-logo {
    position: static;
    margin: 2rem 0 4rem 0;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: inline-block;
    width: auto;
    text-align: center;
  }
  
  .company-tagline {
    font-size: 0.85rem;
    white-space: nowrap;
  }
  
  .hero-title,
  .legal-hero .hero-title {
    font-size: 2rem !important;
    margin: 0 0 1rem 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }
  
  .hero-subtitle,
  .legal-hero .hero-subtitle {
    font-size: 1rem !important;
    margin: 0 auto 0 auto !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
  
  
  .company-logo img {
    height: 50px !important; /* Even smaller logo on small mobile */
  }
  
  .company-tagline {
    font-size: 0.9rem !important;
  }
  
  .company-name {
    font-size: 2.5rem;
    margin-bottom: 0;
  }
  
  .hero-title,
  .legal-hero .hero-title {
    font-size: 2rem !important;
    margin: 0 0 1rem 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }
  
  .hero-subtitle,
  .legal-hero .hero-subtitle {
    font-size: 1rem !important;
    margin: 0 auto 2rem auto !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
  
  .hero-actions {
    margin-bottom: 0;
    margin-top: auto;
  }
  
  .hero-actions .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .hero-stats {
    display: none; /* Ensure stats are hidden on small mobile too */
  }
  
  .legal-hero .company-logo img {
    height: 45px !important;
  }
  
  .legal-hero .company-tagline {
    font-size: 0.85rem !important;
    white-space: nowrap;
  }
  
  .legal-hero .hero-meta {
    gap: 0.8rem;
  }
  
  .legal-hero .meta-item {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .feature-item,
  .pricing-card {
    padding: 24px;
  }
  
  /* Standalone Services Mobile Styles */
  .standalone-services-section {
    margin-top: 60px;
    padding-top: 40px;
  }
  
  .standalone-title {
    font-size: 1.75rem;
  }
  
  .standalone-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .horizontal-card-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .horizontal-card-left {
    flex: none;
    align-items: center;
  }
  
  .consulting-description p {
    font-size: 1rem;
  }
  
  .auth-container {
    padding: 0 16px;
  }
  
  .auth-logo {
    font-size: 2rem;
  }
}

/* ===== STATIC NAVIGATION BAR ===== */
.scroll-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(78, 149, 217, 0.2);
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.scroll-nav.visible {
  transform: translateY(0);
}

.scroll-nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 50px;
}

.scroll-nav-logo {
  height: 32px;
  width: auto;
  filter: none;
}

.scroll-nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1.1rem;
}

.scroll-nav-brand:hover {
  color: #4E95D9;
  text-decoration: none;
}

/* Desktop Navigation Menu */
.scroll-nav-desktop-menu {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.scroll-nav-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}

.scroll-nav-link:hover {
  color: #4E95D9;
  text-decoration: none;
}

/* Sections Dropdown (desktop) */
.sections-menu {
  position: relative;
}

.sections-trigger {
  background: #f8f9fa;
  border: 1px solid #e1e5ea;
  color: #1a1a1a;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sections-trigger:hover {
  border-color: #4E95D9;
  color: #4E95D9;
}

.sections-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 0.75rem;
  min-width: 520px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1002;
}

.sections-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 0.5rem;
}

.section-link {
  display: block;
  padding: 0.6rem 0.75rem;
  background: #f8f9fa;
  border: 1px solid #eef1f4;
  border-radius: 8px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.section-link:hover {
  background: #eaf3ff;
  border-color: #4E95D9;
  color: #2a5aa3;
}

@media (max-width: 992px) {
  .sections-dropdown {
    min-width: 420px;
  }
  .sections-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

/* Mobile Navigation Menu */
.scroll-nav-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: white;
  border-right: 1px solid rgba(78, 149, 217, 0.2);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 2000;
  overflow-y: auto;
}

.scroll-nav-mobile-menu.active,
div.scroll-nav-mobile-menu.active,
#scrollNavMobileMenu.active {
  transform: translateX(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.scroll-nav-mobile-links {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.5rem;
  padding-top: 4rem; /* Add space for the navbar */
}

.scroll-nav-mobile-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.scroll-nav-mobile-link:hover {
  background: rgba(78, 149, 217, 0.1);
  color: #4E95D9;
  text-decoration: none;
}

/* Mobile accordion for dashboard sections */
.mobile-accordion-toggle {
  width: 100%;
  text-align: left;
  background: #f8f9fa;
  border: 1px solid #eaeef3;
  color: #1a1a1a;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-accordion {
  display: none;
  padding-left: 0.25rem;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-accordion.open {
  display: flex;
}

.mobile-accordion .scroll-nav-mobile-link {
  font-size: 0.85rem;
  padding: 0.6rem 0.8rem;
}

/* Mobile menu: single column layout */
@media (max-width: 768px) {
  .scroll-nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Mobile overlay for slide-in menu */
.scroll-nav-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1990;
}

.scroll-nav-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Navigation Controls */
.scroll-nav-mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.scroll-nav-menu-toggle {
  background: none;
  border: none;
  color: #1a1a1a;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  z-index: 9999 !important;
  position: relative !important;
  pointer-events: auto !important;
}

.scroll-nav-menu-toggle:hover {
  background: rgba(78, 149, 217, 0.1);
  color: #4E95D9;
}

.scroll-nav-action-btn {
  background: none;
  color: #4E95D9;
  border: none;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 36px;
}

.scroll-nav-action-btn:hover {
  background: none;
  color: #3a7bc8;
  text-decoration: none;
  transform: none;
  box-shadow: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .scroll-nav-mobile-controls {
    display: flex;
    flex-shrink: 0;
  }
  
  .scroll-nav-content {
    justify-content: space-between;
    position: relative;
    align-items: center;
    min-height: 50px;
  }
  
  .scroll-nav-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    flex-shrink: 0;
  }
  
  /* Ensure proper spacing for mobile controls */
  .scroll-nav-mobile-controls:first-child {
    margin-right: auto;
    min-width: 50px;
  }
  
  .scroll-nav-mobile-controls:last-child {
    margin-left: auto;
    min-width: 70px;
  }
  
  /* Prevent logo from overlapping buttons */
  .scroll-nav-logo {
    max-width: 120px;
    height: auto;
  }
  
  /* Additional spacing for very small screens */
  @media (max-width: 480px) {
    .scroll-nav-content {
      padding: 0 0.5rem;
    }
    
    .scroll-nav-mobile-controls:first-child {
      min-width: 45px;
    }
    
    .scroll-nav-mobile-controls:last-child {
      min-width: 65px;
    }
    
    .scroll-nav-logo {
      max-width: 100px;
    }
    
    .scroll-nav-action-btn {
      padding: 0.3rem 0.6rem;
      font-size: 0.75rem;
      min-width: 55px;
    }
  }
}

/* Desktop - show desktop menu, hide mobile controls */
@media (min-width: 769px) {
  .scroll-nav-desktop-menu {
    display: flex;
  }
  
  .scroll-nav-mobile-menu {
    display: none;
  }
  
  .scroll-nav-mobile-menu.active,
  div.scroll-nav-mobile-menu.active,
  #scrollNavMobileMenu.active {
    display: block !important;
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Reduce button spacing on desktop to make room for stats */
  .hero-actions {
    gap: 6px;
    margin-bottom: 1rem;
  }
  
  /* Ensure hero stats are visible on desktop within viewport */
  .hero-content {
    overflow: visible;
    max-height: calc(100vh - 70px);
    justify-content: center;
    padding: 0.5rem 20px;
    gap: 1.5rem;
  }
  
  .hero-stats {
    display: flex !important;
    margin-top: 1rem;
  }
  
  .hero .stat-number {
    margin-bottom: 3px;
  }
  
  .hero .stat-label {
    margin-top: 0;
  }
}

/* Medium screens - tablet optimization */
@media (min-width: 769px) and (max-width: 1023px) {
  .hero-content {
    gap: 1.5rem;
    padding: 0.75rem 20px;
  }
  
  .hero-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  
  .hero-main-image {
    max-width: 250px;
  }
  
  .company-logo {
    margin: 1rem 0 1.5rem 0;
    padding: 0.6rem 1.2rem;
    text-align: center;
  }
}

/* Larger desktop screens - ensure stats are fully visible within viewport */
@media (min-width: 1024px) {
  .hero {
    min-height: calc(100vh - 70px);
    max-height: calc(100vh - 70px);
  }
  
  .hero-content {
    max-width: 1000px;
    padding: 1rem 20px;
    overflow: visible;
    justify-content: center;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  
  .hero-main-image {
    max-width: 300px;
  }
  
  .hero-actions {
    margin-bottom: 1rem;
  }
  
  .hero-stats {
    gap: 60px;
    margin-top: 1rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
    margin-bottom: 2px;
  }
  
  .stat-label {
    font-size: 0.9rem;
    margin-top: 0;
  }
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-header {
  background: #4E95D9;
  color: white;
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-radius: 0 0 20px 20px;
  position: relative;
  overflow: hidden;
  min-height: 60px;
}

/* Content hiding handled entirely in JavaScript - no CSS rules */

/* Container with minimal padding for button alignment */
.dashboard-header .container-fluid {
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  position: relative;
  min-height: 44px;
  transition: padding 0.2s ease-out, min-height 0.2s ease-out;
}

/* Minimized container when scrolled */
.dashboard-header.scrolled .container-fluid {
  padding: 0.5rem 1rem;
}


/* Header content - transitions handled in JavaScript */
.dashboard-brand,
.business-info {
  transform-origin: top center;
  text-align: center;
  margin-top: 2rem;
}

.dashboard-brand {
  margin-bottom: 1rem;
}

/* Header with smooth transitions */
.dashboard-header {
  transition: padding 0.1s ease-out, border-radius 0.1s ease-out;
}

.dashboard-header .container-fluid {
  transition: padding 0.1s ease-out;
}

/* Initial state for header content */
.dashboard-brand,
.business-info {
  transform: translateY(0);
  opacity: 1;
}

.dashboard-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.dashboard-brand {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.dashboard-logo {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.dashboard-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 400;
}

.business-info {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.business-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.business-location {
  font-size: 1rem;
  opacity: 0.8;
  margin: 0;
}


/* Dashboard Navigation */
.dashboard-nav {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Card-based Navigation Grid */
.nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: 10px;
  text-decoration: none;
  color: #2c3e50;
  background: #f8f9fa;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  min-height: 60px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
}

.nav-card:hover {
  background: #4E95D9;
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(78, 149, 217, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-card.active {
  background: #4E95D9;
  color: white;
  box-shadow: 0 4px 15px rgba(78, 149, 217, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.nav-card:hover .nav-card-icon,
.nav-card.active .nav-card-icon {
  background: rgba(255, 255, 255, 0.2);
}

.nav-card-content {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.nav-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  color: inherit;
  word-break: break-word;
  hyphens: auto;
}

/* Sticky Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 1rem;
  height: calc(100vh - 2rem);
  overflow-y: auto;
  z-index: 100;
}

.sticky-sidebar::-webkit-scrollbar {
  width: 6px;
}

.sticky-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.sticky-sidebar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.sticky-sidebar::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Dashboard Content */
.dashboard-content {
  padding: 0 1rem;
}

.dashboard-content .card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.dashboard-content .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.section-title {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  text-align: center;
}

/* Chart Controls */
.toggle-switch {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.toggle-switch .btn {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  background: white;
  color: #495057;
  transition: all 0.2s ease;
}

.toggle-switch .btn:hover {
  border-color: #4E95D9;
  color: #4E95D9;
}

.toggle-switch .btn.active {
  background: linear-gradient(135deg, #4E95D9 0%, #4E95D9 100%);
  border-color: #4E95D9;
  color: white;
  box-shadow: 0 2px 8px rgba(78, 149, 217, 0.3);
}

/* Summary Boxes */
.summary-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #D9D9D9 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-box p {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.summary-box strong {
  color: #4E95D9;
}

/* Accordion Styling */
.accordion-item {
  border: none;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  background: linear-gradient(135deg, #f8f9fa 0%, #D9D9D9 100%);
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  border-radius: 12px 12px 0 0;
}

.accordion-button:not(.collapsed) {
  background: #4E95D9;
  color: white;
  box-shadow: none;
}

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

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

/* Chips and Tags */
.chip {
  background: linear-gradient(135deg, #4E95D9 0%, #4E95D9 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin: 0.25rem;
  font-size: 0.85rem;
  display: inline-block;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(78, 149, 217, 0.2);
}

/* Progress Bars */
.progress {
  height: 20px;
  background-color: #D9D9D9;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(135deg, #4E95D9 0%, #4E95D9 100%);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form Controls */
.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #4E95D9;
  box-shadow: 0 0 0 0.2rem rgba(78, 149, 217, 0.25);
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4E95D9 0%, #4E95D9 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(78, 149, 217, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(78, 149, 217, 0.4);
}

.btn-outline {
  border: 1px solid #4E95D9;
  color: #4E95D9;
  background: transparent;
}

.btn-outline:hover {
  background: linear-gradient(135deg, #4E95D9 0%, #4E95D9 100%);
  border-color: #4E95D9;
  color: white;
  transform: translateY(-2px);
}

/* List Items */
.list-group-item {
  border: none;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  padding: 1rem;
  background: #f8f9fa;
  transition: all 0.2s ease;
}

.list-group-item:hover {
  background: #D9D9D9;
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .dashboard-header {
    padding: 1rem 0;
    margin-bottom: 1rem;
  }
  .dashboard-header .container-fluid {
    padding: 0.5rem 1rem;
  }
  
  .dashboard-logo {
    font-size: 2rem;
  }
  
  .sticky-sidebar {
    display: none; /* Hide desktop sidebar on mobile */
  }
  
  .dashboard-content {
    padding: 0;
    margin-left: 0; /* Remove left margin since sidebar is hidden */
  }
  
  /* Adjust main content to full width on mobile */
  .col-md-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 769px) {
  .sticky-sidebar {
    display: block; /* Show desktop sidebar on desktop */
  }
  
  .mobile-nav-overlay,
  .mobile-nav-menu {
    display: none !important; /* Hide mobile menu on desktop */
  }
}

@media (max-width: 480px) {
  .dashboard-header {
    padding: 1rem 0;
  }
  .dashboard-header .container-fluid {
    padding: 0.5rem 1rem;
  }
  
  .dashboard-logo {
    font-size: 1.8rem;
  }
  
  .business-info {
    padding: 1rem;
  }
  
  .mobile-nav-menu {
    width: 280px; /* Slightly smaller on very small screens */
  }
}


/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: white;
  z-index: 9999; /* Higher than the toggle button */
  transition: all 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav-menu.active {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #4E95D9 0%, #4E95D9 100%);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-header h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.mobile-nav-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Mobile Navigation Grid */
.mobile-nav-grid {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.mobile-nav-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: #2c3e50;
  background: #f8f9fa;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.mobile-nav-card:hover {
  background: #4E95D9;
  color: white;
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(78, 149, 217, 0.3);
}

.mobile-nav-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(78, 149, 217, 0.1);
  border-radius: 10px;
}

.mobile-nav-card:hover .mobile-nav-icon {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: inherit;
}

/* Body scroll lock when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Hide mobile menu on desktop */
@media (min-width: 768px) {
  .mobile-menu-toggle,
  .mobile-nav-overlay,
  .mobile-nav-menu {
    display: none !important;
  }
}

/* Enhanced visual feedback for expanded sections */
.accordion-item.expanded {
  border: 2px solid #4E95D9 !important;
  box-shadow: 0 4px 20px rgba(78, 149, 217, 0.2) !important;
  transition: all 0.3s ease;
  transform: scale(1.02);
}

.accordion-item.expanded .accordion-button {
  background: linear-gradient(135deg, #4E95D9 0%, #4E95D9 100%) !important;
  color: white !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Smooth transitions for accordion items */
.accordion-item {
  transition: all 0.3s ease;
}

.accordion-button {
  transition: all 0.3s ease;
}

.accordion-collapse {
  transition: all 0.3s ease;
}

/* Enhanced navigation card hover effects */
.nav-card:hover,
.mobile-nav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(78, 149, 217, 0.3);
}

/* Active navigation state */
.nav-card.active,
.mobile-nav-card.active {
  background: #4E95D9;
  color: white;
  transform: scale(1.05);
}

/* Section highlight animation */
@keyframes sectionHighlight {
  0% {
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  50% {
    border-color: #4E95D9;
    box-shadow: 0 4px 20px rgba(78, 149, 217, 0.2);
  }
  100% {
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
}

.section-highlight {
  animation: sectionHighlight 3s ease-in-out;
}

/* Improved accordion collapse animation */
.accordion-collapse.collapsing {
  transition: height 0.35s ease;
}

.accordion-collapse.show {
  transition: all 0.35s ease;
}

/* Enhanced button states */
.accordion-button:not(.collapsed) {
  background: #4E95D9;
  color: white;
  box-shadow: 0 4px 15px rgba(78, 149, 217, 0.3);
}

.accordion-button:not(.collapsed):hover {
  background: #4E95D9;
  transform: translateY(-1px);
}


/* Enhanced Navigation Cards */
.nav-card {
  position: relative;
  overflow: hidden;
}

.nav-card::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 ease;
}

.nav-card:hover::before {
  left: 100%;
}


/* Active Navigation State */
.nav-card.active,
.mobile-nav-card.active {
  background: #4E95D9;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(78, 149, 217, 0.4);
}

.mobile-nav-card.active .mobile-nav-title {
  color: rgba(255, 255, 255, 0.9);
}

/* Platform Sections Styles */
.platform-sections {
  margin-top: 60px;
}

.platform-section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.platform-section:last-child {
  border-bottom: none;
}

.platform-section:nth-child(even) {
  background: #fafbfc;
}

.section-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
  line-height: 1.2;
}

.section-content p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin: 0 0 40px 0;
}

.images-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.image-item {
  flex: 0 0 auto;
  text-align: center;
}

.image-item img {
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-item img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.consulting-section {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.consulting-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
}

.consulting-icon i {
  font-size: 6rem;
  background: linear-gradient(135deg, #4E95D9, #6BA3E8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .images-row {
    gap: 25px;
  }
  
  .image-item img {
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .platform-section {
    padding: 60px 0;
  }
  
  .section-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .section-content p {
    margin-bottom: 30px;
  }
  
  .images-row {
    gap: 20px;
    flex-direction: column;
  }
  
  .image-item img {
    max-width: 220px;
  }
  
  .consulting-icon {
    height: 150px;
  }
  
  .consulting-icon i {
    font-size: 4rem;
  }
}

/* Platform Card Styles (for consulting card) */
.platform-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.platform-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4E95D9, #6BA3E8);
  border-radius: 20px;
  margin-bottom: 24px;
  margin: 0 auto 24px auto;
}

.platform-card-icon i {
  font-size: 2rem;
  color: white;
}

.platform-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.platform-card-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #1a1a1a;
  line-height: 1.3;
}

.platform-card-content p {
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex: 1;
}

.platform-card.consulting-card {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border: 2px solid #4E95D9;
}

.platform-card.consulting-card:hover {
  border-color: #6BA3E8;
}

.platform-card.consulting-card .platform-card-icon {
  background: linear-gradient(135deg, #4E95D9, #6BA3E8);
  box-shadow: 0 8px 24px rgba(78, 149, 217, 0.3);
}

/* ===== PLATFORM PAGE STYLES ===== */
.platform-features {
  padding: 100px 0;
  background: #fafbfc;
}

.screenshot-gallery {
  margin-top: 60px;
}

.screenshot-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.screenshot-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.screenshot-image {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
  border-radius: 16px 16px 0 0;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.screenshot-card:hover .screenshot-image img {
  transform: scale(1.02);
}

.screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.screenshot-card:hover .screenshot-overlay {
  opacity: 1;
}

.screenshot-overlay .btn {
  background: rgba(255, 255, 255, 0.9);
  color: #4E95D9;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.screenshot-overlay .btn:hover {
  background: white;
  transform: scale(1.05);
}

.screenshot-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.screenshot-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #1a1a1a;
  line-height: 1.3;
}

.screenshot-content p {
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex: 1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.feature-tag {
  background: linear-gradient(135deg, #4E95D9 0%, #FF9D00 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(78, 149, 217, 0.2);
}

/* Modal Styles */
.modal-xl {
  max-width: 90vw;
}

.modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: linear-gradient(135deg, #4E95D9 0%, #4E95D9 100%);
  color: white;
  border-radius: 16px 16px 0 0;
  border: none;
}

.modal-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.btn-close {
  filter: brightness(0) invert(1);
}

.modal-body {
  padding: 0;
  background: #f8f9fa;
}

.modal-body img {
  border-radius: 0 0 16px 16px;
  max-height: 80vh;
  object-fit: contain;
}

/* Responsive Design for Platform Page */
@media (max-width: 768px) {
  .platform-features {
    padding: 60px 0;
  }
  
  .screenshot-gallery {
    margin-top: 40px;
  }
  
  .screenshot-image {
    height: 250px;
  }
  
  .screenshot-content {
    padding: 20px;
  }
  
  .screenshot-content h3 {
    font-size: 1.3rem;
  }
  
  .screenshot-content p {
    font-size: 0.9rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  
  .modal-xl {
    max-width: 95vw;
  }
  
  .modal-body img {
    max-height: 70vh;
  }
  
  /* CTA Section Mobile Styles */
  .cta {
    padding: 60px 0;
  }
  
  .cta h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 12px;
  }
  
  .cta p {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }
  
  .cta .hero-actions {
    gap: 12px;
    margin-top: 24px;
  }
  
  .cta .btn-large {
    padding: 14px 28px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .platform-features {
    padding: 40px 0;
  }
  
  .screenshot-image {
    height: 200px;
  }
  
  .screenshot-content {
    padding: 16px;
  }
  
  .screenshot-content h3 {
    font-size: 1.2rem;
  }
  
  .feature-tags {
    gap: 6px;
  }
  
  .feature-tag {
    font-size: 0.7rem;
    padding: 3px 6px;
  }
  
  /* CTA Section Small Mobile Styles */
  .cta {
    padding: 40px 0;
  }
  
  .cta h2 {
    font-size: clamp(1.3rem, 6vw, 2rem);
    margin-bottom: 10px;
  }
  
  .cta p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .cta .hero-actions {
    gap: 10px;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
  }
  
  .cta .btn-large {
    padding: 12px 24px;
    font-size: 15px;
    width: 100%;
    max-width: 280px;
  }
}

/* Force hero padding override for mobile - highest specificity */
@media (max-width: 768px) {
  section.hero.hero-landing {
    padding-top: 0.25rem !important;
    padding-bottom: 1rem !important;
  }
}

@media (max-width: 480px) {
  section.hero.hero-landing {
    padding-top: 0.125rem !important;
    padding-bottom: 0.75rem !important;
  }
}
