@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@600;700;800;900&display=swap');

:root {
  --primary-dark: #000615;
  --secondary-dark: #050d24;
  --brand-blue: #0046d2;
  --brand-blue-hover: #0037a3;
  --accent-gold: #f6be39;
  --bg-light: #f7f9fb;
  --text-dark: #0f172a;
  --text-muted: #64748b;
}

html {
  font-size: 112.5%; /* Scales the entire website's typography up by 12.5% proportionally */
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-blend-mode: multiply;
  color: #ffffff;
  padding: 5rem 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.12) 100%);
  pointer-events: none;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-pill {
  display: inline-block;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1.2rem;
}

.page-pill-soft {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
  color: var(--brand-blue);
}

.page-hero h1,
.section-title h2,
.cta-card h2 {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.page-hero .lead {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 700px;
}

.page-section {
  background: var(--bg-light);
}

.section-alt {
  background: #eef2ff;
}

.section-title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.page-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  padding: 1.4rem;
  height: 100%;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.page-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-blue);
  font-size: 1.25rem;
  margin-bottom: 0.95rem;
}

.page-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.page-card p,
.footer p,
.footer li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.97), rgba(15, 23, 42, 0.96));
  color: #ffffff;
  padding: 2.25rem;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.cta-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 0;
}

.footer {
  background: var(--primary-dark);
  color: #ffffff;
}

.footer h3,
.footer h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: auto;
  }

  .cta-card {
    padding: 1.6rem;
  }
}

/* Paragraph font size adjustments to increase readability across the website */
p {
  font-size: 1.1rem !important; /* Default size for general paragraphs */
}

p.text-xs,
p[style*="font-size: 0.7rem"],
p[style*="font-size: 0.75rem"] {
  font-size: 0.85rem !important; /* Increased from 0.7rem / 0.75rem */
}

p.text-sm,
p[style*="font-size: 0.85rem"] {
  font-size: 0.975rem !important; /* Increased from 0.85rem / 0.875rem */
}

p[style*="font-size: 0.95rem"] {
  font-size: 1.075rem !important; /* Increased from 0.95rem */
}

p[style*="font-size: 1rem"] {
  font-size: 1.15rem !important; /* Increased from 1.0rem */
}

p.text-lg,
p[style*="font-size: 1.1rem"] {
  font-size: 1.25rem !important; /* Increased from 1.1rem / 1.125rem */
}

p.text-xl {
  font-size: 1.4rem !important; /* Increased from 1.25rem */
}

p.text-2xl {
  font-size: 1.65rem !important; /* Increased from 1.5rem */
}

h1, h2, h3, h4, .font-headline {
  font-family: 'Montserrat', sans-serif;
}

/* Custom text utility colors */
.color-brand-blue {
  color: var(--brand-blue) !important;
}
.color-accent-gold {
  color: var(--accent-gold) !important;
}

/* Custom bg colors */
.bg-primary-dark {
  background-color: var(--primary-dark) !important;
}
.bg-secondary-dark {
  background-color: var(--secondary-dark) !important;
}
.bg-brand-blue {
  background-color: var(--brand-blue) !important;
}
.bg-accent-gold {
  background-color: var(--accent-gold) !important;
}
.bg-light-color {
  background-color: var(--bg-light) !important;
}

/* Navbar Scrolled state style */
.navbar-custom {
  transition: all 0.3s ease-in-out;
  border-top: 3px solid var(--accent-gold) !important;
}

.navbar-custom.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar-custom.navbar-hidden {
  transform: translateY(-100%) !important;
}

@media (min-width: 992px) {
  .navbar-custom {
    padding-top: 1.25rem !important;
    padding-bottom: 0.75rem !important;
  }
  .navbar-custom.scrolled {
    padding-top: 0.6rem !important;
    padding-bottom: 0.4rem !important;
  }
}

.navbar-custom.scrolled .nav-link {
  color: var(--text-dark) !important;
  opacity: 0.8;
}
.navbar-custom.scrolled .nav-link:hover {
  color: var(--brand-blue) !important;
  opacity: 1;
}
.navbar-custom.scrolled .navbar-brand {
  color: var(--text-dark) !important;
}

/* Buttons and interactions */
.btn-brand-blue {
  background-color: var(--brand-blue);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 70, 210, 0.25);
}

.btn-brand-blue:hover {
  background-color: var(--brand-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 70, 210, 0.35);
}

.btn-brand-blue:active {
  transform: translateY(0);
}

