/* ===== Data Services Page — Modern Enhancements ===== */

.ds-page {
  --ds-primary: #e63946;
  --ds-accent: #0ea5e9;
  --ds-accent-dark: #0284c7;
  --ds-gradient: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #e63946 100%);
  --ds-shadow: 0 20px 60px rgba(14, 165, 233, 0.12);
}

/* Hero */
/* .ds-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;

} */



.ds-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(14, 165, 233, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(230, 57, 70, 0.06) 0%, transparent 50%);
  z-index: 0;
}

.ds-hero-orb {
  position: absolute;
  border-radius: 8px;
  filter: blur(60px);
  animation: dsOrbFloat 8s ease-in-out infinite;
  pointer-events: none;
}

.ds-hero-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(14, 165, 233, 0.2);
  top: -100px;
  right: 10%;
}

.ds-hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(99, 102, 241, 0.15);
  bottom: 10%;
  left: 5%;
  animation-delay: -3s;
}

.ds-hero-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(230, 57, 70, 0.15);
  top: 40%;
  left: 40%;
  animation-delay: -5s;
}

@keyframes dsOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.ds-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  z-index: 0;
}

.ds-hero .container { position: relative; z-index: 2; }

.ds-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  background: #ff6b3548;
  border: 1px solid rgba(230, 57, 70, 0.25);
  color: var(--ds-accent-dark);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: dsPulse 2s ease-in-out infinite;
}

.ds-hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--ds-accent);
  border-radius: 8px;
  animation: dsBlink 1.5s ease-in-out infinite;
}

@keyframes dsPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(14, 165, 233, 0); }
}

@keyframes dsBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ds-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ds-hero-visual { position: relative; }

.ds-hero-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--ds-shadow);
  animation: dsHeroFloat 6s ease-in-out infinite;
}

.ds-hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.ds-hero-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.ds-hero-img-wrap:hover img { transform: scale(1.04); }

@keyframes dsHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.ds-hero-float-card {
  position: absolute;
  background: white;
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: dsCardBob 4s ease-in-out infinite;
}

.ds-hero-float-card.card-1 { top: 10%; left: -30px; }
.ds-hero-float-card.card-2 { bottom: 15%; right: -20px; animation-delay: -2s; }

@keyframes dsCardBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ds-hero-float-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--ds-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ds-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.ds-hero-stat h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ds-accent-dark);
  margin: 0;
}

.ds-hero-stat p { margin: 0; font-size: 14px; opacity: 0.7; }

.ds-btn-glow {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ds-btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.35);
}

/* Marquee */
.ds-marquee-section {
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.ds-marquee-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.5;
  margin-bottom: 24px;
}

.ds-marquee-track {
  display: flex;
  width: max-content;
  animation: dsMarquee 30s linear infinite;
}

.ds-marquee-track:hover { animation-play-state: paused; }

.ds-marquee-inner {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 0 25px;
}

.ds-marquee-inner .tech-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.ds-marquee-inner .tech-badge:hover {
  opacity: 1;
  border-color: #FF6B35;
  transform: scale(1.05);
}

.ds-marquee-inner .tech-badge i {
  color: var(--ds-accent);
  font-size: 18px;
}

@keyframes dsMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section label */
.ds-section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ds-accent-dark);
  margin-bottom: 12px;
}

.ds-section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--ds-gradient);
  vertical-align: middle;
  margin-right: 10px;
}

/* Service cards */
.ds-service-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  height: 100%;
}

.ds-service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ds-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.ds-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(14, 165, 233, 0.15) !important;
}

.ds-service-card:hover::after { transform: scaleX(1); }

.ds-service-card .icon-box {
  transition: transform 0.4s ease, background 0.4s ease;
}

.ds-service-card:hover .icon-box {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(14, 165, 233, 0.15) !important;
}

/* Process */
.ds-process-step {
  padding: 32px;
  border-radius: 8px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  height: 100%;
}

.ds-process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.2);
}

.ds-process-num {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--ds-gradient);
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ds-process-step img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Feature cards */
.ds-feature-card {
  border-radius: 8px;
  padding: 28px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  height: 100%;
}

.ds-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.2);
}

.ds-feature-card .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

/* Bento */
.ds-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.ds-bento-item {
  border-radius: 8px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ds-bento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.1);
}

.ds-bento-item.span-7 { grid-column: span 7; }
.ds-bento-item.span-5 { grid-column: span 5; }
.ds-bento-item.span-4 { grid-column: span 4; }
.ds-bento-item.span-8 { grid-column: span 8; }

.ds-bento-item.featured {
  background: linear-gradient(135deg, #0c4a6e 0%, #1e3a5f 100%);
  color: white;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.ds-bento-item.featured .bento-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
}

.ds-bento-item.featured .ds-bento-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.ds-bento-content { padding: 28px; }

/* Tools section */
.ds-tools-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--ds-shadow);
  position: relative;
}

.ds-tools-img-wrap img {
  width: 100%;
  border-radius: 8px;
}

