/* Center-align and pad Terms & Privacy content cards */
/* Targets the white card containers that use an inline max-width:1000px style */
.container[style*="max-width:1000px"] {
  margin-left: auto !important;
  margin-right: auto !important;
  /* Keep the card visually centered within the gray section */
  box-sizing: border-box;
}

/* Responsive padding refinements for the Terms/Privacy cards */
@media (max-width: 900px) {
  .container[style*="max-width:1000px"] {
    padding: 1.5rem 1.25rem !important;
  }
}

@media (max-width: 600px) {
  .container[style*="max-width:1000px"] {
    padding: 1.25rem 1rem !important;
  }
}

@media (max-width: 480px) {
  .container[style*="max-width:1000px"] {
    padding: 1rem 0.85rem !important;
  }
}
/* Datasmith AI - Modern, Minimalistic Design System */

:root {
  --brand-light: #fe6902;
  --brand-dark: #be4932;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --dark-bg: #0a0a0a;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 50px rgba(254, 105, 2, 0.15);
  /* Toast theming */
  --toast-bg: rgba(17,24,39,0.95);
  --toast-success-start: #fe6902;
  --toast-success-end: #be4932;
  --toast-error-start: #e74c3c;
  --toast-error-end: #c0392b;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}
h2 { 
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}
h3 { 
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}
h4 { 
  font-size: 1.25rem;
  font-weight: 600;
}

p { margin-bottom: 1rem; }

/* Container */
.container {
  max-width: 100%;
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 900px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
@media (max-width: 480px) {
  .container {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}

/* Header */
header {
  width: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(190,73,50,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 84px;
}

.header-content {
  display: flex;
  width: 100%;
  min-height: 84px;
  padding: 0 .5rem;
   justify-content: space-between;
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 64px;
  justify-content: flex-start;
  padding-left: 2.5rem;
}

nav#mainNav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 64px;
  justify-content: flex-start;
  padding-left: 2.5rem;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

nav#mainNav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

nav#mainNav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

nav#mainNav li {
  display: block;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--brand-light);
}

nav a.active {
  color: var(--brand-light);
  font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-700);
}

/* Hero Section - Unified for all pages */
.hero,
.blog-hero {
  padding: 8rem 0 6rem;
  min-height: 420px;
  text-align: center;
  background: 
    radial-gradient(circle at 20% 50%, rgba(254, 105, 2, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(190, 73, 50, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before,
.blog-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(254, 105, 2, 0.03) 2px,
    rgba(254, 105, 2, 0.03) 6px
  );
  animation: grid-move 20s linear infinite;
  pointer-events: none;
}

@keyframes grid-move {
  0% { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  position: relative;
  z-index: 1;
}

.hero .highlight {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
}

.hero .highlight::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand-dark));
  border-radius: 2px;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--gray-600);
  max-width: 750px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary,
.btn-secondary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(254,105,2,0.3);
  transition: background 0.2s, color 0.2s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover,
.btn-secondary:hover {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
  color: var(--white);
  filter: brightness(1.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(254, 105, 2, 0.4);
}

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

/* Fix button text visibility on hover for .btn-primary */
.btn-primary:hover span {
  color: var(--white) !important;
  background: none !important;
  -webkit-text-fill-color: var(--white) !important;
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--brand-light);
  color: var(--brand-light);
  background: rgba(254, 105, 2, 0.05);
  transform: translateY(-2px);
}

/* Section */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--gray-600);
  font-size: 1.1rem;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(254, 105, 2, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* Animated pods background used on AI PODS hero */
.hero--pods { position: relative; overflow: hidden; }
.pods-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.pods-svg { width: 120%; height: 120%; transform: translate(-10%, -10%); }
.hero--pods .container { position: relative; z-index: 1; }

.nodes .node { transform-origin: center; animation: pod-pulse 3.6s ease-in-out infinite; filter: drop-shadow(0 4px 12px rgba(190,73,50,0.15)); }
.nodes .n1 { animation-duration: 3.2s; animation-delay: 0s; }
.nodes .n2 { animation-duration: 4.1s; animation-delay: 0.2s; }
.nodes .n3 { animation-duration: 2.8s; animation-delay: 0.35s; }
.nodes .n4 { animation-duration: 3.9s; animation-delay: 0.55s; }
.nodes .n5 { animation-duration: 3.4s; animation-delay: 0.75s; }
.nodes .n6 { animation-duration: 4.3s; animation-delay: 1s; }
.nodes .n7 { animation-duration: 3.0s; animation-delay: 1.25s; }
.nodes .n8 { animation-duration: 3.7s; animation-delay: 1.5s; }
.nodes .n9 { animation-duration: 4.5s; animation-delay: 1.75s; }
.nodes .n10 { animation-duration: 3.3s; animation-delay: 2s; }
.nodes .n11 { animation-duration: 2.9s; animation-delay: 2.25s; }
.nodes .n12 { animation-duration: 4.0s; animation-delay: 2.5s; }
.nodes .n13 { animation-duration: 3.5s; animation-delay: 2.75s; }
.nodes .n14 { animation-duration: 4.2s; animation-delay: 3s; }
.nodes .n15 { animation-duration: 3.1s; animation-delay: 0.4s; }
.nodes .n16 { animation-duration: 3.8s; animation-delay: 0.65s; }
.nodes .n17 { animation-duration: 2.7s; animation-delay: 0.9s; }
.nodes .n18 { animation-duration: 4.4s; animation-delay: 1.15s; }

@keyframes pod-pulse {
  0% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 0.95; }
}

