/* Hero container */
.Data-hero {
  position: relative;
  background: 
    /* linear-gradient(rgba(78, 231, 239, 0.6), rgba(245, 137, 101, 0.6)), */
    url('../img/services/DATA\ ANALYSIS.png') no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: flex-end;   /* 👈 push content to bottom */
  justify-content: flex-start; 
  text-align: left;
  color: white;
  overflow: hidden;
  padding: 40px 8%;        /* 👈 space inside */
}

/* Shadow text behind main heading */ 
.Data-shadow-text { font-size: 7rem; /* bigger than main headline */ 
  font-weight: 800; 
  color: rgba(255, 255, 255, 0.231); /* faded shadow effect */ 
  position: absolute; 
  top: 85px; /* move slightly upward */ 
  left: 50%; 
  transform: translateX(-50%); 
  z-index: 0; 
  white-space: nowrap; 
  pointer-events: none; 
  user-select: none; 
}

/* Main headline - bottom left */
.Data-main-heading {
  font-size: 3rem;  /* smaller size */
  font-weight: 660;
  color: #fdffff;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  animation: fadeUp 1.5s ease;
  margin-bottom: 70px;
}

/* Scroll down button - bottom center */
.Data-scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  animation: bounce 2s infinite;
}

/* Request For Call */
.Data-services-request-call {
  position: fixed;
  top: 40%;
  right: -52px;
  transform: rotate(-90deg);
  background: #009CA6;
  padding: 1px 13px;
  border-radius: 5px 5px 0 0;
  z-index: 1000;
}
 
.Data-services-request-call a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

/* Bounce animation */
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* Animations */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animations */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .Data-shadow-text { font-size: 4rem; }
  .Data-main-heading { font-size: 2.5rem; }
  .Data-hero-content p { font-size: 1rem; }
  .Data-section-heading { font-size: 2rem; }
  .Data-content .line { font-size: 1rem; }
}

/* Customers section */
.Data-business-automation{
  padding: 35px 20px;
  background: #ffffff;
  color: #444444;
  position: relative;
}

.Data-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}
 
.Data-content {
  flex: 1;
}
 
.Data-info {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 35px;
  padding: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}
 
.Data-info:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgb(35, 244, 230);
  background: #fff;
}

.Data-info:hover .text p {
  color: rgb(88, 86, 86);
}

.Data-section-heading {
  font-size: 3.5rem;
  font-weight: 900;
  color: #009CA6;
  text-align: left;
  margin-bottom: 10px;
  animation: zoomIn 1s ease forwards; /* Zoom animation */
}

.Data-line h3{
  columns: rgb(242, 109, 56);
}
.Data-line{
  text-align: justify;
  font-size: large;
}
 
.Data-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.Data-image img {
  width: 100%;
  max-width: 550px;
  height: 350px;
  border-radius: 0;
  box-shadow: 0 10px 25px rgba(6, 5, 5, 0.15);
  animation: continuousZoomOut 6s ease-in-out infinite; /* 👈 continuous animation */
  transition: box-shadow 0.3s ease;
}

/* Continuous Zoom-Out Keyframes */
@keyframes continuousZoomOut {
  0% {
    transform: scale(1.1); /* start slightly zoomed in */
  }
  50% {
    transform: scale(1); /* zoomed out */
  }
  100% {
    transform: scale(1.1); /* back to normal */
  }
}

/* Optional hover glow effect */
.Data-image img:hover {
  box-shadow: 0 12px 30px rgba(38, 219, 210, 0.744);
}
 
.core-offerings {
  padding: 100px 8%;
  position: relative;
  color: #fff;
  background: linear-gradient(rgba(252, 144, 108, 0.6),rgba(103, 238, 245, 0.6)),
              url("https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  background-attachment: fixed; /* parallax effect */
  overflow: hidden;
}

/* Subtle texture overlay */
.core-offerings::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 207, 222, 0.4), rgba(240, 90, 40, 0.3));
  z-index: 0;
}

.container {
  position: relative;
  z-index: 2;
}

