/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #2563eb;
  --secondary-blue: #3b82f6;
  --accent-blue: #60a5fa;
  --dark-blue: #1e40af;
  --light-blue: #eff6ff;
  --dark-gray: #1f2937;
  --medium-gray: #4b5563;
  --light-gray: #9ca3af;
  --background: #f9fafb;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --border-radius: 10px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Prevent horizontal scrolling and optimize for mobile */
html, body {
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: var(--dark-gray);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  margin-bottom: 1.5rem;
  letter-spacing: -0.3px;
}

h2.with-line {
  padding-bottom: 1rem;
}

h2.with-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

h2.text-center.with-line::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  color: var(--primary-blue);
}

h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--medium-gray);
  line-height: 1.8;
}

.lead {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: var(--medium-gray);
  font-weight: 400;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  color: var(--dark-blue);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  transition: var(--transition);
}

.logo {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--dark-gray);
  letter-spacing: -0.5px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: inline-block;
}

/* Desktop Navigation */
nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--medium-gray);
  font-weight: 500;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  position: relative;
  padding: 0.5rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

/* Hide nav icons on desktop, show only on mobile */
nav a i {
  display: none;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

nav a:hover::before,
nav a.active::before {
  width: 100%;
}

nav a.active {
  color: var(--primary-blue);
  font-weight: 600;
}

.cta-nav {
  background: var(--gradient-primary);
  color: white !important;
  padding: 0.8rem clamp(1rem, 2vw, 2rem) !important;
  border-radius: 50px;
  margin-left: 1rem;
  font-weight: 600 !important;
  min-height: 44px;
}

.cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.cta-nav::before {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-gray);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  min-height: 44px;
  min-width: 44px;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: clamp(8rem, 15vh, 14rem) 0 clamp(4rem, 8vh, 8rem);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease 0.3s forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--medium-gray);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 700px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.badge {
  background: white;
  padding: 0.6rem clamp(1rem, 2vw, 1.5rem);
  border-radius: 50px;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.badge i {
  color: var(--primary-blue);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: clamp(0.875rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  min-width: 44px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

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

.btn-secondary:hover {
  background: var(--primary-blue);
  color: white;
}

.btn-accent {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--dark-gray);
  border: 2px solid #e5e7eb;
}

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

.btn-block {
  width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
  padding: clamp(4rem, 8vh, 8rem) 0;
}

.section-sm {
  padding: clamp(3rem, 6vh, 5rem) 0;
}

.section-title-center {
  text-align: center;
  margin-bottom: clamp(2rem, 4vh, 4rem);
}

.section-title-center p {
  max-width: 700px;
  margin: 0 auto;
}

.bg-light {
  background-color: var(--light-blue);
}

.bg-gradient {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* ===== FEATURES / HIGHLIGHTS ===== */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 3rem;
}

.highlight-card {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid #f3f4f6;
  will-change: transform;
  backface-visibility: hidden;
  position: relative;
}

.highlight-card:hover:not(.tilt-card) {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-blue);
}

/* Tilted Card Animation - inspired by reactbits.dev */
.highlight-card.tilt-card {
  transform-style: preserve-3d;
  transition: none;
}

.highlight-card.tilt-card:hover {
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
  border-color: var(--primary-blue);
}

/* Shine/Glare overlay effect */
.highlight-card.tilt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: var(--border-radius);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
  transform: translateX(-100%);
}

.highlight-card.tilt-card:hover::before {
  opacity: 0.15;
}

.highlight-card.tilt-card .highlight-icon,
.highlight-card.tilt-card h3,
.highlight-card.tilt-card p,
.highlight-card.tilt-card a,
.highlight-card.tilt-card div {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
}

/* Disable tilt on mobile/touch devices */
@media (hover: none) and (pointer: coarse) {
  .highlight-card.tilt-card {
    transform-style: flat;
    perspective: none;
  }
  
  .highlight-card.tilt-card::before {
    display: none;
  }
}

.highlight-icon {
  width: clamp(60px, 8vw, 80px);
  height: clamp(60px, 8vw, 80px);
  background: linear-gradient(135deg, var(--light-blue), white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--primary-blue);
  transition: var(--transition);
}

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

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid #f3f4f6;
  height: 100%;
  display: flex;
  flex-direction: column;
  will-change: transform;
  backface-visibility: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-blue);
}

.service-header {
  padding: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e5e7eb;
}

.service-icon {
  font-size: clamp(2.5rem, 5vw, 3rem);
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.service-body {
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid #f3f4f6;
}

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

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}