.ds-tool-feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: 8px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  transition: all 0.35s ease;
}

.ds-tool-feature:hover {
  transform: translateX(8px);
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.1);
}

.ds-tool-feature .tool-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--ds-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

/* Counter */
.ds-counter-section {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 50%, #6366f1 100%);
}

.ds-counter-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  top: -100px;
  right: -50px;
  animation: dsOrbFloat 10s ease-in-out infinite;
}

.ds-counter-item h3 {
  font-size: 3rem;
  font-weight: 800;
  color: white;
}

.ds-counter-item p {
  color: rgba(255, 255, 255, 0.85);
}

/* Case studies */
.ds-case-card {
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  height: 100%;
}

.ds-case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(14, 165, 233, 0.15);
}

.ds-case-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.ds-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ds-case-card:hover .ds-case-img img { transform: scale(1.08); }

.ds-case-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--ds-accent);
  color: white;
  padding: 4px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

/* Tech stack */
.ds-tech-card {
  border-radius: 8px;
  padding: 28px 20px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  height: 100%;
  text-align: center;
  box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 10px 30px rgba(0, 0, 0, 0.10),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.ds-tech-card:hover {
  transform: translateY(-6px) scale(1.02);
  /* border-color: rgba(14, 165, 233, 0.3); */
  /* box-shadow: 0 16px 40px rgba(14, 165, 233, 0.12); */
  border-color: #FF6B35;
}

.ds-tech-card i {
  font-size: 36px;
  color: var(--ds-accent);
  margin-bottom: 12px;
  display: block;
}

/* Testimonials */
.ds-testimonial-card {
  background: white;
  border-radius: 8px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
}

.ds-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 80px;
  line-height: 1;
  color: rgba(14, 165, 233, 0.1);
 font-family: "Poppins", sans-serif;
}

.ds-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.1);
}

.ds-testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 3px solid rgba(14, 165, 233, 0.2);
}

.ds-stars { color: #f4a261; font-size: 14px; letter-spacing: 2px; }

/* FAQ */
.ds-faq-item {
  border-radius: 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.ds-faq-item:not(.collapsed) {
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.2) !important;
}

.ds-faq-btn {
  font-weight: 700 !important;
  padding: 20px 24px !important;
  background: white !important;
  color: inherit !important;
  box-shadow: none !important;
}

.ds-faq-btn:not(.collapsed) {
  color: var(--ds-accent-dark) !important;
  background: rgba(14, 165, 233, 0.04) !important;
}

.ds-faq-body { padding: 0 24px 20px !important; }

/* CTA */
.ds-cta-section {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.ds-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 50%, #6366f1 100%);
  background-size: 200% 200%;
  animation: dsGradientShift 8s ease infinite;
}

@keyframes dsGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.ds-cta-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
}

.ds-cta-section .container { position: relative; z-index: 2; }

/* Dark mode */
[data-bs-theme=dark] .ds-service-card,
[data-bs-theme=dark] .ds-process-step,
[data-bs-theme=dark] .ds-bento-item,
[data-bs-theme=dark] .ds-feature-card,
[data-bs-theme=dark] .ds-testimonial-card,
[data-bs-theme=dark] .ds-tech-card,
[data-bs-theme=dark] .ds-case-card,
[data-bs-theme=dark] .ds-tool-feature {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme=dark] .ds-hero-float-card { background: rgba(30, 30, 40, 0.95); }
[data-bs-theme=dark] .ds-marquee-section { border-color: rgba(255, 255, 255, 0.08); }
[data-bs-theme=dark] .ds-faq-btn { background: rgba(255, 255, 255, 0.04) !important; }
[data-bs-theme=dark] .ds-marquee-inner .tech-badge {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
  .ds-hero { padding: 80px 0 60px; min-height: auto; }
  .ds-hero-float-card { display: none; }
  .ds-bento-item.span-7,
  .ds-bento-item.span-5,
  .ds-bento-item.span-4,
  .ds-bento-item.span-8 { grid-column: span 12; }
  .ds-hero-stats { gap: 20px; }
  .ds-cta-section { border-radius: 0; }
}

@media (max-width: 767px) {
  .ds-hero-img-wrap img { height: 280px; }
}






@media (max-width: 480px) {
  .big-data-prod {
    margin-bottom: 15px;
  }
  .data-integ {
    margin-top: 15px;
  }

  .ds-hero-stats {
    display: flex;
    flex-direction: column;  /* stacks vertically */
    align-items: center;     /* centers them */
    gap: 15px;              /* space between items */
  }
  .section-title{
    text-align: center;
  }
  .ds-content{
     text-align: center;
  }

}



@media (max-width: 768px) {
  .big-data-prod {
    margin-bottom: 15px;
  }
  .data-integ {
    margin-top: 15px;
  }

  .ds-hero-stats {
    display: flex;
    flex-direction: column;  /* stacks vertically */
    align-items: center;     /* centers them */
    gap: 15px;              /* space between items */
  }
  .section-title{
    text-align: center;
  }
  .ds-content{
     text-align: center;
  }

}