/*
 * Itbeezone Business Solutions - Modern SaaS Design
 * Matching reference template: https://templates.hibootstrap.com/izan/default/index-2.html
 */

/* Google Fonts */
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Color Scheme */
  --primary-color: #8b5cf6;
  --primary-dark: #6d28d9;
  --secondary-color: #10b981;
  --accent-blue: #06b6d4;
  --accent-yellow: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --border-color-soft: rgba(229, 231, 235, 0.7);
  
  /* Shadows - Soft and modern */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 30px 60px -20px rgba(17, 24, 39, 0.25);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
}

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

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  scroll-padding-top: 80px; /* Offset for fixed navbar */
}

body {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-dark), var(--primary-color));
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

/* Top header removed (kept intentionally empty) */

/* Main Navigation */
.main-navbar {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color-soft);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: var(--primary-color);
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.navbar-nav .nav-link {
  color: rgba(31, 41, 55, 0.85);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.42rem 0.85rem;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  border-radius: 999px;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link.active {
  color: var(--primary-color);
  font-weight: 700;
}

.navbar-nav .nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.18);
}

.navbar-nav .nav-link::after {
  display: none;
}

.btn-read-more {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.btn-read-more::after {
  content: '→';
  font-size: 1rem;
}

/* Premium navbar buttons removed */

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  padding: clamp(1.5rem, 2.5vw, 2rem) 0;
  background: linear-gradient(135deg, rgb(248, 250, 252) 0%, rgb(239, 246, 255) 40%, rgb(255, 255, 255) 100%);
  position: relative;
  overflow: hidden;
}

/* Compact hero for form pages */
.hero-section.compact {
  padding: clamp(1rem, 2vw, 1.5rem) 0;
}

.hero-section.compact .display-4 {
  margin-bottom: 0.75rem !important;
}

.hero-section.compact .lead {
  margin-bottom: 0 !important;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"><circle cx="60" cy="60" r="2" fill="%23e5e7eb" opacity="0.35"/></svg>');
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 1;
}


.hero-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary-color) 0%, #7c3aed 45%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.125rem;
  color: rgba(31, 41, 55, 0.72);
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  padding: 0.95rem 1.35rem;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: 0 24px 50px rgba(37, 99, 235, 0.25);
}

.btn-hero-secondary {
  padding: 0.95rem 1.35rem;
  border-radius: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 34rem;
}

.metric {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-color-soft);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.05);
}

.metric-value {
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.metric-label {
  color: rgba(31, 41, 55, 0.62);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-color-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.hero-dots {
  display: inline-flex;
  gap: 6px;
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.7);
}

.hero-panel-title {
  font-weight: 900;
  color: rgba(31, 41, 55, 0.85);
  font-size: 0.95rem;
}

.hero-panel-pill {
  font-weight: 900;
  font-size: 0.8rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: rgba(37, 99, 235, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.hero-panel-body {
  padding: 1.25rem;
}

.hero-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.mini-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-color-soft);
  border-radius: 16px;
  padding: 0.85rem 0.9rem;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.06);
  text-align: left;
}

.mini-card-kpi {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.mini-card-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(31, 41, 55, 0.6);
  margin-top: 0.15rem;
}

.hero-chart {
  height: 140px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 0.5rem 0.25rem 0.25rem;
  border-radius: 18px;
  background: radial-gradient(700px 140px at 40% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 55%),
    rgba(15, 23, 42, 0.02);
  border: 1px dashed rgba(148, 163, 184, 0.5);
  margin-bottom: 1.25rem;
}

.hero-chart .bar {
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.95) 0%, rgba(59, 130, 246, 0.6) 100%);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.18);
}

.hero-chart .b1 { height: 35%; opacity: 0.55; }
.hero-chart .b2 { height: 55%; opacity: 0.7; }
.hero-chart .b3 { height: 45%; opacity: 0.6; }
.hero-chart .b4 { height: 78%; opacity: 0.95; }
.hero-chart .b5 { height: 62%; opacity: 0.8; }
.hero-chart .b6 { height: 88%; opacity: 1; }
.hero-chart .b7 { height: 70%; opacity: 0.85; }