.service-footer {
  padding: 0 clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 3rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid #f3f4f6;
  will-change: transform;
  backface-visibility: hidden;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.project-image {
  height: 220px;
  background: linear-gradient(135deg, var(--light-blue), #e0e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.project-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
}

.project-body {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.tag {
  background: var(--light-blue);
  color: var(--primary-blue);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== PROCESS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 4rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
  opacity: 0.2;
  z-index: 0;
}

.process-card {
  background: var(--white);
  padding: clamp(2rem, 4vw, 2.5rem);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  border: 1px solid #f3f4f6;
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-slider {
  max-width: 900px;
  margin: 3rem auto 0;
  position: relative;
}

.testimonial-card {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  border: 1px solid #f3f4f6;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 40px;
  font-size: 6rem;
  color: var(--primary-blue);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #3730a3 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2360a5fa' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.2;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta h2.with-line::after {
  background: white;
  left: 50%;
  transform: translateX(-50%);
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.25rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 3rem;
}

.contact-info {
  padding-right: 2rem;
}

.contact-detail {
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid #f3f4f6;
}

.contact-detail h4 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.contact-detail h4 i {
  color: var(--primary-blue);
  font-size: 1.5rem;
}

.contact-form {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid #f3f4f6;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius);
  font-family: 'Inter', sans-serif;
  font-size: 16px; /* Prevent iOS zoom */
  transition: var(--transition);
  background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: var(--focus-ring);
  background: white;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark-gray);
  color: white;
  padding: clamp(3rem, 6vh, 5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 4rem;
}

.footer-col h3,
.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-col h3 {
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col p {
  color: #d1d5db;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-col p i {
  width: 24px;
  color: var(--accent-blue);
}

.footer-col a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: var(--transition);
  padding: 0.25rem 0;
  min-height: auto;
}

.footer-col a:hover {
  color: white;
  transform: translateX(8px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.25rem;
}

.social-links a:hover {
  background: var(--primary-blue);
  transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.95rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

/* ===== MOBILE NAVIGATION OVERLAY ===== */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

.menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-gray);
  cursor: pointer;
  z-index: 1000;
  display: none;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
}

/* ===== LOADING SCREEN ===== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== ABOUT PAGE SPECIFIC STYLES ===== */
.story-content {
  max-width: 900px;
  margin: 0 auto;
}

.story-text {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.8;
}

.story-text p {
  margin-bottom: 2rem;
  color: var(--medium-gray);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: 3rem;
}

.mission-card {
  background: var(--white);
  padding: clamp(2.5rem, 5vw, 3rem);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  border: 1px solid #f3f4f6;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-blue);
}

.mission-icon {
  width: clamp(70px, 10vw, 90px);
  height: clamp(70px, 10vw, 90px);
  background: linear-gradient(135deg, var(--light-blue), white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 5vw, 3rem);
  color: var(--primary-blue);
  transition: var(--transition);
}

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

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(2rem, 4vw, 2.5rem);
  margin-top: 4rem;
  position: relative;
}

.approach-card {
  background: var(--white);
  padding: clamp(2rem, 4vw, 2.5rem);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  border: 1px solid #f3f4f6;
}

.approach-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
}

.approach-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(2rem, 4vw, 2.5rem);
  margin-top: 3rem;
}

.advantage-card {
  background: var(--white);
  padding: clamp(2rem, 4vw, 2.5rem);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  border: 1px solid #f3f4f6;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
}

.advantage-icon {
  width: clamp(60px, 8vw, 70px);
  height: clamp(60px, 8vw, 70px);
  background: linear-gradient(135deg, var(--light-blue), white);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: clamp(1.75rem, 3vw, 2rem);
  color: var(--primary-blue);
  transition: var(--transition);
}

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

/* ===== ENHANCED MOBILE OPTIMIZATIONS ===== */
/* ===== ENHANCED MOBILE OPTIMIZATIONS ===== */

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }
  
  .mission-grid,
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content {
    max-width: 700px;
  }
}

