:root {
  --primary: #0f172a;
  /* Deep Slate / Charcoal */
  --primary-accent: #0ea5e9;
  /* Sky Blue / Cyan from left of Logo */
  --brand-purple: #7c3aed;
  /* Vibrant Purple from right of Logo */
  --secondary: #475569;
  /* Slate Grey for text */
  --bg: #f1f5f9;
  /* Light Slate for better contrast */
  --card: #ffffff;
  /* Pure White Cards */
  --text: #334155;
  /* Slate-700 Text */
  --text-muted: #64748b;
  /* Slate-500 Text */
  --border: rgba(15, 23, 42, 0.11);
  /* Architectural Ultra-thin Borders (boosted contrast) */
  --accent-gradient: linear-gradient(135deg, #0ea5e9, #7c3aed);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

button,
select,
input[type="button"],
input[type="submit"] {
  cursor: pointer;
}

/* 📐 Architectural Blueprint Layout Grid Pattern */
.bg {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: -1;
  pointer-events: none;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.04), transparent 60%);
  pointer-events: none;
}

/* Layout structural thin lines across the pages representing architect sketches */
.container {
  width: min(1300px, 95%);
  margin: auto;
  position: relative;
}

section {
  padding: 80px 0;
  /* Reduced breathing space */
  border-bottom: 1px dashed rgba(15, 23, 42, 0.05);
  /* Architectural layout lines */
  position: relative;
}

/* Navigation bar */
nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  z-index: 999;
  transition: all 0.3s;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo img {
  height: 44px;
  width: auto;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  transition: color 0.25s ease;
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--brand-purple);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active {
  font-weight: 700;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: .3s;
  border-radius: 3px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 250px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(15px);
  /* keep the 15px gap but visible, actually wait, better to just be 100% + some gap? */
}

/* Adjusting hover state */
.nav-dropdown:hover .nav-dropdown-content {
  transform: translateY(8px);
}

.nav-dropdown-content::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

.nav-dropdown-content a {
  padding: 12px 24px !important;
  font-size: 0.95rem !important;
  color: var(--secondary) !important;
  font-weight: 500 !important;
  transition: all 0.2s ease;
}

.nav-dropdown-content a::after {
  display: none !important;
}

.nav-dropdown-content a:hover,
.nav-dropdown-content a.active {
  background: rgba(14, 165, 233, 0.05);
  color: var(--primary-accent) !important;
  padding-left: 28px !important;
}

/* Buttons and CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  /* sharp, premium blueprint alignment */
  font-weight: 600;
  text-decoration: none;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  font-size: .95rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0284c7, #6d28d9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.highlight-pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.6);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(124, 58, 237, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
  }
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.02);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  color: var(--primary-accent);
  font-weight: 700;
  letter-spacing: .15em;
  font-size: .8rem;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient {
  background: linear-gradient(135deg, var(--primary-accent), #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.8;
  color: var(--secondary);
  margin-bottom: 40px;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-container {
  position: relative;
  padding: 10px;
}

.hero-main-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.05);
  display: block;
  transform: scale(1.08);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-main-img:hover {
  transform: translateY(-6px) scale(1.12);
}

.browser-header {
  height: 40px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
  position: relative;
}

.browser-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-header .dot:nth-child(1) {
  background: #f87171;
}

.browser-header .dot:nth-child(2) {
  background: #fbbf24;
}

.browser-header .dot:nth-child(3) {
  background: #34d399;
}

.browser-header .browser-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: #fff;
  padding: 3px 20px;
  border-radius: 4px;
  border: 1px solid rgba(15, 23, 42, 0.04);
  font-family: monospace;
}

.browser-content img {
  width: 100%;
  display: block;
  height: auto;
}

/* Sections and Titles */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-heading p {
  max-width: 680px;
  margin: auto;
  color: var(--secondary);
  line-height: 1.8;
  font-size: clamp(.95rem, 2vw, 1.05rem);
}

/* Grids and Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Center cards for 5-item grid */
#industries .grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#industries .grid .card {
  flex: 1 1 320px;
  max-width: 380px;
}

.card {
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 12px;
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), inset 0 0 0 1px rgba(15, 23, 42, 0.02);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-accent);
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 12px 0 0 12px;
}