.hero-panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-color-soft);
  font-weight: 800;
  color: rgba(31, 41, 55, 0.75);
  font-size: 0.875rem;
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border-color-soft);
  border-radius: 18px;
  padding: 0.8rem 0.95rem;
  box-shadow: 0 22px 45px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-float-card .float-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.hero-float-card .float-title {
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.hero-float-card .float-subtitle {
  font-weight: 800;
  font-size: 0.85rem;
  color: rgba(31, 41, 55, 0.6);
  margin-top: 0.1rem;
}

.hero-float-card.float-1 {
  left: -18px;
  top: 18%;
}

.hero-float-card.float-2 {
  right: -18px;
  bottom: 18%;
}

/* Section Styles */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: #312d89;
  position: relative;
  line-height: 1.3;
}

.section-title::before {
  content: attr(data-bg-text);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  z-index: -1;
  white-space: nowrap;
  pointer-events: none;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* About page */
.about-hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(135deg, #f3e8ff 0%, #e0f2fe 40%, #ffffff 100%);
  border-bottom: 1px solid var(--border-color-soft);
}

.about-title {
  font-size: 2rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.about-subtitle {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(31, 41, 55, 0.72);
}

.about-breadcrumb {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(31, 41, 55, 0.65);
}

.about-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.about-breadcrumb span {
  margin: 0 0.35rem;
}

.about-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.about-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: flex-start;
}

.about-points .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 0.45rem;
  background: radial-gradient(circle, #22c55e 0%, #16a34a 55%, #15803d 100%);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
}

.about-points h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.about-points p {
  font-size: 0.9375rem;
  color: rgba(31, 41, 55, 0.72);
  margin-bottom: 0;
}

.about-visual-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  border: 1px solid var(--border-color-soft);
  box-shadow: var(--shadow-premium);
  padding: 1.5rem 1.5rem 1.4rem;
}

.about-visual-header {
  margin-bottom: 1.25rem;
}

.about-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.about-avatar-name {
  font-weight: 700;
}

.about-avatar-role {
  font-size: 0.8rem;
  color: rgba(31, 41, 55, 0.6);
}

.about-pill {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: rgba(37, 99, 235, 0.95);
}

.about-mini-card {
  border-radius: 18px;
  border: 1px solid var(--border-color-soft);
  background: rgba(248, 250, 252, 0.9);
  padding: 0.9rem 1rem;
  height: 100%;
}

.about-mini-card .label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 184, 1);
}

.about-mini-card .value {
  font-weight: 800;
  font-size: 1rem;
  margin-top: 0.3rem;
  margin-bottom: 0.25rem;
}

.about-mini-card p {
  margin-bottom: 0;
  font-size: 0.85rem;
  color: rgba(31, 41, 55, 0.68);
}

/* Feature Cards (generic) */
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.feature-section {
  position: relative;
}

.feature-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 10% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.feature-section-intro {
  position: relative;
  z-index: 1;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(37, 99, 235, 0.95);
  margin-bottom: 0.9rem;
}

.feature-tagline {
  font-size: 0.98rem;
  color: rgba(31, 41, 55, 0.72);
  max-width: 24rem;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.feature-card-accent {
  position: relative;
}

.feature-card-accent::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(251, 191, 36, 0.8);
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  background: #ffffff;
  border: 1px solid #d4d4d8;
  color: #312d89;
  font-size: 2rem;
}

.feature-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* Key areas section */
.key-areas-section {
  background: #ffffff;
}

.key-areas-intro {
  position: relative;
  z-index: 1;
}

.area-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.area-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 1.1rem;
}

.area-icon-wrap i {
  font-size: 1.5rem;
}

.area-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.area-card p {
  font-size: 0.93rem;
  color: rgba(31, 41, 55, 0.7);
  margin-bottom: 0;
  line-height: 1.7;
}