/* Large tablet and small desktop */
@media (min-width: 1025px) and (max-width: 1199px) {
  .mission-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  /* About page mobile optimizations */
  .story-text {
    font-size: 1.125rem;
  }
  
  .mission-grid,
  .approach-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .mission-card,
  .approach-card,
  .advantage-card {
    padding: 2rem 1.5rem;
  }
  
  /* Enhanced mobile hero */
  .hero {
    padding: 6rem 0 3rem;
    text-align: center;
  }
  
  .hero-badges {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  /* Mobile Navigation */
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 40px rgba(0,0,0,0.15);
    z-index: 999;
    overflow-y: auto;
    gap: 0;
  }
  
  nav.active {
    left: 0;
  }
  
  nav a {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    justify-content: space-between;
  }
  
  nav a:last-child {
    border-bottom: none;
  }
  
  nav a.active {
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 8px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu-close {
    display: block;
  }
  
  .cta-nav {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  /* Mobile Layout Adjustments */
  .container {
    padding: 0 20px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-info {
    padding-right: 0;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .process-grid::before {
    display: none;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  /* Mobile Touch Improvements */
  .btn, button, .category-btn, .filter-btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Mobile Typography Adjustments */
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  /* Extra small mobile optimizations */
  .container {
    padding: 0 16px;
  }
  
  .hero {
    padding: 5rem 0 2.5rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .badge {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
  
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Smaller About page cards */
  .mission-card,
  .approach-card,
  .advantage-card {
    padding: 1.5rem 1rem;
  }
  
  .mission-icon,
  .advantage-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .approach-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Better mobile navigation */
  nav {
    width: 90%;
    padding: 5rem 1.5rem 2rem;
  }
  
  nav a {
    padding: 1rem 0.5rem;
    font-size: 1rem;
  }
  
  .menu-toggle {
    padding: 0.75rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .footer-links {
    gap: 1rem;
  }
  
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

/* ===== DESKTOP ENHANCEMENTS ===== */
@media (min-width: 1200px) {
  .container {
    max-width: 1240px;
  }
  
  .highlight-grid {
    grid-template-columns: repeat(4, minmax(280px, 1fr));
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  }
  
  .hero-content {
    max-width: 900px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
}

/* ===== HOVER ENHANCEMENTS FOR DESKTOP ===== */
@media (hover: hover) and (pointer: fine) {
  .highlight-card:hover {
    transform: translateY(-12px) scale(1.02);
  }
  
  .project-card:hover {
    transform: translateY(-10px) rotateX(2deg);
  }
  
  .service-card:hover {
    transform: translateY(-8px);
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.hidden {
  display: none !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  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);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.animate-slide-left {
  opacity: 0;
  animation: slideInLeft 0.7s ease forwards;
}

.animate-slide-right {
  opacity: 0;
  animation: slideInRight 0.7s ease forwards;
}

.animate-scale {
  opacity: 0;
  animation: scaleIn 0.6s ease forwards;
}

/* ===== FORM ERROR STYLES ===== */
.error-input {
  border-color: var(--error) !important;
  background-color: #fef2f2 !important;
}

.error-input:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.success-message {
  background-color: #d1fae5;
  color: #065f46;
  padding: 1.25rem;
  border-radius: var(--border-radius);
  margin-top: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid #10b981;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ===== PROCESS PAGE SPECIFIC STYLES ===== */
.process-detailed {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vh, 5rem);
}

.process-step-detailed {
  display: flex;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: flex-start;
}

.step-number-large {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  min-width: 80px;
  background: linear-gradient(135deg, var(--light-blue), #e0e7ff);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
}

.step-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  color: var(--medium-gray);
  margin-bottom: 2rem;
}

.step-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.detail-card {
  background: white;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid #f3f4f6;
  transition: var(--transition);
}

.detail-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
}

.detail-card h4 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.detail-card h4 i {
  color: var(--primary-blue);
  font-size: 1.5rem;
}

.detail-card ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.detail-card li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid #f3f4f6;
}

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

.detail-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}

.step-deliverables {
  background: linear-gradient(135deg, var(--light-blue), #f0f9ff);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--border-radius);
  margin-top: 2rem;
}

.step-deliverables h5 {
  margin-bottom: 1rem;
  color: var(--primary-blue);
  font-size: 1.25rem;
}

.deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.deliverable {
  background: white;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-blue);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
}

.deliverable:hover {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.process-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vh, 4rem);
}

.benefit-card {
  text-align: center;
  padding: clamp(2rem, 4vw, 2.5rem);
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid #f3f4f6;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
}

.benefit-icon {
  width: clamp(70px, 8vw, 80px);
  height: clamp(70px, 8vw, 80px);
  background: linear-gradient(135deg, var(--light-blue), white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--primary-blue);
  transition: var(--transition);
}

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

/* ===== FAQ PAGE STYLES ===== */
.faq-categories {
  margin-bottom: 3rem;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.category-btn {
  padding: 0.75rem 1.5rem;
  background: var(--light-blue);
  border: 2px solid var(--light-blue);
  color: var(--primary-blue);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.category-btn:hover,
.category-btn.active {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

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

.faq-category {
  margin-bottom: 4rem;
}

.faq-category-title {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light-blue);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: white;
}

.faq-question {
  padding: clamp(1.25rem, 2vw, 1.5rem);
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
}

.faq-question:hover {
  background: var(--light-blue);
}

.faq-question h3 {
  margin: 0;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  color: var(--dark-gray);
}

.faq-question i {
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 clamp(1.25rem, 2vw, 1.5rem);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: clamp(1.25rem, 2vw, 1.5rem);
  max-height: 2000px;
}

.faq-answer p {
  margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

.faq-cta {
  text-align: center;
  margin-top: 4rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--light-blue);
  border-radius: var(--border-radius);
}

/* ===== COMPLIANCE PAGE STYLES ===== */
.legal-content {
  padding: 2rem 0;
}

.legal-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.legal-content p {
  margin-bottom: 1.5rem;
  color: var(--medium-gray);
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--medium-gray);
}

.last-updated {
  background: var(--light-blue);
  padding: 1.25rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-blue);
}

/* ===== MOBILE RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .process-step-detailed {
    flex-direction: column;
    gap: 1.5rem;
  }

  .step-number-large {
    min-width: auto;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
  }

  .step-details {
    grid-template-columns: 1fr;
  }

  .deliverables {
    justify-content: center;
  }

  .faq-question h3 {
    font-size: 1.1rem;
    padding-right: 1rem;
  }

  .faq-cta {
    padding: 2rem 1rem;
  }

  .category-buttons {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .category-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  /* Improve touch scrolling */
  .highlight-grid,
  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Mobile touch improvements */
  .faq-question,
  .category-btn,
  .detail-card {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  .faq-question:active,
  .category-btn:active {
    transform: scale(0.98);
  }
}

@media (max-width: 480px) {
  .process-benefits {
    grid-template-columns: 1fr;
  }
  
  .benefit-card {
    padding: 1.5rem;
  }
  
  .step-details {
    gap: 1rem;
  }
  
  .detail-card {
    padding: 1.25rem;
  }
}

/* ===== iOS SPECIFIC FIXES ===== */
@supports (-webkit-touch-callout: none) {
  /* iOS specific fixes */
  .hero {
    padding-top: max(8rem, calc(8rem + env(safe-area-inset-top)));
  }
  
  nav.active {
    padding-top: max(6rem, calc(6rem + env(safe-area-inset-top)));
    height: calc(100vh - env(safe-area-inset-top));
  }
  
  .menu-toggle,
  .menu-close {
    margin-top: env(safe-area-inset-top);
  }
}

/* ===== REDUCED MOTION PREFERENCES ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .highlight-card:hover,
  .service-card:hover,
  .project-card:hover,
  .process-card:hover,
  .benefit-card:hover {
    transform: none;
  }
  
  .faq-question i,
  .highlight-icon,
  .benefit-icon {
    transition: none;
  }
}
/* (Duplicate FAQ styles removed — see lines 1906-2125) */
/* ===== COMPLIANCE PAGE SPECIFIC STYLES ===== */
.compliance-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1rem;
}

.compliance-status.active {
  background-color: #d1fae5;
  color: #065f46;
}

.compliance-status.pending {
  background-color: #fef3c7;
  color: #92400e;
}

.documentation-info {
  background: linear-gradient(135deg, var(--light-blue), #e0f2fe);
  border: 1px solid var(--accent-blue);
}

.document-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.document-type {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.document-type:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

/* Print styles for compliance documents */
@media print {
  .compliance-status {
    border: 1px solid #000;
    background: none !important;
    color: #000 !important;
  }
  
  .documentation-info {
    border: 1px solid #000;
    background: none !important;
  }
}

/* (Duplicate legal styles removed — see lines 2023-2061) */

/* ===== CHATBOT WIDGET STYLES ===== */
#chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
}

#chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

#chatbot-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#chatbot-toggle:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 35px rgba(37, 99, 235, 0.45);
}

#chatbot-toggle:hover::before {
  opacity: 1;
}

#chatbot-toggle:active {
  transform: scale(0.95);
}

/* Chatbot pulse animation */
#chatbot-toggle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  opacity: 0;
  animation: chatPulse 2s ease-in-out infinite;
}

@keyframes chatPulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.15); }
}

/* ===== UI ENHANCEMENTS ===== */

/* Glassmorphism card variant */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Enhanced card hover micro-interactions */
.highlight-card,
.service-card,
.project-card,
.process-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s ease;
}

/* Better focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Smooth gradient text for headings */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section divider enhancement */
.section + .section {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* Footer link hover enhancement */
footer .footer-col a {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

footer .footer-col a:hover {
  padding-left: 4px;
  color: var(--accent-blue);
}

/* Loading screen enhancement */
#loading-screen {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
}

/* Mobile: show nav icons */
@media (max-width: 768px) {
  nav a i {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--primary-blue);
  }
  
  #chatbot-widget {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  
  #chatbot-toggle {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }
}