/* ================= FASTAG HERO ================= */
.fastag-hero {
  position: relative;
  height: 420px;
  margin-top: 62px;
}

.gradient-text {
  background: linear-gradient(135deg, #8cff00, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fastag-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fastag-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fastag-hero-content {
  text-align: center;
  color: #fff;
}

.fastag-hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, #eaffc7, #8cff00, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fastag-hero-content p {
  margin-top: 14px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.85);
}

/* ================= OVERVIEW ================= */
.fastag-overview {
  padding: 50px 20px;
}

.fastag-overview-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.fastag-overview-text p {
  margin-top: 14px;
  color: #64748b;
  line-height: 1.7;
}

.fastag-overview-text {
  margin-bottom: 100px;
}

.fastag-overview-image img {
  width: 100%;
  max-width: 420px;
  animation: floatImg 6s ease-in-out infinite;
  border-radius: 20px;
}

@keyframes floatImg {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ================= FASTAG SLIDER ================= */
.fastag-slider {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f1f5f9, #f8fafc);
  text-align: center;
  overflow: hidden; /* important */
}

/* TRACK */
.slider-track {
  padding: 0px 20px;
  margin-top: 60px;
  display: flex;
  gap: 30px;
  width: max-content;
  animation: fastagScroll 28s linear infinite;

  /* hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
  display: none; /* Chrome */
}

/* LOOP ANIMATION */
@keyframes fastagScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* CARD */
.slide-card {
  min-width: 280px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);

  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* IMAGE WITH OVERLAY */
.slide-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
  position: relative;
}

/* IMAGE DARK OVERLAY */
.slide-card img::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* TEXT */
.slide-card h4 {
  margin: 18px 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #020617;
}

.slide-card p {
  padding: 0 18px 22px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* HOVER – subtle premium */
.slide-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.22);
}

/* PAUSE ON HOVER (professional feel) */
.slider-track:hover {
  animation-play-state: paused;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .fastag-slider {
    padding: 90px 16px;
  }

  .slide-card {
    min-width: 240px;
  }
}

/* ================= FASTAG FEATURES ================= */
.fastag-features {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  text-align: center;
}

/* LAYOUT */
.fastag-features-layout {
  max-width: 1200px;
  margin: 70px auto 0;

  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}

/* LEFT / RIGHT COLUMNS */
.fastag-features-col {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* FEATURE CARD */
.fastag-feature-card {
  position: relative;
  padding: 26px 28px;
  border-radius: 22px;

  background: #ffffff;
  font-size: 15px;
  font-weight: 600;
  color: #020617;

  display: flex;
  align-items: center;
  gap: 14px;

  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);

  transform-style: preserve-3d;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* ICON */
.feature-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.fastag-feature-card:hover {
  background: linear-gradient(135deg, #020617, #042f2e);

  color: #ecfeff;

  transform: translateY(-14px) rotateX(6deg) rotateY(-4deg);

  box-shadow: 0 45px 100px rgba(2, 6, 23, 0.45);
}

/* ================= SOFT EDGE GLOW ================= */
.fastag-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(56, 189, 248, 0.35),
    transparent
  );

  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.fastag-feature-card:hover::after {
  opacity: 1;
}
/* CENTER IMAGE */
.fastag-feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fastag-feature-image img {
  width: 100%;
  max-width: 360px;
  height: auto;

  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);

  transition: transform 0.5s ease;
}

.fastag-feature-image img:hover {
  transform: scale(1.05);
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 1024px) {
  .fastag-features-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .fastag-feature-image {
    order: -1;
  }

  .fastag-features-col {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .fastag-feature-card {
    width: calc(50% - 16px);
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .fastag-features {
    padding: 90px 16px;
  }

  .fastag-features-col {
    flex-direction: column;
  }

  .fastag-feature-card {
    width: 100%;
    padding: 22px 24px;
  }

  .fastag-feature-image img {
    max-width: 280px;
  }
}

/* ================= WHY FASTAG ================= */
.fastag-why {
  padding: 60px 20px;
  text-align: center;

  background: linear-gradient(135deg, #020617, #021a18, #042f2e);
}

.fastag-why h2 {
  font-size: 34px;
  color: #e5e7eb;
}

/* GRID */
.fastag-why-grid {
  max-width: 1100px;
  margin: 70px auto 0;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px;
}

/* ================= CARD ================= */
.why-card {
  position: relative;
  padding: 20px 34px;
  border-radius: 26px;

  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  transform-style: preserve-3d;
  transition: transform 0.6s ease, box-shadow 0.6s ease, background 0.6s ease;
}

/* ICON */
.why-icon {
  font-size: 32px;
  margin-bottom: 14px;
  transform: translateZ(20px);
}

/* TEXT */
.why-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ecfdf5;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #a7f3d0;
}

/* ================= 3D HOVER ================= */
.why-card:hover {
  background: linear-gradient(135deg, #020617, #042f2e);
    cursor: pointer;
  transform: translateY(-16px) rotateX(6deg) rotateY(-3deg);

  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* SUBTLE GLOW EDGE */
.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(34, 197, 94, 0.45),
    transparent
  );

  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.why-card:hover::after {
  opacity: 1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .fastag-why {
    padding: 90px 18px;
  }

  .fastag-why h2 {
    font-size: 28px;
  }

  .why-card {
    padding: 34px 28px;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .fastag-hero-content h1 {
    font-size: 38px;
  }
  .fastag-overview-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