.card:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(124, 92, 237, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.card:hover::before {
  height: 100%;
}

.card h3 {
  margin: 18px 0 12px;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--primary);
  font-weight: 700;
}

.card p {
  color: var(--secondary);
  line-height: 1.7;
  font-size: .95rem;
}

.icon {
  font-size: 2.2rem;
  display: inline-block;
  transition: transform 0.3s;
}

.card:hover .icon {
  transform: scale(1.1);
}

/* About Layout */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about-card {
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  height: 100%;
}

.about-card h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
}

.about-card p,
.about-card li {
  color: var(--secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.about-card ul {
  padding-left: 20px;
}

.about-card li {
  margin-bottom: 12px;
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-top: 3px solid rgba(124, 58, 237, 0.18);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(124, 92, 237, 0.3);
  border-top-color: var(--brand-purple);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.08);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--primary-accent);
  margin-bottom: 8px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  color: var(--secondary);
  font-size: .95rem;
  font-weight: 500;
}

/* Process Timeline (Architect-Line style) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.process-card {
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px 32px 32px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.process-card:hover {
  border-color: var(--primary-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.process-number {
  position: absolute;
  top: -20px;
  left: 32px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  transition: all 0.3s;
}

.process-card:hover .process-number {
  background: var(--primary-accent);
  transform: scale(1.05);
}

.process-card h3 {
  margin: 12px 0 10px;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
}

.process-card p {
  color: var(--secondary);
  line-height: 1.7;
  font-size: .92rem;
}

/* Product Box */
.product-box {
  margin-top: 50px;
  padding: 60px 48px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.03);
}

.product-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  margin-bottom: 20px;
  line-height: 1.25;
  color: var(--primary);
  font-weight: 800;
}

.product-box>p {
  color: var(--secondary);
  line-height: 1.8;
  max-width: 100%;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.feature {
  padding: 16px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

.feature:hover {
  border-color: var(--primary-accent);
  background: #fff;
  transform: translateY(-2px);
}

/* FAQ accordion styling */
.faq-container {
  max-width: 850px;
  margin: 50px auto 0;
}

.faq-item {
  background: transparent;
  border: none;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: none;
}

.faq-item.open {
  border-color: transparent;
  box-shadow: none;
}

.faq-question {
  padding: 16px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  gap: 20px;
  color: #000000;
  background: transparent;
  transition: all 0.3s;
}

.faq-item.open .faq-question {
  background: transparent;
  color: #000000;
}

.faq-question:hover {
  background: transparent;
  color: var(--primary-accent);
}

.faq-toggle {
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  color: #000000;
  width: 32px;
  height: 32px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.faq-item.open .faq-toggle {
  background: transparent;
  color: #000000;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.faq-item.open .faq-answer {
  max-height: 800px;
}

.faq-answer-content {
  padding: 0 0 24px;
  color: #000000;
  line-height: 1.8;
  font-size: .98rem;
}

/* Tech Grid styling */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 50px;
}

.tech {
  padding: 14px 24px;
  border-radius: 30px;
  background: var(--card);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: .95rem;
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.01);
  transition: all 0.3s;
}

.tech:hover {
  border-color: var(--primary-accent);
  background: var(--bg);
  transform: translateY(-2px);
}

/* Refined Architecture Commitment block */
.commitment {
  padding: 80px 50px;
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.015), rgba(15, 23, 42, 0.015));
  border-radius: 16px;
  border: 1px solid var(--border);
}

.commitment h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 20px;
  line-height: 1.25;
  color: var(--primary);
  font-weight: 800;
}

.commitment p {
  max-width: 850px;
  margin: auto;
  color: var(--secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Contact Area */
.contact {
  margin-top: 50px;
  padding: 60px 48px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.03);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.contact-item {
  padding: 30px 24px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-item:hover {
  border-color: var(--primary-accent);
  background: #fff;
  transform: translateY(-2px);
}

.contact-item h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
}

.contact-item p,
.contact-item a {
  color: var(--secondary);
  text-decoration: none;
  line-height: 1.7;
  font-size: .98rem;
  word-break: break-word;
}

.contact-item a:hover {
  color: var(--primary-accent);
}

/* Dynamic Floating WhatsApp elements */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  z-index: 998;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, .3);
  }

  50% {
    box-shadow: 0 6px 28px rgba(37, 211, 102, .6);
  }
}

