/* home.css */

/* ========== FONT & MARQUEE ========== */
.font-display {
  font-family: "Poppins", sans-serif;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.animate-marquee {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

/* ========== BANNER & PROFILE ========== */
.card-section {
  display: flex;
  justify-content: center;
  padding: 0;
}
.banner-card {
  width: 100%;
  max-width: 740px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.12);
  background: #fff;
}
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ========== CUSTOM ICONS ========== */
.icon-sm {
  width: clamp(10px, 1.8vw, 13px);
  height: clamp(10px, 1.8vw, 13px);
  flex-shrink: 0;
}
.icon-xs {
  width: clamp(9px, 1.6vw, 12px);
  height: clamp(9px, 1.6vw, 12px);
  flex-shrink: 0;
}
.icon-badge-user {
  width: clamp(10px, 1.6vw, 13px);
  height: clamp(10px, 1.6vw, 13px);
  flex-shrink: 0;
}
.icon-square-user {
  width: clamp(10px, 1.6vw, 13px);
  height: clamp(10px, 1.6vw, 13px);
  flex-shrink: 0;
}
.phone-icon {
  width: clamp(14px, 2.2vw, 18px);
  height: clamp(14px, 2.2vw, 18px);
  margin-right: clamp(4px, 1vw, 8px);
  flex-shrink: 0;
  animation: ring 1.5s ease-in-out infinite;
}
.wa-icon {
  width: clamp(16px, 2.6vw, 20px);
  height: clamp(16px, 2.6vw, 20px);
  flex-shrink: 0;
}

@keyframes ring {
  0%,
  100% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(15deg);
  }
  20% {
    transform: rotate(-15deg);
  }
  30% {
    transform: rotate(10deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(0);
  }
}

/* ========== HIGHLIGHT 1 SECTION (CTA Banner) ========== */
.d1-top-bar {
  background: linear-gradient(135deg, #ffd600 0%, #ffc107 50%, #ffb300 100%);
  padding: clamp(8px, 1.8vw, 13px) clamp(14px, 3.8vw, 28px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.d1-top-bar::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.08) 10px,
    rgba(255, 255, 255, 0.08) 20px
  );
  pointer-events: none;
}
.d1-top-bar-text {
  font-size: clamp(10px, 2.2vw, 15px);
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.d1-main {
  display: flex;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}
.d1-left {
  flex: 1;
  padding: clamp(18px, 3.8vw, 28px) clamp(14px, 3.2vw, 24px)
    clamp(16px, 3.2vw, 24px) clamp(18px, 3.8vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-width: 0;
}
.d1-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: clamp(3px, 0.7vw, 5px);
  background: linear-gradient(to bottom, #ffd600, #d32f2f, #2e7d32);
  border-radius: 0 4px 4px 0;
}
.d1-badge {
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 0.8vw, 6px);
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: clamp(3px, 0.7vw, 5px) clamp(7px, 1.6vw, 12px);
  border-radius: 20px;
  width: fit-content;
  margin-bottom: clamp(10px, 2.2vw, 16px);
}
.d1-badge span {
  font-size: clamp(7px, 1.4vw, 10px);
  font-weight: 700;
  color: #333;
  letter-spacing: 1.5px;
  text-transform: capitalize;
}
.d1-quote-label {
  font-size: clamp(7px, 1.4vw, 10px);
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: clamp(5px, 1.1vw, 8px);
}
.d1-quote {
  font-size: clamp(14px, 2.8vw, 20px);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
}
.d1-quote .hl {
  color: #d32f2f;
  position: relative;
}
.d1-quote .hl::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: clamp(4px, 1vw, 7px);
  background: rgba(211, 47, 47, 0.12);
  border-radius: 4px;
  z-index: -1;
}
.d1-sub {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.8vw, 6px);
  margin-top: clamp(5px, 1.1vw, 8px);
}
.d1-sub span {
  font-size: clamp(9px, 1.6vw, 12px);
  color: #777;
  font-weight: 500;
}
.d1-chips {
  display: flex;
  gap: clamp(5px, 1.1vw, 8px);
  margin-top: clamp(12px, 2.5vw, 18px);
  flex-wrap: wrap;
}
.d1-chip {
  display: flex;
  align-items: center;
  gap: clamp(3px, 0.7vw, 5px);
  background: #fff;
  border: 1px solid #eee;
  padding: clamp(4px, 0.8vw, 6px) clamp(6px, 1.4vw, 10px);
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.d1-chip span {
  font-size: clamp(7px, 1.4vw, 10px);
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}
.d1-right {
  flex: 0 0 35%;
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}
.d1-badge-img {
  position: absolute;
  bottom: clamp(8px, 1.6vw, 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(211, 47, 47, 0.9);
  backdrop-filter: none !important;
  color: #fff;
  padding: clamp(4px, 0.8vw, 6px) clamp(6px, 1.4vw, 12px);
  border-radius: 6px;
  font-size: clamp(7px, 1.4vw, 10px);
  font-weight: 700;
  text-transform: capitalize;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.d1-bottom {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 50%, #c62828 100%);
  padding: clamp(12px, 2.2vw, 16px) clamp(14px, 3.2vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 2.2vw, 16px);
  position: relative;
  overflow: hidden;
}
.d1-bottom::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.d1-red-text {
  flex: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.d1-red-main {
  font-size: clamp(12px, 2.4vw, 17px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.d1-red-main .ul-y {
  text-decoration: underline;
  text-decoration-color: #ffd600;
  text-underline-offset: 3px;
  text-decoration-thickness: 3px;
}
.d1 .wa-button {
  padding: clamp(10px, 1.8vw, 12px) clamp(12px, 2.2vw, 18px);
}
.d1 .wa-button .wa-number {
  font-size: clamp(10px, 1.8vw, 13px);
}