.area-card-product {
  background: linear-gradient(135deg, #f3e8ff 0%, #e0f2fe 100%);
}

.area-card-saas {
  background: linear-gradient(135deg, #e0f2fe 0%, #d1fae5 100%);
}

.area-card-modernize {
  background: linear-gradient(135deg, #faf5ff 0%, #e0f2fe 100%);
}

.area-card-data {
  background: linear-gradient(135deg, #fef3c7 0%, #fee2e2 100%);
}

.area-card-ai {
  background: linear-gradient(135deg, #dcfce7 0%, #fef9c3 100%);
}

.area-card-support {
  background: linear-gradient(135deg, #e0f2fe 0%, #fef2ff 100%);
}

/* Technologies section */
.tech-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.tech-card:hover::before {
  opacity: 1;
}

.tech-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
  color: var(--primary-color);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
}

.tech-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.tech-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Values section */
.values-section {
  position: relative;
}

.values-intro {
  position: relative;
  z-index: 1;
}

.value-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-color-soft);
  /* box-shadow: var(--shadow); */
  padding: 1.4rem 1.4rem 1.3rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.value-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.value-index {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 1);
}

.value-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #d4d4d8;
  color: #312d89;
}

.value-icon-accent {
  background: rgba(251, 191, 36, 0.12);
  color: #b45309;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.value-card p {
  font-size: 0.93rem;
  color: rgba(31, 41, 55, 0.72);
  margin-bottom: 0;
}

/* Mission section */
.mission-section {
  /* background: linear-gradient(135deg, #eff6ff 0%, #fdf2ff 35%, #ffffff 100%); */
  border-top: 1px solid var(--border-color-soft);
}

.mission-intro {
  position: relative;
  z-index: 1;
}

.mission-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-color-soft);
  /* box-shadow: var(--shadow); */
  padding: 1.2rem 1.3rem 1.15rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mission-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #d4d4d8;
  color: #312d89;
}

.mission-icon-accent {
  background: rgba(251, 191, 36, 0.12);
  color: #b45309;
}

.mission-card h3 {
  font-size: 1.05rem;
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
}

.mission-card p {
  font-size: 0.93rem;
  color: rgba(31, 41, 55, 0.72);
  margin-bottom: 0;
}

/* Services page - Our Services section */
.services-section {
  background: #ffffff;
}

.services-intro {
  position: relative;
  z-index: 1;
}

.services-title-large {
  font-size: 2.4rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.services-copy {
  font-size: 0.98rem;
  color: rgba(31, 41, 55, 0.72);
  max-width: 30rem;
}

.service-card {
  /* removed flex layout so icon sits above text */
  gap: 1.6rem;
  border-radius: 1.5rem;
  padding: 2.1rem 2.1rem;
  border: 1px solid #e1e2f2;
  height: 100%;
}

.service-icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #312d89;
  margin-bottom: 25px;
}

.service-icon-wrap i {
  font-size: 45px;
}

.service-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-content h3 {
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: #312d89;
}

.service-content p {
  font-size: 0.93rem;
  color: rgba(31, 41, 55, 0.7);
  margin-bottom: 0;
  line-height: 1.7;
}

/* Soft background colors per service */
.service-card-ai {
  background: #f3e8ff;
}

.service-card-dev {
  background: #e0f2fe;
}

.service-card-cloud {
  background: #ecfdf3;
}

.service-card-analytics {
  background: #fef3c7;
}

.service-card-consulting {
  background: #f1f5f9;
}

.service-card-security {
  background: #fee2e2;
}

.service-card-mobile {
  background: #f5f3ff;
}

.service-card-web {
  background: #e0f2fe;
}

.service-card-digital {
  background: #fef9c3;
}

.service-card-automation {
  background: #dcfce7;
}

.service-card-data {
  background: #e0f2fe;
}

.service-card-chatbots {
  background: #fef2ff;
}

/* Cards Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

/* Journey section */
.journey-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 40%, #ffffff 100%);
  border-top: 1px solid var(--border-color-soft);
}

.journey-intro {
  position: relative;
  z-index: 1;
}

.journey-card {
  background: #ffffff;
  border-radius: 20px;
  border: none;
  /* box-shadow: var(--shadow-md); */
  padding: 1.7rem 1.6rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.journey-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 1);
  margin-bottom: 0.4rem;
}

.journey-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.journey-card p {
  font-size: 0.93rem;
  color: rgba(31, 41, 55, 0.7);
  margin-bottom: 0;
}

/* How we work section */
.how-we-work-section {
  background: #ffffff;
  border-top: 1px solid var(--border-color-soft);
}

.how-we-work-intro {
  position: relative;
  z-index: 1;
}

.how-we-work-steps {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.how-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(209, 213, 219, 0.7);
}

.how-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.how-step-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
}

.how-step-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.how-step-body p {
  font-size: 0.93rem;
  margin-bottom: 0;
  color: rgba(31, 41, 55, 0.72);
}

