/* ========= Homepage Animated Heading Style ========= */
.abezam-heading {
  font-size: clamp(2rem, 7vw, 8rem);
  font-weight: 700;
  line-height: 1.2;
  padding-bottom: 10px;
  display: inline-block;
  position: relative;
  color: white;
  overflow: visible;
  text-align: center;
  word-break: break-word;
}

/* ========= Animated Yellow Highlight Layer ========= */
/* টেক্সটের উপরে গ্রাডিয়েন্ট হাইলাইট তৈরি করে */
.abezam-heading::before {
  content: attr(data-text); /* টেক্সট কপি করে আবার দেখাচ্ছে */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* ========= গ্রাডিয়েন্ট সেটআপ ========= */
  background: linear-gradient(
  90deg,
  rgba(255, 255, 255, 0) 0%,              
  rgba(255, 0, 0, 0.4) 8%,              /* হালকা লাল শুরু */
  rgba(255, 0, 0, 0.9) 12%,             /* গাঢ় লাল হাইলাইট */
  rgba(255, 0, 0, 0.4) 16%,             /* আবার হালকা লাল */
  rgba(255, 255, 255, 0) 25%,             
  rgba(255, 255, 255, 0) 100%             
);

  background-size: 300% auto; /* বড় সাইজ যেন স্লাইডে ভালো লাগে */

  /* ========= টেক্সট ক্লিপ ও ট্রান্সপারেন্ট সেটিং ========= */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  /* ========= এনিমেশন যুক্ত করা ========= */
  animation: gradient-highlight 8s linear infinite; /* ধীর গতির স্লাইড */
  pointer-events: none; /* টেক্সট সিলেক্ট/ক্লিক প্রভাবিত না হয় */
}

/* ========= Keyframes: LEFT ➡ RIGHT Animation ========= */
@keyframes gradient-highlight {
  0% {
    background-position: 150% 0; /* শুরু — বাঁদিক থেকে */
  }
  100% {
    background-position: -150% 0; /* শেষ — ডানদিকে চলে যায় */
}

/* ========= Responsive Design: Tablet ========= */
/*
@media (max-width: 768px) {
  .abezam-heading {
    font-size: 48px;
  }
}
*/

/* ========= Responsive Design: Mobile ========= */
/*
@media (max-width: 480px) {
  .abezam-heading {
    font-size: 36px;
  }
}
*/
/* ========= End Heading Style ========= */
/*

/* ========= Homepage Subheading Style ========= */
.abezam-subheading {
  font-size: clamp(0.8rem, 2vw, 2rem);
  font-weight: 700;
  color: yellow;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.abezam-subheading::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );

  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  animation: slide-white 2.5s linear infinite;
  pointer-events: none;
}

@keyframes slide-white {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* ========= End Subheading Style ========= */