/* Premium Footer ground rules (grounded with Deep slate background) */
footer {
  padding: 90px 0 30px;
  background: var(--primary);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.9fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-section h3 {
  margin-bottom: 24px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff !important;
}

.footer-section p,
.footer-section a {
  color: #94a3b8 !important;
  line-height: 1.8;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  transition: all 0.3s;
  font-size: .95rem;
}

.footer-section a:hover {
  color: #fff !important;
  transform: translateX(3px);
}

.footer-contact-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
}

.footer-contact-address {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-address .footer-contact-icon {
  margin-top: 5px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: all 0.3s;
  margin-bottom: 0;
}

.footer-social a:hover {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: #94a3b8;
  transition: fill 0.3s;
}

.footer-social a:hover svg {
  fill: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #64748b !important;
  font-size: .9rem;
}

/* 🌀 Intersection Observer scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.reveal-scale {
  transform: scale(0.96);
}

.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger transition delay list */
.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 160ms;
}

.delay-3 {
  transition-delay: 240ms;
}

.delay-4 {
  transition-delay: 320ms;
}

.delay-5 {
  transition-delay: 400ms;
}

.delay-6 {
  transition-delay: 480ms;
}

/* Responsive styles */
@media(min-width:1024px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
}

@media(max-width:1023px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 60px 0 40px;
    text-align: center;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-container {
    max-width: 650px;
    margin: auto;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

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

  section {
    padding: 50px 0;
  }

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

  .nav-inner>div:last-child {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 251, 252, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-inner>div:last-child.active {
    max-height: 500px;
  }

  .nav-links {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    align-items: stretch;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 6px;
  }

  .nav-links a:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary-accent);
  }

  .nav-dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 16px;
    border: none;
    border-left: 2px solid var(--border);
    margin-top: 8px;
    display: none;
  }

  .nav-dropdown.active .nav-dropdown-content,
  .nav-dropdown:hover .nav-dropdown-content {
    display: flex;
  }

  .nav-dropdown-content a {
    padding: 10px 16px !important;
  }

  .social-links {
    margin-left: 0;
    padding: 0 24px 24px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    justify-content: center;
  }

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

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

@media(max-width:480px) {
  .logo img {
    height: 38px;
  }

  h1 {
    font-size: 2.1rem;
  }

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

  .card,
  .about-card,
  .process-card {
    padding: 28px 24px;
  }

  .product-box,
  .contact,
  .commitment {
    padding: 40px 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding: 20px 24px;
  }

  .faq-answer-content {
    padding: 0 24px 20px;
  }
}

/* 🌟 Glowing Brand Highlights for Crucial Data Points */
.highlight {
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.1) 0%, rgba(124, 92, 237, 0.1) 100%);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid rgba(124, 92, 237, 0.2);
  display: inline-block;
  line-height: 1.2;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: rgba(14, 165, 233, 0.3);
}

.portfolio-image {
  height: 200px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  color: #94a3b8;
}

.portfolio-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.portfolio-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.portfolio-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 8px;
}

/* Testimonials Section */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
  font-size: 0.92rem !important;
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px !important;
  line-height: 1.6 !important;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 3rem;
  color: rgba(14, 165, 233, 0.15);
  position: absolute;
  top: -15px;
  left: -8px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px !important;
}

.author-avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #64748b;
  font-size: 1rem !important;
}

.author-info h4 {
  font-size: 0.92rem !important;
  color: var(--primary);
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.8rem !important;
  color: var(--text-muted);
  margin: 0;
}


/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  z-index: 1;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  z-index: 1;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media(max-width: 768px) {
  .cta-banner {
    padding: 40px 20px;
  }

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

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form .full-width {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  background: #f8fafc;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
  background: #ffffff;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--card);
  width: 90%;
  max-width: 500px;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--secondary);
  transition: color 0.3s;
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary);
}