.links .link { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 6s linear infinite; }
.links .l1 { animation-duration: 5.5s; animation-delay: 0s; }
.links .l2 { animation-duration: 7.2s; animation-delay: 1.2s; }
.links .l3 { animation-duration: 6.8s; animation-delay: 2.4s; }
.links .l4 { animation-duration: 5.9s; animation-delay: 3.6s; }
.links .l5 { animation-duration: 8.0s; animation-delay: 4.8s; }
.links .l6 { animation-duration: 6.3s; animation-delay: 0.75s; }
.links .l7 { animation-duration: 7.5s; animation-delay: 1.95s; }
.links .l8 { animation-duration: 6.1s; animation-delay: 3.15s; }

@keyframes draw {
  0% { stroke-dashoffset: 200; opacity: 1; }
  30% { stroke-dashoffset: 0; opacity: 0.9; }
  70% { stroke-dashoffset: -200; opacity: 0.8; }
  100% { stroke-dashoffset: -200; opacity: 1; }
}

/* Responsive adjustments for pods svg */
@media (max-width: 900px) {
  .pods-svg { transform: translate(-20%, -6%) scale(1.05); }
  .hero { padding: 6rem 0 3rem; }
}


.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand-dark));
  padding-left: 1rem !important;
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow), 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(254, 105, 2, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.product-card h3 {
  color: var(--gray-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
}

.product-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: var(--white);
  font-size: 0.7rem;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(254, 105, 2, 0.3);
}

.product-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.feature-item {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--brand-light);
}

.feature-item h4 {
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--gray-600);
  margin: 0;
  font-size: 0.95rem;
}

/* Stages Grid */
.stages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
}

.stage-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
  flex: 1 1 300px;
  max-width: 400px;  
}

.stage-card-pdng {
  margin-bottom: 2rem;
}

