/* Homepage-specific styles - optimized for performance */

/* Hero Section Styling */
.hero-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(233, 148, 91, 0.12) 0%, rgba(244, 235, 228, 0.3) 50%, rgba(255, 255, 255, 0.95) 100%);
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(233, 148, 91, 0.2);
}

.hero-content h1 {
  color: #065f46;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content h2 {
  color: #555;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content p {
  font-size: 1.15rem;
  color: #666;
  max-width: 900px;
  margin: 1.5rem auto;
  line-height: 1.7;
}

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

.btn {
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(233, 148, 91, 0.75) 0%, rgba(217, 125, 66, 0.75) 100%);
  color: white;
  border-color: #e9945b;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e9945b 0%, #d97d42 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 148, 91, 0.4);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: #065f46;
  border-color: #065f46;
}

.btn-outline:hover {
  background-color: #065f46;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.2);
}

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

/* Services Grid - Responsive Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem;
  position: relative;
}

/* Scroll arrow indicators - using real DOM elements */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #065f46;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.scroll-arrow.visible {
  opacity: 0.7;
  pointer-events: auto;
}

.scroll-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.3);
}

.scroll-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.scroll-arrow.right {
  right: 10px;
  animation: slideRightHint 2s ease-in-out infinite;
}

.scroll-arrow.left {
  left: 10px;
  animation: slideLeftHint 2s ease-in-out infinite;
}

/* Container wrapper for positioning arrows */
.services-grid-wrapper {
  position: relative;
}

@keyframes slideRightHint {
  0%, 100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(10px);
  }
}

@keyframes slideLeftHint {
  0%, 100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(-10px);
  }
}

/* Custom scrollbar styling */
.services-grid::-webkit-scrollbar {
  height: 10px;
}

.services-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.services-grid::-webkit-scrollbar-thumb {
  background: #065f46;
  border-radius: 10px;
}

.services-grid::-webkit-scrollbar-thumb:hover {
  background: #145240;
}

.service-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(233, 148, 91, 0.3);
  border-color: #e9945b;
}