.success-message {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.success-message svg {
  width: 64px;
  height: 64px;
  stroke: #10b981;
  margin-bottom: 20px;
}

.success-message h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.success-message p {
  color: var(--secondary);
}



/* ==== TIMELINE CSS ==== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--primary-accent);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--card);
  border: 4px solid var(--primary-accent);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.right::after {
  left: -8px;
}

.timeline-content {
  padding: 20px 30px;
  background: var(--card);
  position: relative;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* ==== TEAM GRID ==== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  background: var(--card);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #e2e8f0;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #94a3b8;
  overflow: hidden;
}

/* ==== INDUSTRIES GRID ==== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.industry-card {
  background: var(--card);
  padding: 30px;
  border-radius: 16px;
  border-left: 4px solid var(--brand-purple);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

@media screen and (max-width: 768px) {
  .timeline-container::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item.right {
    left: 0%;
  }

  .timeline-item::after {
    left: 23px;
  }

  .timeline-item.right::after {
    left: 23px;
  }
}

/* ==== SPLIT HEADER GRID ==== */
.split-header-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
}

@media screen and (max-width: 900px) {
  .split-header-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .split-header-grid .reveal-left,
  .split-header-grid .reveal-right {
    text-align: center !important;
    margin-top: 20px;
  }

  .split-header-grid img {
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════
   ✨ ANIMATION IMPROVEMENTS - Site Polish v2
═══════════════════════════════════════════════ */

/* 1. Hero Image - Subtle floating bob animation */
@keyframes heroFloat {

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

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

.hero-image-container {
  animation: heroFloat 5.5s ease-in-out infinite;
}

/* Pause float on hover so scale effect feels intentional */
.hero-image-container:hover {
  animation-play-state: paused;
}

/* 2. Tech Badges on Service Pages - Hover lift + glow */
.split-header-grid span {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.split-header-grid span:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.18);
}

/* 3. Testimonial Cards - Hover lift + deeper shadow */
.testimonial-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s;
}

.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1) !important;
  border-color: rgba(14, 165, 233, 0.25) !important;
}

/* 4. Industry Cards - Hover lift + border thicken */
.industry-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s,
    border-left-width 0.3s,
    padding-left 0.3s;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border-left-width: 6px;
  padding-left: 28px;
}

/* 5. Portfolio Card - Icon scale + rotate on card hover */
.portfolio-card .portfolio-image svg,
.portfolio-card .portfolio-image img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-image svg {
  transform: scale(1.18) rotate(6deg);
}

/* 6. Process Number Badge - Pop-in when card scrolls into view */
@keyframes processNumPop {
  0% {
    transform: scale(0.4) translateY(-8px);
    opacity: 0;
  }

  70% {
    transform: scale(1.12) translateY(0);
    opacity: 1;
  }

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

.process-card .process-number {
  opacity: 0;
  transition: background 0.3s;
}

.reveal.active .process-number {
  animation: processNumPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

/* 7. Stat Numbers - Styled for count-up visibility */
.stat-number {
  transition: color 0.3s;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.stat-card:hover .stat-number {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Smooth number transition on count-up */
@keyframes statFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.stat-card.counting .stat-number {
  animation: statFadeIn 0.4s ease forwards;
}

/* Custom 2-column team section layout */
.team-layout {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.team-layout .section-heading {
  text-align: left;
  margin-bottom: 24px;
}

.team-layout .section-heading p {
  margin: 0;
}

.team-image-wrapper {
  text-align: center;
}

@media screen and (max-width: 991px) {
  .team-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-layout .section-heading {
    text-align: center;
  }

  .team-layout .section-heading p {
    margin: auto;
  }
}

/* Featured Case Study - 2 Column Layout */
.featured-case-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.featured-case-image-wrapper {
  background: #0f172a;
  position: relative;
  height: 100%;
}

.featured-case-image-wrapper img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: block;
  object-fit: cover;
  object-position: top;
  opacity: 0.9;
}

.featured-case-content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (max-width: 991px) {
  .featured-case-container {
    grid-template-columns: 1fr;
  }

  .featured-case-image-wrapper img {
    height: 300px;
    min-height: auto;
  }

  .featured-case-content {
    padding: 30px;
  }
}