.stage-number {
  position: absolute;
  top: -12px;
  left: 1rem;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.stage-card h4 {
  color: var(--gray-900);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.stage-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin: 0;
}

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

.audience-card {
  background: var(--gray-50);
  border-radius: 8px;
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
}

.audience-card h4 {
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.audience-card p {
  color: var(--gray-600);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  margin-top: 4rem;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-section .btn-secondary {
  background: var(--white);
  color: var(--brand-dark);
  border: none;
}

.cta-section .btn-secondary:hover {
  background: var(--gray-50);
}

/* Footer */
footer {
  background: var(--gray-100);
  padding: 2.5rem 0 1.5rem;
  color: var(--gray-700);
  font-size: 1rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-content p {
  margin: 0;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  border: 1px solid var(--gray-200);
}

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

.blog-card .blog-image {
  height: 80px !important;
  min-height: 80px;
  max-height: 80px;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 4px 16px rgba(254,105,2,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-card .blog-image-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-dark);
  background: rgba(255,255,255,0.7);
  padding: 2px 8px;
  border-radius: 6px;
  margin: 0 auto;
  z-index: 2;
}

.blog-card .blog-content {
  padding: 1.5rem;
}

.blog-card .blog-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.blog-card .blog-excerpt {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-card .btn-readmore {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.blog-card .btn-readmore:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
}

/* Customer Carousel */
.customer-cards-scroll {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.customer-cards-scroll::-webkit-scrollbar {
  display: none;
}

.logo-card {
  scroll-snap-align: start;
}

/* Align back button above micro-blogs grid container */
.back-btn {
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  margin-bottom: 1.2rem;
  text-align: center;
  max-width: 300px;
  width: fit-content;
}
@media (max-width: 700px) {
  .back-btn {
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Ensure back button is centered above micro-blogs grid */
.micro-blogs-grid {
  position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    display: none !important;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s;
  }

  nav.active {
    display: block !important;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s, visibility 0.2s;
  }

  nav ul {
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }

  nav a {
    display: block;
    padding: 1rem 0;
  }

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

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

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  .products-grid,
  .features-grid,
  .stages-grid,
  .audiences-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  section {
    padding: 2.5rem 0;
  }
}

/* --- Enhanced Responsive Design --- */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding: 0 1rem;
  }
  .header-content {
    padding: 0 1rem;
  }
  .products-grid,
  .features-grid,
  .stages-grid,
  .audiences-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .blog-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding: 0 0.5rem;
  }
  .header-content {
    padding: 0 0.5rem;
  }
  .logo img {
    height: 44px;
  }
  .products-grid,
  .features-grid,
  .stages-grid,
  .audiences-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .blog-card {
    margin-bottom: 1.5rem;
  }
}

/* Hamburger menu right alignment fix for mobile/tablet */
@media (max-width: 900px) {
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  .logo {
    flex: 0 0 auto;
    justify-content: flex-start;
    padding-left: 0.5rem;
  }
  .menu-toggle {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 101;
  }
}
@media (max-width: 600px) {
  .header-content {
    padding: 0 0.25rem;
    justify-content: space-between;
    position: relative;
  }
  .logo {
    padding-left: 0.25rem;
  }
  .menu-toggle {
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 101;
  }
}
@media (max-width: 480px) {
  .header-content {
    padding: 0 0.1rem;
    justify-content: space-between;
    position: relative;
  }
  .logo {
    padding-left: 0.1rem;
  }
  .menu-toggle {
    position: absolute;
    right: 0.1rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 101;
  }
}

/* Remove excess padding for logo and hamburger in header (mobile/tablet) */
@media (max-width: 900px) {
  .header-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .logo {
    padding-left: 0 !important;
  }
  .menu-toggle {
    right: 0 !important;
  }
}
@media (max-width: 600px) {
  .header-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .logo {
    padding-left: 0 !important;
  }
  .menu-toggle {
    right: 0 !important;
  }
}
@media (max-width: 480px) {
  .header-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .logo {
    padding-left: 0 !important;
  }
  .menu-toggle {
    right: 0 !important;
  }
}

/* Always show hamburger menu for mobile and tablet */
.menu-toggle {
  display: block !important;
}
nav#mainNav {
  display: none !important;
}
nav#mainNav.active {
  display: flex !important;
}
@media (min-width: 901px) {
  .menu-toggle {
    display: none !important;
  }
  nav#mainNav {
    display: none !important;
  }
  nav#mainNav.active {
    display: flex !important;
  }
}

/* Hamburger menu: full width, left-aligned menu items */
nav#mainNav.active {
  width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
  justify-content: flex-start;
}
nav#mainNav ul {
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.5rem 0;
}
nav#mainNav li {
  width: 100%;
  text-align: left;
}
nav#mainNav a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  position: relative;
  transition: all 0.3s ease;
}

/* Mobile menu hover effect - full width underline */
@media (max-width: 900px) {
  nav#mainNav ul{
    gap: 0;
  }

  nav#mainNav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-light), var(--brand-dark));
    transition: width 0.3s ease;
  }
  
  nav#mainNav a:hover::after,
  nav#mainNav a.active::after {
    width: 100%;
  }
  
  nav#mainNav a:hover {
    color: var(--brand-light);
  }
}