/* Buttons */
.btn-primary {
  background: var(--primary-color);
  border: none;
  border-radius: 4px;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

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

.btn-secondary {
  background: var(--secondary-color);
  border: none;
  border-radius: var(--radius-lg);
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-dark);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-3xl);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: var(--spacing-md);
  color: white;
  font-weight: 700;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
}

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

.footer-section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Flash messages */
.flash-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 1100;
  max-width: 360px;
}

/* Chat widget */
.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1050;
}

.chat-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 0.95rem;
}

.chat-fab i {
  font-size: 1.05rem;
}

.chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium);
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(340px, 90vw);
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-premium);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem 0.6rem;
  border-bottom: 1px solid var(--border-color);
}

.chat-panel-header h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.chat-close {
  border: none;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-muted);
}

.chat-panel-body {
  padding: 0.9rem 1rem 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-title::before {
    font-size: 3.5rem;
  }
  
  .display-4 {
    font-size: 1.875rem;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .hero-section {
    padding: var(--spacing-lg) 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-title,
  .hero-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-float-card {
    display: none;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .top-header-list {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .top-header-right {
    justify-content: flex-start;
    margin-top: 0.75rem;
  }
  
  .navbar-nav {
    margin-top: var(--spacing-md);
  }
  
  .btn-read-more {
    margin-top: var(--spacing-sm);
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-title::before {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .tech-card {
    padding: 1.25rem;
  }
  
  .tech-icon {
    width: 50px;
    height: 50px;
    font-size: 1.75rem;
  }
  
  .tech-card h4 {
    font-size: 1rem;
  }
  
  .feature-card {
    padding: var(--spacing-lg);
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-card h3 {
    font-size: 1.25rem;
  }
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-light-custom {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 40%, #ffffff 100%);
}

.shadow-custom {
  box-shadow: var(--shadow) !important;
}

.shadow-md-custom {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg-custom {
  box-shadow: var(--shadow-lg) !important;
}

.rounded-custom {
  border-radius: var(--radius-xl) !important;
}

/* Form Styles */
.form-label {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.form-control {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  background-color: var(--bg-white);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
  outline: none;
}

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

/* Badge Styles */
.badge {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.8125rem;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-warning {
  background-color: var(--accent-yellow) !important;
}

/* Button Styles */
.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 4px;
  font-weight: 600;
  padding: 0.875rem 2rem;
  transition: all 0.3s ease;
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 4px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
}

/* Display Utilities */
.display-4 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.display-5 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.3;
}

.lead {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-light);
}

.text-muted {
  color: var(--text-light) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Override Bootstrap defaults for consistency */

.navbar-nav {
  column-gap: 0.75rem;
  row-gap: 0.35rem;
}

.card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

/* Additional spacing utilities */
.gap-2 {
  gap: 0.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

/* Hero Image Placeholder */
.hero-illustration-placeholder {
  position: relative;
  overflow: hidden;
}

.hero-illustration-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}
.saasoft-keyarea {
  padding: 64px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #7c3aed 45%, #0ea5e9 100%);
}

/* Heading */
.saasoft-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 24px;
}

/* Link */
.saasoft-link {
  font-size: 16px;
  font-weight: 500;
  color: #4fd1c5;
  text-decoration: none;
}

/* Pills */
.saasoft-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  font-weight: 500;
  color: #2c2c8f;
}

/* Icons */
.saasoft-pill i {
  font-size: 18px;
  color: #2c2c8f;
}

.saasoft-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.saasoft-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  font-weight: 500;
  color: #2c2c8f;
  white-space: nowrap;
}

.saasoft-pill i {
  font-size: 18px;
  color: #2c2c8f;
}

.feature-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

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


.feature-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #111827;
}

.feature-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6b7280;
}

.features-grid {
  align-items: stretch;
}

.saas-card {
  height: 100%;
  padding: 30px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgb(225, 226, 242);
}

.saas-card h5 {
  font-weight: 600;
  margin-top: 16px;
  color: #2c2c7c;
}

.saas-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 0;
}

/* Feedback Carousel Styles */
.feedback-carousel-card {
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border: 2px solid rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
}

.feedback-carousel-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-5px);
}

.feedback-content {
  color: var(--text-dark) !important;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
}

.feedback-author h5 {
  color: var(--primary-color) !important;
  font-weight: 600;
  font-size: 1.25rem;
}

#feedbackCarousel .carousel-control-prev,
#feedbackCarousel .carousel-control-next {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

#feedbackCarousel .carousel-control-prev {
  left: -25px;
}