.section-title {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 70px;
  color: #01070a;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
  opacity: 0;
}


.offerings-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.offering-box {
  background: rgba(0, 0, 0, 0.65); /* dark glass background */
  padding: 35px;
  border-radius: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7),
              0 0 20px rgba(56, 189, 248, 0.2);
  position: relative;
  animation: floatUp 1s ease forwards;
  transform: translateY(40px);
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* On hover */
.offering-box:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(0, 124, 130, 0.75); /* teal tint on hover */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85),
              0 0 30px rgba(56, 189, 248, 0.45),
              0 0 50px rgba(240, 90, 40, 0.35);
}


/* Gradient glow effect behind each box */
.offering-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(#38bdf8, #facc15, #22c55e, #38bdf8);
  animation: rotateGlow 6s linear infinite;
  opacity: 0.2;
  z-index: 0;
}

.offering-box h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #5edcf0;
  position: relative;
  z-index: 2;
}

.offering-box p,
.offering-box ul {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.offering-box ul {
  list-style: none;
  padding: 0;
}

.offering-box ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}

.offering-box ul li::before {
  content: "";
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-weight: bold;
}

.result {
  font-weight: bold;
  color: #eded19;
}

.stack {
  font-style: italic;
  color: #eded19;
  font-weight: 100;
}

/* Animations */
@keyframes floatUp {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* =========================
   MOBILE RESPONSIVE STYLES
   ========================= */
@media (max-width: 992px) {
  .Data-hero {
    height: 70vh;
    padding: 20px 5%;
    align-items: flex-end;
  }

  .Data-shadow-text {
    font-size: 4.5rem;
    top: 30%;
  }

  .Data-main-heading {
    font-size: 2.8rem;
  }

  .Data-hero-content p {
    font-size: 1rem;
    max-width: 90%;
  }

  .Data-scroll-down {
    font-size: 1.5rem;
    bottom: 15px;
  }

  .Data-section-title {
    font-size: 2.5rem;
  }

  .Data-section-heading {
    font-size: 2.2rem;
  }

  .Data-image img {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .Data-hero {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 70vh;
    text-align: center;
  }

  .Data-shadow-text {
    font-size: 3.5rem;
    top: 45%;
    transform: translate(-50%, -50%);
  }

  .Data-main-heading {
    font-size: 2rem;
    text-align: center;
  }

  .Data-hero-content p {
    font-size: 0.95rem;
    margin: 15px auto;
    text-align: center;
  }

  .Data-scroll-down {
    font-size: 1.2rem;
    bottom: 10px;
  }

  .Data-container {
    flex-direction: column;
    gap: 30px;
  }

  .Data-image img {
    max-width: 100%;
    border-radius: 10px;
  }

  .Data-offerings-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .Data-offering-box {
    padding: 25px;
  }

  .Data-section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .Data-hero {
    height: 60vh;
    padding: 10px;
  }

  .Data-shadow-text {
    font-size: 2.5rem;
    top: 50%;
  }

  .Data-main-heading {
    font-size: 1.5rem;
  }

  .Data-hero-content p {
    font-size: 0.85rem;
  }

  .Data-scroll-down {
    font-size: 1rem;
  }

  .Data-section-title,
  .Data-section-heading {
    font-size: 1.8rem;
  }

  .Data-offering-box h3 {
    font-size: 1.3rem;
  }

  .Data-offering-box p,
  .Data-offering-box ul {
    font-size: 1rem;
  }
}

/* Mobile "hover" effect using tap (active state) */
@media (max-width: 768px) {
  .Data-offering-box:active {
    transform: scale(0.97);
    background: rgba(0, 124, 130, 0.9);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.4);
  }
}

/* Mobile active image effect */
@media (max-width: 768px) {
  .Data-image img:active {
    transform: scale(0.98);
    box-shadow: 0 10px 20px rgba(240, 90, 40, 0.6);
  }
}

/* Mobile tap-to-pause */
@media (max-width: 768px) {
  .Data-scroll-text:active {
    animation-play-state: paused;
    color: #ff6600; /* 👈 optional feedback on tap */
  }
}