.service-card.featured {
  background: linear-gradient(135deg, rgba(233, 148, 91, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-color: #e9945b;
  border-width: 2px;
}

.service-icon {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  transition: transform 0.3s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-card > *:not(.service-icon) {
  padding-left: 2rem;
  padding-right: 2rem;
}

.service-card > h3 {
  padding-top: 1.5rem;
}

.service-card > p:last-of-type,
.service-card > ul:last-of-type {
  padding-bottom: 1.5rem;
}

.service-card h3 {
  color: #065f46;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-card p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-card strong {
  color: #065f46;
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

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

.service-card li {
  padding: 0.3rem 0;
  color: #666;
  position: relative;
}

.service-card li:before {
  content: "✓";
  color: #065f46;
  font-weight: bold;
  position: absolute;
  left: -1.5rem;
}

.service-card a {
  color: #e9945b;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.service-card a:hover {
  color: #d97d42;
  text-decoration: underline;
}

/* Mission and Vision Section */
.mission-vision-section {
  gap: 2rem;
  margin: 2rem 0;
}

.mission-card,
.vision-card {
  background: linear-gradient(135deg, rgba(233, 148, 91, 0.08) 0%, rgba(6, 95, 70, 0.03) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Add subtle geometric pattern to mission/vision cards */
.mission-card::before,
.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(30deg, rgba(233, 148, 91, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(233, 148, 91, 0.04) 87.5%),
    linear-gradient(150deg, rgba(6, 95, 70, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(6, 95, 70, 0.03) 87.5%);
  background-size: 80px 140px;
  background-position: 0 0, 40px 70px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.mission-card > *,
.vision-card > * {
  position: relative;
  z-index: 1;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(233, 148, 91, 0.2);
  border-color: #e9945b;
  background: linear-gradient(135deg, rgba(233, 148, 91, 0.12) 0%, rgba(6, 95, 70, 0.05) 100%);
}

.mission-card h3,
.vision-card h3 {
  color: #065f46;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mission-card p,
.vision-card p {
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Why Choose Section */
.why-choose > div {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.why-choose > div:hover {
  background: linear-gradient(135deg, rgba(233, 148, 91, 0.12) 0%, rgba(6, 95, 70, 0.05) 100%);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(233, 148, 91, 0.2);
}

.why-icon {
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.why-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.why-choose > div:hover .why-img {
  transform: scale(1.05);
}

.why-choose strong {
  display: block;
  color: #065f46;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.why-choose p {
  color: #666;
  line-height: 1.7;
}

/* Industry Applications Cards */
.grid > div[class*="g-col"] {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.grid > div[class*="g-col"]:hover {
  background: linear-gradient(135deg, rgba(233, 148, 91, 0.08) 0%, rgba(6, 95, 70, 0.03) 100%);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(233, 148, 91, 0.2);
  border-color: #e9945b;
}

/* Blog Preview */
.blog-preview {
  background: linear-gradient(135deg, rgba(233, 148, 91, 0.1) 0%, rgba(244, 235, 228, 0.8) 100%);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #e9945b;
}

.blog-preview a {
  color: #065f46;
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 2;
  display: block;
  transition: all 0.2s ease;
}

.blog-preview a:hover {
  color: #e9945b;
  transform: translateX(5px);
}

/* CTA Section - green to orange gradient */
.cta-section {
  background: linear-gradient(135deg, #065f46 0%, #0a6b51 40%, #c67d4a 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f4ebe4 100%);
  color: #065f46;
  border-color: #e9945b;
}

.cta-section .btn-primary:hover {
  background: linear-gradient(135deg, #f4ebe4 0%, #e9945b 100%);
  color: #ffffff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(233, 148, 91, 0.4);
}

.cta-section .btn-outline {
  background-color: transparent;
  color: white;
  border-color: white;
}

.cta-section .btn-outline:hover {
  background-color: white;
  color: #065f46;
}

/* Responsive Design */

/* Large Desktop (1440px and above) */
@media (min-width: 1440px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .page-columns {
    max-width: 1400px;
  }
}

/* Desktop (1024px to 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

/* Tablet (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.3rem;
  }

  .service-icon {
    height: 180px;
  }

  .why-icon {
    height: 130px;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

/* Mobile and Small Tablets (below 768px) - Use horizontal scroll */
@media (max-width: 767px) {
  /* Switch to horizontal scroll on mobile */
  .services-grid {
    display: flex;
    grid-template-columns: none;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .service-card {
    min-width: 300px;
    max-width: 380px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  .service-icon {
    height: 180px;
  }

  .why-icon {
    height: 120px;
  }

  /* Show scroll arrows on mobile */
  .scroll-arrow {
    display: flex;
  }
}

/* Small Mobile (below 576px) */
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content h2 {
    font-size: 1.1rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .service-card {
    min-width: 280px;
    max-width: 340px;
  }

  .btn {
    padding: 0.65rem 1.5rem;
    font-size: 1rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .service-icon {
    height: 150px;
  }

  .why-icon {
    height: 100px;
  }
}

/* Hide scroll arrows on desktop (768px and above) */
@media (min-width: 768px) {
  .scroll-arrow {
    display: none !important;
  }

  .services-grid-wrapper .scroll-arrow {
    display: none !important;
  }
}

/* Services Page Styles */
.services-intro {
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.08) 0%, rgba(233, 148, 91, 0.05) 100%);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* Process Section on Services Page */
.process-grid {
  margin: 2rem 0;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.process-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.process-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.process-grid > div:hover .process-img {
  transform: scale(1.1);
}

.process-grid strong {
  color: #065f46;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.process-grid p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-detail {
  margin-bottom: 4rem;
}

.service-header-img {
  margin: 1rem 0 2rem 0;
}

.service-banner {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.capability-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(233, 148, 91, 0.2);
  border-color: #e9945b;
}

.capability-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.capability-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.capability-card strong {
  color: #065f46;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 1rem;
}

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

.capability-card li {
  padding: 0.4rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.capability-card li:before {
  content: "•";
  color: #065f46;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Applications Grid */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.application-item {
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.08) 0%, rgba(233, 148, 91, 0.05) 50%, rgba(244, 235, 228, 0.9) 100%);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #065f46;
  border-right: 2px solid rgba(233, 148, 91, 0.3);
  overflow: hidden;
}

.application-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.application-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.application-item strong {
  color: #065f46;
  display: block;
  margin-bottom: 0.5rem;
}

/* About Page Styles */
.team-profile {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin: 2rem 0;
  overflow: hidden;
}

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

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  float: left;
  margin-right: 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.info-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(233, 148, 91, 0.25);
  background: linear-gradient(135deg, rgba(233, 148, 91, 0.1) 0%, rgba(6, 95, 70, 0.03) 100%);
  border-color: #e9945b;
}

.info-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  color: #065f46;
  margin-bottom: 1rem;
}

.info-card ul {
  list-style: none;
  padding-left: 0;
}

.info-card li {
  padding: 0.4rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.info-card li:before {
  content: "•";
  color: #065f46;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.process-card {
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.08) 0%, rgba(233, 148, 91, 0.04) 100%);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #065f46;
  border-right: 2px solid rgba(233, 148, 91, 0.3);
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: start;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.process-card:hover {
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.12) 0%, rgba(233, 148, 91, 0.08) 100%);
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(233, 148, 91, 0.2);
}

.process-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.step-number {
  background: linear-gradient(135deg, #065f46 0%, #0a6b51 50%, #c67d4a 100%);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Contact Page Styles */
.contact-card {
  background: linear-gradient(135deg, rgba(233, 148, 91, 0.04) 0%, #ffffff 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(233, 148, 91, 0.2);
  box-shadow: 0 2px 8px rgba(233, 148, 91, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 148, 91, 0.3);
  background: linear-gradient(135deg, rgba(233, 148, 91, 0.12) 0%, #ffffff 100%);
  border-color: #e9945b;
}

.contact-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive adjustments for services and about pages */
@media (min-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

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

  .profile-image {
    width: 150px;
    height: 150px;
    margin-right: 1.5rem;
  }

  .process-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .applications-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .profile-image {
    float: none;
    display: block;
    margin: 0 auto 1.5rem;
    width: 150px;
    height: 150px;
  }

  .team-profile {
    padding: 1.5rem;
  }

  .info-card,
  .capability-card {
    padding: 1.5rem;
  }

  .services-intro {
    padding: 1.5rem;
    font-size: 1rem;
  }

  .process-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
  }

  .process-icon {
    width: 100px;
    height: 100px;
  }

  .process-grid strong {
    font-size: 1rem;
  }

  .process-grid p {
    font-size: 0.9rem;
  }

  .mission-vision-section {
    gap: 1rem;
    margin: 1rem 0;
  }

  .mission-card,
  .vision-card {
    padding: 1.25rem;
    margin: 0;
  }

  .mission-card h3,
  .vision-card h3 {
    font-size: 1.3rem;
  }

  .mission-card p,
  .vision-card p {
    font-size: 0.95rem;
  }

  .services-grid {
    padding: 1.25rem;
    gap: 1.5rem;
    margin: 1rem 0;
  }

  .service-card > *:not(.service-icon) {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .service-card > h3 {
    padding-top: 1.25rem;
  }

  .service-card > p:last-of-type,
  .service-card > ul:last-of-type {
    padding-bottom: 1.25rem;
  }

  .blog-preview {
    padding: 1.25rem;
  }

  .application-item {
    padding: 1.25rem;
  }
}

@media (max-width: 576px) {
  .capability-icon,
  .card-icon {
    font-size: 2.5rem;
  }

  .application-icon {
    font-size: 1.5rem;
  }

  .profile-image {
    width: 120px;
    height: 120px;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .process-card {
    padding: 1rem;
  }

  .process-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }

  .mission-card,
  .vision-card {
    padding: 1rem;
  }

  .mission-card h3,
  .vision-card h3 {
    font-size: 1.2rem;
  }

  .mission-card p,
  .vision-card p {
    font-size: 0.9rem;
  }

  .services-grid {
    padding: 1rem;
    gap: 1rem;
    margin: 0.5rem 0;
  }

  .service-card > *:not(.service-icon) {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .service-card > h3 {
    padding-top: 1rem;
  }

  .service-card > p:last-of-type,
  .service-card > ul:last-of-type {
    padding-bottom: 1rem;
  }

  .blog-preview {
    padding: 1rem;
  }

  .application-item {
    padding: 1rem;
  }

  .info-card,
  .capability-card {
    padding: 1rem;
  }

  .team-profile {
    padding: 1rem;
  }

  .services-intro {
    padding: 1rem;
  }

  .process-icon {
    width: 80px;
    height: 80px;
  }

  .process-grid strong {
    font-size: 0.95rem;
  }

  .process-grid p {
    font-size: 0.85rem;
  }
}

/* JavaScript for scroll indicators will be added inline */

/* ============================================
   Dark Mode Support for Homepage
   ============================================ */
@media (prefers-color-scheme: dark) {
  /* Hero Section Text Visibility Fix */
  .hero-content p {
    color: #e8e8e8;
  }

  .hero-content h2 {
    color: #d0d0d0;
  }

  .hero-content h1 {
    color: #ffffff;
  }

  .hero-section {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.15) 0%, rgba(6, 95, 70, 0.08) 50%, #1f1f1f 100%);
  }

  /* Mission & Vision Cards - Brand Identity Colors */
  .mission-card,
  .vision-card {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.2) 0%, rgba(6, 95, 70, 0.1) 100%);
    border-color: #3d3d3d;
  }

  .mission-card::before,
  .vision-card::before {
    background-image:
      linear-gradient(30deg, rgba(233, 148, 91, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(233, 148, 91, 0.08) 87.5%),
      linear-gradient(150deg, rgba(6, 95, 70, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(6, 95, 70, 0.06) 87.5%);
    opacity: 0.6;
  }

  .mission-card:hover,
  .vision-card:hover {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.25) 0%, rgba(6, 95, 70, 0.15) 100%);
    border-color: #e9945b;
    box-shadow: 0 8px 24px rgba(233, 148, 91, 0.3);
  }

  .mission-card h3,
  .vision-card h3 {
    color: #e9945b !important;
  }

  .mission-card p,
  .vision-card p {
    color: #e9945b !important;
  }

  .mission-card > *,
  .vision-card > * {
    color: #e9945b;
  }

  /* Service Cards */
  .service-card {
    background: #252525;
    border-color: #404040;
  }

  .service-card p,
  .service-card li {
    color: #e0e0e0 !important;
  }


  /* Ensure all service card text is visible */
  .service-card * {
    color: #e0e0e0;
  }

  .service-card h3,
  .service-card strong {
    color: #e9945b !important;
  }

  .service-card a {
    color: #4ade80 !important;
  }

  .service-card:hover {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.12) 0%, #2a2a2a 100%);
    border-color: #e9945b;
  }

  .service-card.featured {
    background: #2a2a2a;
    border-color: #e9945b;
  }

  /* Why Choose Cards */
    .why-choose strong {
    color: #e9945b !important;
  }

  .why-choose p {
    color: #e0e0e0 !important;
  }

  /* Ensure all why-choose text is visible */
  .why-choose > div * {
    color: #e0e0e0;
  }

  .why-choose strong {
    color: #e9945b !important;
  }

  .why-choose > div {
    background: #252525;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .why-choose > div:hover {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.12) 0%, #2a2a2a 100%);
    box-shadow: 0 8px 24px rgba(233, 148, 91, 0.2);
  }

  /* Info Cards */
    .info-card {
    background: #252525 !important;
    border-color: #404040;
  }

  .info-card:hover {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.12) 0%, #2a2a2a 100%) !important;
    border-color: #e9945b;
  }

  .info-card h3 {
    color: #e9945b !important;
  }

  .info-card h4 {
    color: #e9945b !important;
  }

  .info-card p,
  .info-card li {
    color: #e0e0e0 !important;
  }

  /* Ensure all info card text is visible */
  .info-card * {
    color: #e0e0e0;
  }

  .info-card h3,
  .info-card h4 {
    color: #e9945b !important;
  }

  .info-card .card-icon {
    filter: grayscale(0) brightness(1.2);
  }


  /* Process Cards */
  .process-card {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.15) 0%, rgba(6, 95, 70, 0.08) 100%);
    border-left-color: #e9945b;
  }

  .process-card:hover {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.2) 0%, rgba(6, 95, 70, 0.12) 100%);
    box-shadow: 0 4px 16px rgba(233, 148, 91, 0.3);
  }

  .process-card strong {
    color: #e9945b !important;
  }

  .process-card p,
  .process-card {
    color: #e0e0e0 !important;
  }

  /* Ensure all process card text is visible */
  .process-card * {
    color: #e0e0e0;
  }

  .process-card strong {
    color: #e9945b !important;
  }

  /* Contact Cards */
  .contact-card {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.08) 0%, #252525 100%);
    border-color: rgba(233, 148, 91, 0.2);
  }

  .contact-card:hover {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.15) 0%, #2a2a2a 100%);
    border-color: #e9945b;
  }

  /* Capability Cards */
  .capability-card {
    background: #252525;
    border-color: #404040;
  }

  .capability-card:hover {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.12) 0%, #2a2a2a 100%);
    border-color: #e9945b;
  }

  /* Application Items */
  .application-item {
    background: #252525;
    border-color: #404040;
  }

  .application-item:hover {
    background: linear-gradient(135deg, rgba(6, 95, 70, 0.12) 0%, #2a2a2a 100%);
    border-color: #065f46;
  }

  /* Team Profile */
  .team-profile {
    background: #252525;
  }

  /* Blog Preview */
  .blog-preview {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.1) 0%, #202020 100%);
    border-left-color: #e9945b;
  }

  /* Industry Applications Cards */
  .grid > div[class*="g-col"] {
    background: #252525;
    border-color: #404040;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .grid > div[class*="g-col"]:hover {
    background: linear-gradient(135deg, rgba(233, 148, 91, 0.1) 0%, rgba(6, 95, 70, 0.05) 50%, #2a2a2a 100%);
    box-shadow: 0 8px 24px rgba(233, 148, 91, 0.3);
    border-color: #e9945b;
  }
}