#feedbackCarousel .carousel-control-next {
  right: -25px;
}

#feedbackCarousel .carousel-control-prev:hover,
#feedbackCarousel .carousel-control-next:hover {
  opacity: 1;
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
}

#feedbackCarousel .carousel-control-prev-icon,
#feedbackCarousel .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

#feedbackCarousel .carousel-indicators {
  bottom: -50px;
}

#feedbackCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0.3;
  transition: all 0.3s ease;
}

#feedbackCarousel .carousel-indicators button.active {
  opacity: 1;
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.quote-icon {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.feedback-author {
  position: relative;
  z-index: 1;
}

/* Icon style (no images) */
.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #4f46e5;
  background: rgba(79,70,229,0.1);
}

/* Card size variations (like screenshot) */
.saas-card-lg {
  min-height: 100%;
}

.saas-card-wide {
  min-height: 100%;
}

/* Full Feedback Card Styles (for index page) */
.feedback-card-full {
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  position: relative;
  border: 2px solid rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
}

.feedback-card-full:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.feedback-content-full {
  color: var(--text-dark) !important;
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.feedback-author-full h5 {
  color: var(--primary-color) !important;
  font-weight: 600;
  font-size: 1.25rem;
}

.quote-icon-top {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 0;
}

/* Responsive Feedback Carousel */
@media (max-width: 768px) {
  .feedback-carousel-card {
    min-height: 350px;
    padding: 2rem !important;
  }

  .feedback-content {
    font-size: 1.1rem !important;
  }

  #feedbackCarousel .carousel-control-prev {
    left: 10px;
  }

  #feedbackCarousel .carousel-control-next {
    right: 10px;
  }

  #feedbackCarousel .carousel-control-prev,
  #feedbackCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .quote-icon i {
    font-size: 2rem !important;
  }

  .feedback-card-full {
    padding: 2rem !important;
  }

  .feedback-content-full {
    font-size: 1.05rem !important;
  }
}

@media (max-width: 576px) {
  .feedback-carousel-card {
    min-height: 300px;
    padding: 1.5rem !important;
  }

  .feedback-content {
    font-size: 1rem !important;
  }

  .feedback-card-full {
    padding: 1.5rem !important;
  }

  .feedback-content-full {
    font-size: 1rem !important;
  }

  .quote-icon-top {
    top: 15px;
    right: 20px;
  }

  .quote-icon-top i {
    font-size: 2rem !important;
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@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);
  }
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-blue), var(--secondary-color));
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
  width: 0;
}

/* Enhanced Scroll-triggered animations */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-fade-in-left {
  opacity: 0;
  transform: translateX(-50px) scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-in-left.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.scroll-fade-in-right {
  opacity: 0;
  transform: translateX(50px) scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-in-right.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.scroll-scale-in {
  opacity: 0;
  transform: scale(0.85) translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), 
              transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-scale-in.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.scroll-rotate-in {
  opacity: 0;
  transform: rotate(-8deg) scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-rotate-in.visible {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.scroll-blur-in {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(25px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), 
              filter 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-blur-in.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Smooth scroll for anchor links */
a[href^="#"] {
  scroll-behavior: smooth;
  transition: all 0.3s ease;
}

/* Enhanced momentum scrolling for better feel */
section {
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  transform: translateZ(0); /* Hardware acceleration */
}

/* Parallax effect for hero sections */
.hero-section {
  transform: translateZ(0);
  will-change: transform;
}

/* Enhanced card hover with scroll context */
.tech-card:not(.visible),
.feature-card:not(.visible) {
  pointer-events: none;
}

.tech-card.visible,
.feature-card.visible {
  pointer-events: auto;
  animation: cardPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cardPopIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  60% {
    transform: scale(1.05) translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Section title animation */
.section-title {
  transform: translateZ(0);
}

.section-title:not(.visible) {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Section subtitle animation */
.section-subtitle:not(.visible) {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.section-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pastel backgrounds */
.bg-pink   { background: #fff5f7; }
.bg-yellow { background: #fff9ed; }
.bg-green  { background: #f2fbf7; }
.bg-blue   { background: #f5f9ff; }
.bg-cream  { background: #fffaf3; }
.bg-purple { background: #f7f5ff; }
