:root {
  --brand-50: #FFF7ED;
  --brand-100: #FFEDD5;
  --brand-200: #FED7AA;
  --brand-300: #FDBA74;
  --brand-400: #FB923C;
  --brand-500: #F97316;
  --brand-600: #EA580C;
  --brand-700: #C2410C;

  /* Light Palette */
  --dark-900: #FFFFFF;
  --dark-800: #F9FAFB;
  --dark-700: #F3F4F6;
  --dark-600: #E5E7EB;
  --dark-500: #9CA3AF;

  /* Light Theme Typography */
  --text-main: #111827;
  --text-muted: #4B5563;
  --text-faint: #6B7280;
}

/* Force all elements to have sharp corners */
* {
  font-family: 'Inter', sans-serif;
  border-radius: 0px !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-900);
  color: var(--text-main);
}

.bg-dark-900 {
  background-color: var(--dark-900);
}

.bg-dark-800 {
  background-color: var(--dark-800);
}

.bg-dark-700 {
  background-color: var(--dark-700);
}

.bg-dark-600 {
  background-color: var(--dark-600);
}

.text-brand-300 {
  color: var(--brand-600);
}

.text-brand-400 {
  color: var(--brand-500);
}

.text-brand-500 {
  color: var(--brand-500);
}

.bg-brand-500 {
  background-color: var(--brand-500);
}

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

.text-gray-500 {
  color: var(--text-faint) !important;
}

.text-gray-600 {
  color: var(--text-faint) !important;
}

.text-white {
  color: var(--text-main) !important;
}

/* Theme Accent Colors adjusted for Light mode visibility */
.text-purple-400 {
  color: #7c3aed;
}

.text-green-400 {
  color: #16a34a;
}

.text-blue-300 {
  color: #2563eb;
}

.text-blue-400 {
  color: #1d4ed8;
}

.text-cyan-400 {
  color: #0891b2;
}

.text-yellow-400 {
  color: #ca8a04;
}

.text-yellow-300 {
  color: #b45309;
}

.text-red-400 {
  color: #dc2626;
}

.border-white-5 {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.border-white-10 {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Code Block Palette (Light Syntax) */
.text-code-keyword {
  color: #d33682;
}

.text-code-string {
  color: #859900;
}

.text-code-class {
  color: #b58900;
}

.text-code-ident {
  color: #268bd2;
}

.text-code-num {
  color: #cb4b16;
}

.text-code-punc {
  color: #657b83;
}

.text-code-comment {
  color: #93a1a1;
  font-style: italic;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-mono {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.leading-relaxed {
  line-height: 1.625;
}

.py-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 992px) {
  .py-section {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }
}

.nav-link-custom {
  transition: color 0.2s ease;
}

.nav-link-custom:hover {
  color: var(--brand-500) !important;
}

.nav-link-custom.active {
  color: var(--brand-500) !important;
  font-weight: 600;
}

.navbar-collapse.show {
  background-color: #fff;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.05);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
  animation: float 6s ease-in-out infinite 1s;
}

.animate-float-delay-2 {
  animation: float 6s ease-in-out infinite 2s;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.animate-slide-up {
  animation: slide-up 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fade-in 1s ease-out forwards;
}

.hero-gradient {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(249, 115, 22, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(249, 115, 22, 0.04) 0%, transparent 50%);
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.3) !important;
  box-shadow: 0 20px 40px -15px rgba(249, 115, 22, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, #F97316, #EA580C);
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: #ffffff !important;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #FB923C, #F97316);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -5px rgba(249, 115, 22, 0.4);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: var(--brand-50);
  border: 1px solid var(--brand-600);
  color: var(--brand-600);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--brand-50);
  border-color: #F97316;
  transform: translateY(-2px);
  color: var(--brand-600);
}

.grid-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-chevron {
  transition: transform 0.3s ease;
}

.faq-chevron.rotated {
  transform: rotate(180deg);
}

.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F97316, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::after {
  opacity: 1;
}

.process-line {
  background: linear-gradient(180deg, #F97316, rgba(249, 115, 22, 0.1));
}

.industry-tag {
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.industry-tag:hover {
  background: rgba(249, 115, 22, 0.05);
  border-color: rgba(249, 115, 22, 0.4) !important;
  transform: translateY(-2px);
}

.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #F97316, #FB923C);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-900);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-600);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-500);
}

/* Custom properties for About Us structural layout */
.text-base {
  font-size: 1rem;
}

/* Strategic Milestone layout helper classes */
.col-lg-8 .card-hover i {
  transition: transform 0.3s ease;
}

.col-lg-8 .card-hover:hover i {
  transform: scale(1.1);
}

/* Additional Service Page Component Layouts */
.pill-accent {
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tech-tag {
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 2rem;
}

.process-step-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(249, 115, 22, 0.15);
  line-height: 1;
}

.text-blue-300 { color: #93c5fd !important; }
.text-purple-400 { color: #c084fc !important; }
.text-green-400 { color: #4ade80 !important; }
.text-cyan-400 { color: #22d3ee !important; }

/* Scoped index-specific layout enhancements aligning with css.css rules */
.service-index-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-index-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}
.service-index-card .arrow-link {
  transition: transform 0.2s ease;
}
.service-index-card:hover .arrow-link {
  transform: translateX(6px);
}

  /* Full Width Megamenu Styles */
  .dropdown-menu.megamenu {
    position: absolute !important;
    top: 80px !important; /* Aligns flush with navbar bottom */
    left: 0 !important;
    right: 0 !important;
    transform: none !important; /* Disables transform shifts */
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  }

  .megamenu-item-card {
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
  }

  .megamenu-item-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }

  .dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 0.3em;
  }


  /*asmis splash*/
  .smis-hero-img {
    margin-top: 90px;
    background: #ffffff;
    overflow: hidden;
    position: relative;

  .smis-hero-img img {
    width: 100%;
  }

  @media (max-width: 991px) {
    .smis-hero-img {
      
    }

    .smis-hero-img img {
      width: 100%;           /* Fits the base size to the container */
      height: 100%;          /* Maintains original aspect ratio */
      display: block;        /* Removes bottom whitespace gap */
      transform: scale(1.5); /* Zooms the image */
      transform-origin: top center; /* Forces the zoom to expand down and outward */
      object-fit: cover;
    }
    
    .scroll-hint {
      display: none; /* Hides the scroll hint on smaller screens */
    }
  }
  
  @media (max-width: 576px) {
    .smis-hero-img {
      height: 50vh;
    }
  }

  @media (max-width: 400px) {
    .smis-hero-img {
      height: 45vh;
    }
  }