* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  font-size: 16px; /* Minimum readable size on mobile */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  min-height: 44px; /* Touch-friendly height */
  min-width: 120px;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to right, #2563eb, #1d4ed8);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(to right, #1d4ed8, #1e40af);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-outline:hover {
  background: #2563eb;
  color: white;
}

.btn-white {
  background: white;
  color: #2563eb;
}

.btn-white:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  display: flex;
  justify-content: flex-end; /* Align all content to left */
  align-items: center;
  gap: 2rem; /* Space between logo and nav-links */
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2563eb;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex; /* Ensure links are horizontal */
  gap: 1.5rem;
}

.nav-links a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #374151;
  padding: 0.5rem;
  min-width: 44px; /* Minimum touch target size */
  min-height: 44px;
  border-radius: 0.375rem;
}

.mobile-menu-btn:hover {
  background-color: #f3f4f6;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
  min-height: 44px; /* Touch-friendly height */
}

.mobile-menu a:hover {
  color: #2563eb;
  background-color: #f8fafc;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #eff6ff 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  color: black;
  padding-top: 80px; /* Account for fixed navbar */
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-text {
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-title .gradient-text {
  background: linear-gradient(to right, #2563eb, #1d4ed8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #000000;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #60a5fa, #2563eb);
  border-radius: 1.5rem;
  filter: blur(3rem);
  opacity: 0.2;
  animation: pulse 2s infinite;
}

.hero-image img {
  position: relative;
  z-index: 10;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* About Section */
.about {
  padding: 5rem 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.section-text {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #2563eb;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f9fafb 0%, #eff6ff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-icon {
  width: 2rem;
  height: 2rem;
  color: #2563eb;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

.card:hover .service-icon {
  color: #1d4ed8;
}

.service-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.card:hover .service-title {
  color: #2563eb;
}

/* Experience Section */
.experience {
  padding: 5rem 0;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  transition: all 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-0.25rem);
}

.stat-icon {
  width: 2rem;
  height: 2rem;
  color: #2563eb;
  margin: 0 auto 1rem;
  transition: color 0.2s ease;
}

.stat-item:hover .stat-icon {
  color: #1d4ed8;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.stat-item:hover .stat-number {
  color: #2563eb;
}

.stat-label {
  color: #6b7280;
  font-weight: 500;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0157e9, #3984ff);
  color: #ffffff;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 900;
}

.contact-info p {
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-item:hover {
  transform: translateY(-2px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  min-height: 44px; /* Touch-friendly height */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  background: #2563eb;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-height: 44px;
}

.submit-btn:hover {
  background: #1d4ed8;
}

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

.btn-outline-white:hover {
  background: white;
  color: #2563eb;
}

/* Footer */
.footer {
  background: #111827;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(to right, #60a5fa, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
}

.footer-description {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.footer-social-link:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 0.25rem 0;
  min-height: 32px;
}

.footer-links a:hover {
  color: #60a5fa;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #9ca3af;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #60a5fa;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
}

.footer-divider {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-divider p {
  color: #6b7280;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  padding: 0;
  min-height: auto;
}

.footer-legal a:hover {
  color: #60a5fa;
}

/* Legacy social link support */
.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f9fafb 0%, #eff6ff 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-style: italic;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(to right, #2563eb, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.testimonial-info h4 {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Case Studies Section */
.case-studies {
  padding: 5rem 0;
  background: #f8fafc;
}

.case-study-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.case-study-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 200px; /* full top area */
  width: 100%;
}

.case-study-image.ecom {
  background-image: url("assets/Image/software-company-in-malappuram-Ecom.webp");
}

.case-study-image.healthcare {
  background-image: url("assets/Image/software-company-in-malappuram-App.webp");
}

.case-study-image.erp {
  background-image: url("assets/Image/software-company-in-Malappuram-ERP.webp");
}

.case-study-content {
  padding: 2rem;
}

.case-study-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
}

.case-study-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.case-study-tag {
  background: #2563eb;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  align-self: flex-start;
}

.case-study-metrics {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2563eb;
}

.metric-label {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Commitments Section */
.commitments {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f9fafb 0%, #eff6ff 100%);
}

.commitments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.commitment-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
}

.commitment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.commitment-icon {
  width: 3rem;
  height: 3rem;
  color: #2563eb;
  margin: 0 auto 1.5rem;
}

.commitment-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
}

/* Solutions Section */
.solutions {
  padding: 5rem 0;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  text-align: center;
}

.solutions h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.solutions p {
  font-size: 1.25rem;
  color: #bfdbfe;
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.solutions-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.solution-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.solution-icon {
  width: 2rem;
  height: 2rem;
  color: #60a5fa;
  flex-shrink: 0;
}

/* New styles for additional SEO sections */
.industry-insights {
  padding: 5rem 0;
  background: #f8fafc;
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.insight-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.insight-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.insight-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.insight-card p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.insight-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.insight-link:hover {
  color: #1d4ed8;
}

.tech-stack {
  padding: 5rem 0;
  background: white;
}

.tech-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.tech-category {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.tech-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -3px rgba(0, 0, 0, 0.1);
}

.tech-category h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tech-item {
  background: #2563eb;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
}

.tech-item:hover {
  background: white;
  color: black;
  border-color: #2563eb;
}

.tech-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.tech-link:hover {
  color: #1d4ed8;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.case-study-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.case-study-tag {
  background: #dbeafe;
  color: #1d4ed8;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  width: fit-content;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 0.75rem;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.metric-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.case-study-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.case-study-link:hover {
  color: #1d4ed8;
}

.resources {
  padding: 5rem 0;
  background: #f8fafc;
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.resource-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
  text-align: center;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.resource-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #10b981, #34d399);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.resource-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.resource-card p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.resource-link {
  color: #10b981;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.resource-link:hover {
  color: #059669;
}

/* Footer Enhancements */
.footer-social-link {
  width: 44px;
  height: 44px;
  background: #374151;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.footer-social-link:hover {
  background: #2563eb;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #d1d5db;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
}

.footer-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  padding: 0;
  min-height: auto;
}

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

/* Enhanced form styles for mobile */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  min-height: 44px; /* Touch-friendly height */
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
  width: 100%;
  background: #2563eb;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-height: 44px;
}

.submit-btn:hover {
  background: #1d4ed8;
}

/* Enhanced FAQ styles for mobile */
.faq-item {
  background: white;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px; /* Touch-friendly height */
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Responsive breakpoints - mobile-first approach */
@media (max-width: 479px) {
  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .service-card,
  .testimonial-card,
  .commitment-card,
  .insight-card,
  .case-study-card,
  .resource-card {
    padding: 1.5rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .case-study-metrics {
    justify-content: center;
  }

  .tech-items {
    justify-content: center;
  }

  /* Ensure no horizontal overflow */
  * {
    max-width: 100%;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}

/* Enhanced accessibility and touch improvements */
@media (hover: none) and (pointer: coarse) {
  /* Touch device specific styles */
  .btn:hover,
  .service-card:hover,
  .testimonial-card:hover,
  .commitment-card:hover,
  .insight-card:hover,
  .case-study-card:hover,
  .resource-card:hover {
    transform: none; /* Disable hover transforms on touch devices */
  }

  .mobile-menu a:hover,
  .nav-links a:hover {
    background-color: transparent;
  }
}

/* Focus styles for better accessibility */
.btn:focus,
.mobile-menu-btn:focus,
.faq-question:focus,
.form-group input:focus,
.form-group textarea:focus,
.submit-btn:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Prevent zoom on input focus on iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select,
  textarea,
  input[type="text"],
  input[type="password"],
  input[type="datetime"],
  input[type="datetime-local"],
  input[type="date"],
  input[type="month"],
  input[type="time"],
  input[type="week"],
  input[type="number"],
  input[type="email"],
  input[type="url"],
  input[type="search"],
  input[type="tel"],
  input[type="color"] {
    font-size: 16px;
  }
}

/* Responsive Design */
@media (min-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .btn {
    width: auto;
  }

  .case-study-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .contact-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-divider {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-legal {
    justify-content: flex-end;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-divider {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-legal {
    justify-content: flex-end;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }

  .nav-links {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-content {
    grid-template-columns: 1fr 1fr;
  }

  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tech-categories {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-text {
    text-align: left;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .resources-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .tech-categories {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .case-study-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

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

  .hero-text {
    text-align: left;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .resources-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .tech-categories {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .case-study-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SVG Icons */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background: white;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
  border-color: #2563eb;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: white;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1.125rem;
  color: #111827;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px; /* Touch-friendly height */
}

.faq-question:hover {
  background: #f9fafb;
  color: #2563eb;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #6b7280;
  line-height: 1.6;
  display: none;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  display: block;
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Desktop responsive styles for footer social icons */
@media (min-width: 768px) {
  .footer-social {
    justify-content: flex-start;
    margin-top: 0;
  }

  .footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
  }

  .footer-social-link svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

@media (max-width: 767px) {
  .footer-social {
    justify-content: center;
    flex-wrap: wrap;
  }
}