.btn-accent-gold {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(246, 190, 57, 0.25);
}

.btn-accent-gold:hover {
  background-color: #e5af2c;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(246, 190, 57, 0.35);
}

.btn-accent-gold:active {
  transform: translateY(0);
}

.btn-outline-custom-light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-outline-custom-light:hover {
  background-color: rgba(255, 255, 255, 0.17);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline-custom-dark {
  border: 1px solid rgba(0, 70, 210, 0.35);
  background-color: rgba(0, 70, 210, 0.03);
  color: var(--brand-blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-outline-custom-dark:hover {
  background-color: rgba(0, 70, 210, 0.07);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

/* Service item card custom design */
.service-card {
  border: 1.5px solid rgba(226, 232, 240, 0.8) !important;
  background-color: #ffffff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  height: 100%;
}

.service-card:hover {
  border-color: rgba(0, 70, 210, 0.35) !important;
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.service-card .icon-container {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: rgba(0, 70, 210, 0.06);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .icon-container {
  background-color: rgba(0, 70, 210, 0.12);
  transform: scale(1.05);
}

/* Industry served section cards */
.industry-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--primary-dark);
  cursor: pointer;
  border: none !important;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: all 0.7s ease;
}

.industry-card:hover img {
  opacity: 0.4;
  transform: scale(1.1);
}

.industry-card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 6, 21, 0.3);
  transition: background-color 0.5s ease;
}

.industry-card:hover .industry-card-overlay {
  background-color: rgba(0, 6, 21, 0.5);
}

.industry-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.industry-card:hover .industry-card-badge {
  color: #ffffff;
  transform: scale(1.1);
}

.industry-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
}

.industry-card-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.industry-card-action {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.industry-card:hover .industry-card-action {
  opacity: 1;
}

/* Timeline specific layouts */
.timeline-track-line {
  position: absolute;
  top: 30px; /* Vertically centered relative to the container content height */
  left: calc(8.33% + 30px); /* Align with first circle center (accounting for container padding) */
  right: calc(8.33% + 30px); /* Align with last circle center (accounting for container padding) */
  height: 4px;
  background-color: #e2e8f0;
  z-index: 1;
}

.timeline-progress-line {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue), var(--accent-gold));
  width: 0%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-step-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 3px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.timeline-step-btn.inactive {
  background-color: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
}

.timeline-step-node {
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-step-node.active .timeline-step-btn {
  background-color: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 10px 15px -3px rgba(0, 70, 210, 0.3);
  transform: scale(1.15);
}

.timeline-step-node.active .timeline-step-btn.accent-step-color {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 15px -3px rgba(246, 190, 57, 0.3);
}

.timeline-step-node:hover .timeline-step-btn {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-4px);
}

.timeline-step-node:hover .timeline-step-btn.accent-step-color {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Timeline animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-100 {
  animation-delay: 100ms;
}

/* Mobile view: Vertical Connected Timeline */
@media (max-width: 991.98px) {
  .timeline-track-line {
    display: none;
  }
  
  #timelineStepsList {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    position: relative !important;
    padding-left: 3.5rem !important;
    max-width: 480px;
    margin: 0 auto 3rem;
  }
  
  #timelineStepsList::before {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 2rem;
    width: 3px;
    background-color: #e2e8f0;
    z-index: 1;
  }
  
  #timelineStepsList > .col {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .timeline-step-node {
    position: relative !important;
    text-align: left !important;
    padding-left: 0.5rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  
  .timeline-step-btn {
    position: absolute !important;
    left: -2.75rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 2 !important;
    width: 40px !important;
    height: 40px !important;
    border-width: 2.5px !important;
  }
  
  .timeline-step-btn i {
    width: 16px !important;
    height: 16px !important;
  }

  .timeline-step-node.active .timeline-step-btn {
    transform: translateY(-50%) scale(1.1) !important;
  }
}