/* --- End Enhanced Responsive Design --- */

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* Header Flex Alignment Fix */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 84px;
  padding: 0 2.5rem;
}
.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 64px;
  justify-content: flex-start;
  padding-left: 2.5rem;
}
.menu-toggle {
  margin-left: auto;
  margin-right: 0;
}
@media (max-width: 900px) {
  .header-content {
    padding: 0 0.5rem;
    justify-content: space-between;
  }
  .logo {
    padding-left: 0.5rem;
  }
  .menu-toggle {
    margin-left: auto;
    margin-right: 0.5rem;
  }
}
@media (max-width: 600px) {
  .header-content {
    padding: 0 0.25rem;
    justify-content: space-between;
  }
  .logo {
    padding-left: 0.25rem;
  }
  .menu-toggle {
    margin-left: auto;
    margin-right: 0.25rem;
  }
}
@media (max-width: 480px) {
  .header-content {
    padding: 0 0.1rem;
    justify-content: space-between;
  }
  .logo {
    padding-left: 0.1rem;
  }
  .menu-toggle {
    margin-left: auto;
    margin-right: 0.1rem;
  }
}

/* Reduce space above 'Our Global Presence' in contact page container */
.contact-grid {
  margin-top: 0 !important;
}
.contact-info-side {
  margin-top: 0 !important;
}
.container > .contact-grid {
  margin-top: 0 !important;
}
@media (max-width: 968px) {
  .contact-grid {
    margin-top: 0 !important;
  }
}

/* Desktop: show menu items inline in header */
@media (min-width: 901px) {
  .main-nav-desktop {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-top: 0 !important;
    z-index: auto !important;
  }
  .main-nav-desktop ul {
    display: flex !important;
    flex-direction: row !important;
    width: auto !important;
    align-items: center !important;
    gap: 2rem !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .main-nav-desktop li {
    width: auto !important;
    text-align: left !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .main-nav-desktop a:not(.btn) {
    padding: 0.5rem 0.75rem !important;
    text-align: left !important;
    border-bottom: none !important;
    box-sizing: border-box !important;
    background: none !important;
    color: var(--gray-700) !important;
    font-weight: 500 !important;
    display: block !important;
    width: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* Always show menu items in header for desktop */
@media (min-width: 901px) {
  nav#mainNav {
    display: flex !important;
  }
  nav#mainNav ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }
  nav#mainNav li {
    width: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  nav#mainNav a {
    display: block !important;
    padding: 0.5rem 0.75rem !important;
    color: var(--gray-700) !important;
    background: none !important;
    border-bottom: none !important;
    font-weight: 500 !important;
    text-align: left !important;
    width: auto !important;
  }
}

/* Highlight active menu item in desktop mode */
@media (min-width: 901px) {
  nav#mainNav a.active {
    color: var(--brand-light) !important;
    font-weight: 600 !important;
    border-bottom: 2px solid var(--brand-light) !important;
    background: rgba(254, 105, 2, 0.07) !important;
    border-radius: 4px 4px 0 0;
  }
}

/* Reduce spacing between header menu items to 2px in desktop mode */
@media (min-width: 901px) {
  nav#mainNav ul {
    gap: 8px !important;
  }
  nav#mainNav li:not(:last-child)::after {
    content: none;
    display: none;
  }
}

/* Toast notifications (moved from scripts.js) */
#tg-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none; /* allow clicks to pass except on toasts themselves */
}

.tg-toast {
  pointer-events: auto;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  opacity: 0;
  transform: translateY(-8px);
  transition: all 240ms ease;
  max-width: 360px;
  line-height: 1.3;
  font-weight: 500;
}

.tg-toast--success { background: linear-gradient(90deg, var(--toast-success-start), var(--toast-success-end)); }
.tg-toast--error { background: linear-gradient(90deg, var(--toast-error-start), var(--toast-error-end)); }
.tg-toast--info { background: var(--toast-bg); }

/* Visible state (use JS to toggle .is-visible) */
.tg-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Visually-hidden helper */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Ripple keyframes used by buttons */
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* AI PODS enhanced card hover effects */
#future-of-work div[style*="background:#fff"] {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#future-of-work div[style*="background:#fff"]:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(190,73,50,0.15);
  border-color: var(--brand-light);
}

#enterprise div[style*="background:rgba(255,255,255,0.05)"]:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-color: rgba(254,105,2,0.4);
}

#why-datasmith div[style*="background:#fff"]:hover {
  box-shadow: 0 24px 72px rgba(190,73,50,0.18);
}