/* Case study cards list */
.case-card {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.case-card-img-wrapper {
  height: 220px;
  overflow: hidden;
  background-color: var(--primary-dark);
  position: relative;
}

.case-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

/* Common Modal styling fixes */
.modal-content {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.modal-header-custom {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.modal-header-custom h3 {
  font-weight: 900;
  margin-bottom: 0;
}

/* Wizard progress dots */
.wizard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e2e8f0;
  transition: all 0.3s ease;
}

.wizard-dot.active {
  background-color: var(--brand-blue);
  transform: scale(1.15);
}

.wizard-dot.completed {
  background-color: rgba(0, 70, 210, 0.45);
}

/* Range input style */
input[type="range"] {
  height: 6px;
  background-color: #e2e8f0;
  border-radius: 5px;
  outline: none;
}

/* Offcanvas custom drawer style */
.offcanvas-custom-right {
  width: 440px !important;
  max-width: 100% !important;
  border-left: none !important;
}

/* Custom indicator animation */
@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

.pulse-badge {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  animation: pulseGlow 2s infinite;
}

/* Custom scrolling bar values */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ==========================================
   CUSTOM UTILITY CLASSES & LOGO STYLING
   ========================================== */

/* Text sizing utilities */
.text-xs {
  font-size: 0.75rem !important;
}
.text-sm {
  font-size: 0.875rem !important;
}
.text-lg {
  font-size: 1.125rem !important;
}
.text-xl {
  font-size: 1.25rem !important;
}
.text-2xl {
  font-size: 1.5rem !important;
}

/* Font weight utilities */
.fw-black {
  font-weight: 900 !important;
}

/* User interaction and cursors */
.select-none {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}
.cursor-pointer {
  cursor: pointer !important;
}
.resize-none {
  resize: none !important;
}
.pointer-events-none {
  pointer-events: none !important;
}

/* Letter spacing utilities */
.tracking-wide {
  letter-spacing: 0.04em !important;
}
.tracking-wider {
  letter-spacing: 0.08em !important;
}
.tracking-widest {
  letter-spacing: 0.15em !important;
}
.tracking-tight {
  letter-spacing: -0.04em !important;
}

/* Custom interactive state hovers */
.hover-gold {
  transition: color 0.3s ease !important;
}
.hover-gold:hover {
  color: var(--accent-gold) !important;
}

/* Custom dimensions */
.h-20 {
  height: 80px !important;
}
@media (min-width: 992px) {
  .h-20 {
    height: auto !important;
  }
}

/* Logo styling elements */
.navbar-logo {
  height: 40px;
  width: auto;
  transition: all 0.3s ease-in-out;
}

.footer-logo {
  height: 45px;
  width: auto;
  transition: all 0.3s ease-in-out;
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-custom {
    height: auto !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
  .navbar-custom.scrolled {
    height: auto !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  /* Style mobile dropdown container */
  .navbar-collapse {
    max-height: 80vh !important;
    overflow-y: auto !important;
    background-color: #ffffff;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  .navbar-logo {
    height: 32px;
  }
}

/* Cinematic Hero Section & Responsive Video Background */
.hero-section {
  position: relative;
  width: 100%;
  margin-top: 80px; /* Offset fixed navbar on mobile */
  overflow: hidden;
  background-color: var(--primary-dark);
  display: flex;
  flex-direction: column;
}

.hero-video-bg {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
  display: block;
}

.hero-overlay {
  display: none; /* Hide overlay on mobile since text is below the video */
}

.hero-content-container {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 40px 15px;
  background-color: var(--primary-dark);
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.8rem);
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  max-width: 650px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (min-width: 992px) {
  .hero-section {
    height: calc(100vh - 120px);
    min-height: 570px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding-bottom: 80px;
    margin-top: 120px;
  }

  .hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 6, 21, 0.7) 0%, rgba(0, 6, 21, 0.3) 50%, rgba(0, 6, 21, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
  }

  .hero-content-container {
    position: relative;
    padding: 0;
    background-color: transparent;
  }
}

/* Highlighted Industry Card (Textiles & Apparel) */
.industry-card-highlighted {
  border: 2px solid var(--accent-gold) !important;
  box-shadow: 0 10px 35px rgba(246, 190, 57, 0.3) !important;
  transform: scale(1.06);
  z-index: 5;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.industry-card-highlighted img {
  opacity: 0.75 !important;
}

.industry-card-highlighted:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 15px 40px rgba(246, 190, 57, 0.45) !important;
}

.industry-card-highlighted:hover img {
  opacity: 0.55 !important;
  transform: scale(1.12) !important;
}

.industry-card-highlighted .industry-card-title {
  font-size: 1.3rem !important;
  color: var(--accent-gold) !important;
}

.industry-card-highlight-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   MEGA DROPDOWN STYLING & ANIMATIONS
   ========================================== */

.dropdown-mega {
  position: static !important;
}

.navbar .dropdown-menu {
  border-radius: 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  background-color: #ffffff !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
  z-index: 1050;
  margin-top: 0 !important;
}

.mega-dropdown-menu {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
}

.navbar .dropdown-menu .dropdown-item {
  color: var(--text-muted) !important;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  font-size: 0.75rem !important;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: rgba(0, 70, 210, 0.05) !important;
  color: var(--brand-blue) !important;
  padding-left: 0.75rem !important; /* Slide in effect */
}

/* Hover dropdown behavior on desktop screens */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
  }
  
  .nav-item.dropdown .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Align right-aligned dropdowns properly on desktop hover when popper is inactive */
  .dropdown-menu-end {
    right: 0 !important;
    left: auto !important;
  }
}



/* ==========================================
   MOBILE SMOOTH FONT SCALING (FIXED OPTIMIZATION)
   ========================================== */

@media (max-width: 767.98px) {
  /* Hero section optimization */
  .display-3 {
    font-size: 2.1rem !important;
    line-height: 1.3 !important;
  }

  /* Core titles styling */
  .display-5 {
    font-size: 1.7rem !important;
  }

  /* CTA Main Title Fix - Isse text container se bahar ya oversized nahi dikhega */
  .cta-title {
    font-size: 1.25rem !important; /* Perfect phone size */
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
  }

  /* CTA Small Subtitle Top (NEED EXPERT ASSISTANCE?) */
  .cta-subtitle {
    font-size: 0.75rem !important; /* Chota aur sophisticated tag text */
    letter-spacing: 0.05em !important;
  }

  /* Box padding squeeze control for mobile */
  .cta-card {
    padding: 2.5rem 1.25rem !important;
  }
}

/* --- Desktop Default Styles --- */
.cta-heading {
  font-size: 2.5rem; /* Desktop standard display-5 equivalence */
  line-height: 1.25;
}

.cta-tagline {
  font-size: 1rem;
  letter-spacing: 0.05em;
}

/* --- Mobile / Tablet Override Setup --- */
@media (max-width: 767.98px) {
  .cta-heading {
    font-size: 1.35rem !important; /* Mobile sharp size */
    line-height: 1.4 !important;
  }
  
  .cta-tagline {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
  }
  
  .cta-card {
    padding: 2rem 1.25rem !important; /* Compact spacing */
  }
}

/* Desktop screen par font ko bada karne ke liye override matrix */
@media (min-width: 992px) {
  .cta-heading-fixed {
    font-size: 2.25rem !important; /* Large monitors par crisp premium bada dikhega */
    line-height: 1.3 !important;
  }
  .cta-tagline {
    font-size: 0.95rem !important;
  }
}

/* Mobile responsive tight container safety */
@media (max-width: 767.98px) {
  .cta-heading-fixed {
    font-size: 1.1rem !important; /* Mobile frame par clean line wrap dega */
  }
  /* Buttons thode responsive aur neat dikhein */
  .cta-card .btn {
    font-size: 0.9rem !important;
    padding: 0.6rem 1.2rem !important;
    width: 100%; /* Mobile par fully block look block buttons ban jayenge jo clean lagenge */
    max-width: 280px;
  }
}


/* Main outer viewport container */
.logo-ticker-container {
  overflow: hidden;
  padding: 25px 0; 
  background: transparent;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

/* Edge fading effect (Left & Right soft transparency layers) */
.logo-ticker-container::before,
.logo-ticker-container::after {
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  content: "";
  z-index: 2;
  pointer-events: none;
}
.logo-ticker-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}
.logo-ticker-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

/* The horizontal moving track */
.logo-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 60px; 
  animation: scrollTicker 25s linear infinite;
  width: max-content;
}


.logo-ticker-container:hover .logo-ticker-track {
  animation-play-state: paused;
}

.logo-ticker-track .partner-logo-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: transform 0.3s ease;
}

.logo-ticker-track .partner-img {
  max-height: 48px; 
  width: auto;
  object-fit: contain;
  filter: none !important;  /* Grayscale completely removed */
  opacity: 1 !important;    /* Full brightness hamesha */
  transition: transform 0.3s ease-in-out;
}

.logo-ticker-track .partner-logo-box:hover {
  transform: scale(1.08);
}


@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 30px)); /* Fixed gap calibration offset */
  }
}

@media (max-width: 767.98px) {
  .logo-ticker-track {
    gap: 35px; /* Mobile screen gap */
    animation: scrollTicker 18s linear infinite;
  }
  
  .logo-ticker-track .partner-img {
    max-height: 36px; 
  }
  
  @keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 17.5px)); }
  }
}