/* ==============================================
   E-Waste Page — Stylesheet
   Online Scrap Dealer
   ============================================== */

/* ============================================
   HERO SECTION
   ============================================ */
#ew-hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

/* Circuit board animated background */
.ew-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.circuit-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 60px 60px;
  }
}

/* Floating icons */
.ew-floating-icons {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ew-fi {
  position: absolute;
  color: var(--green);
  opacity: 0.08;
  animation: ewFloat 8s ease-in-out infinite;
}

.ew-fi-1 {
  font-size: 4rem;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}
.ew-fi-2 {
  font-size: 2.5rem;
  top: 20%;
  left: 25%;
  animation-delay: 1s;
}
.ew-fi-3 {
  font-size: 3.5rem;
  top: 65%;
  left: 8%;
  animation-delay: 2s;
}
.ew-fi-4 {
  font-size: 2rem;
  top: 80%;
  left: 35%;
  animation-delay: 0.5s;
}
.ew-fi-5 {
  font-size: 3rem;
  top: 8%;
  right: 12%;
  animation-delay: 1.5s;
}
.ew-fi-6 {
  font-size: 2.5rem;
  top: 40%;
  right: 5%;
  animation-delay: 3s;
}
.ew-fi-7 {
  font-size: 2rem;
  top: 70%;
  right: 20%;
  animation-delay: 2.5s;
}
.ew-fi-8 {
  font-size: 3rem;
  top: 50%;
  left: 48%;
  animation-delay: 1.2s;
}

@keyframes ewFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-18px) rotate(8deg);
  }
  66% {
    transform: translateY(10px) rotate(-5deg);
  }
}

/* Hero inner layout */
.ew-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

/* Hero content */
.ew-hero-content {
  color: var(--white);
}

.ew-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulseBadge 1.5s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
  }
}

.ew-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}

.ew-highlight {
  color: #4ade80;
}
.ew-highlight-2 {
  background: linear-gradient(90deg, #22c55e, #86efac, #22c55e);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
  from {
    background-position: 0% center;
  }
  to {
    background-position: 200% center;
  }
}

.ew-hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.ew-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.ew-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: #4ade80;
  line-height: 1;
}

.ew-stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  display: block;
}

.ew-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

.ew-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ew-outline {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: var(--white) !important;
}

.ew-outline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--white) !important;
}

/* Hero visual / device image */
.ew-device-stack {
  position: relative;
  display: flex;
  justify-content: center;
}

.ew-main-img {
  width: 100%;
  max-width: 480px;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(34, 197, 94, 0.2);
}

/* Floating badges on image */
.ew-badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 18px;
  border-radius: var(--radius);
  color: var(--white);
  animation: ewFloat 4s ease-in-out infinite;
}

.ew-badge-float i {
  font-size: 1.4rem;
  color: #4ade80;
}

.ew-badge-float strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}
.ew-badge-float small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.ew-badge-f1 {
  top: -20px;
  left: -20px;
  animation-delay: 0s;
}
.ew-badge-f2 {
  top: 50%;
  right: -24px;
  transform: translateY(-50%);
  animation-delay: 1.5s;
}
.ew-badge-f3 {
  bottom: -16px;
  left: 30px;
  animation-delay: 0.8s;
}

/* ============================================
   IMPACT TICKER
   ============================================ */
.impact-ticker {
  background: linear-gradient(90deg, #166534, #15803d, #166534);
  padding: 14px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}

.ticker-track span i {
  color: #86efac;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============================================
   E-WASTE CATEGORIES
   ============================================ */
.ew-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ew-cat-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.ew-cat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}

.ew-cat-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.ew-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ew-cat-card:hover .ew-cat-img-wrap img {
  transform: scale(1.1);
}

.ew-cat-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.5) 0%,
    transparent 60%
  );
}

.ew-cat-rate-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
}

.ew-cat-content {
  padding: 20px;
  position: relative;
}

.ew-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
  margin-top: -40px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.ew-cat-content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ew-cat-content p {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.ew-cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.ew-cat-tags span {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  color: var(--gray);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  transition: var(--transition);
}

.ew-cat-card:hover .ew-cat-tags span {
  background: var(--green-light);
  border-color: var(--green-light);
  color: var(--green-dark);
}

.ew-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.88rem;
  transition: gap 0.3s;
}

.ew-cat-btn:hover {
  gap: 10px;
}

/* ============================================
   ENVIRONMENTAL IMPACT
   ============================================ */
.ew-impact-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a2f 50%, #0f172a 100%);
}

.ew-impact-bg-anim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(34, 197, 94, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(34, 197, 94, 0.06) 0%,
      transparent 40%
    ),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%2322c55e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: bgRotate 30s linear infinite;
}

@keyframes bgRotate {
  from {
    background-position:
      0 0,
      0 0,
      0 0;
  }
  to {
    background-position:
      0 0,
      0 0,
      60px 60px;
  }
}

.light-tag {
  background: rgba(134, 239, 172, 0.15) !important;
  color: #86efac !important;
}

.ew-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.ew-impact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.ew-impact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), #86efac);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.ew-impact-card:hover::before {
  transform: scaleX(1);
}

.ew-impact-card:hover {
  transform: translateY(-6px);
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
}

.ew-impact-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(34, 197, 94, 0.08);
  line-height: 1;
}

.ew-impact-icon {
  width: 56px;
  height: 56px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #4ade80;
  margin: 0 auto 18px;
  transition: var(--transition);
}

.ew-impact-card:hover .ew-impact-icon {
  background: rgba(34, 197, 94, 0.25);
  transform: scale(1.1);
}

.ew-impact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.ew-impact-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Impact numbers row */
.ew-impact-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px;
}

.ew-imp-num-card {
  text-align: center;
}

.ew-imp-num-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #4ade80;
  margin-bottom: 8px;
}

.ew-imp-num-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ============================================
   RECYCLING PROCESS
   ============================================ */
.ew-process-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}

.ew-process-step {
  flex: 1;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.ew-process-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}

.ew-process-img {
  height: 160px;
  overflow: hidden;
}

.ew-process-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ew-process-step:hover .ew-process-img img {
  transform: scale(1.08);
}

.ew-process-content {
  padding: 20px;
  position: relative;
}

.ew-process-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(34, 197, 94, 0.12);
  line-height: 1;
}

.ew-process-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 12px;
  margin-top: -36px;
  position: relative;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.ew-process-content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ew-process-content p {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.5;
}

.ew-process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--green);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ============================================
   DATA SECURITY SECTION
   ============================================ */
.ds-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ds-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  margin: 12px 0 20px;
}

.ds-content > p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
}

.ds-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.ds-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.ds-step-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(
    135deg,
    var(--green-light),
    rgba(34, 197, 94, 0.2)
  );
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.ds-step:hover .ds-step-icon {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  transform: scale(1.1);
}

.ds-step h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.ds-step p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.5;
}

.ds-img-wrap {
  position: relative;
}

.ds-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.ds-cert-badge {
  position: absolute;
  bottom: 28px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: ewFloat 4s ease-in-out infinite;
}

.ds-cert-badge i {
  font-size: 1.8rem;
  color: var(--green);
}
.ds-cert-badge strong {
  display: block;
  font-size: 0.9rem;
}
.ds-cert-badge small {
  color: var(--gray);
  font-size: 0.78rem;
}

/* ============================================
   RATE TABLE
   ============================================ */
.ew-rate-grid {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ew-rate-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 120px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-light);
  transition: background 0.2s;
  gap: 16px;
}

.ew-rate-row:last-child {
  border-bottom: none;
}

.ew-rate-row.header-row {
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-2));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ew-rate-row:not(.header-row):hover {
  background: #f0fdf4;
}

.ew-rate-row span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--charcoal);
}

.ew-ri {
  font-size: 1rem;
}
.ew-ri.blue {
  color: #2563eb;
}
.ew-ri.pink {
  color: #be185d;
}
.ew-ri.green {
  color: #16a34a;
}
.ew-ri.red {
  color: #dc2626;
}
.ew-ri.gray {
  color: #64748b;
}

.ew-rate-price {
  font-family: var(--font-heading);
  font-weight: 700 !important;
  font-size: 0.98rem !important;
  color: var(--green-dark) !important;
}

.ew-sell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}

.ew-sell-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}

/* ============================================
   CORPORATE E-WASTE
   ============================================ */
.ew-corp-section {
  position: relative;
  overflow: hidden;
}

.ew-corp-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #f0fdf4 100%);
}

.ew-corp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ew-corp-img {
  position: relative;
}

.ew-corp-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.ew-corp-img-badge {
  position: absolute;
  bottom: 28px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: ewFloat 4s ease-in-out infinite;
}

.ew-corp-img-badge i {
  font-size: 1.8rem;
  color: var(--green);
}
.ew-corp-img-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--green-dark);
}
.ew-corp-img-badge small {
  color: var(--gray);
  font-size: 0.8rem;
}

.ew-corp-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  margin: 12px 0 20px;
}

.ew-corp-content > p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
}

.ew-corp-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.ew-corp-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ew-corp-feat > i {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.ew-corp-feat h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.ew-corp-feat p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ============================================
   CERTIFICATIONS
   ============================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius);
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.cert-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
  transition: var(--transition);
}

.cert-card:hover .cert-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
}

.cert-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.cert-card p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.ew-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ew-testi-card {
  padding: 32px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.ew-testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.ew-testi-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  gap: 3px;
}

.ew-testi-card > p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.ew-testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ew-testi-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.ew-testi-author strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}
.ew-testi-author span {
  font-size: 0.82rem;
  color: var(--gray);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .ew-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ew-impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ew-impact-numbers {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .ew-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
  }
  .ew-hero-visual {
    display: none;
  }
  .ew-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ds-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ds-visual {
    display: none;
  }
  .ew-corp-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ew-corp-img {
    display: none;
  }
  .ew-testi-grid {
    grid-template-columns: 1fr;
  }
  .ew-rate-row {
    grid-template-columns: 1.5fr 1fr 1.2fr;
  }
  .ew-rate-row > a {
    display: none;
  }
}

@media (max-width: 600px) {
  .ew-cat-grid {
    grid-template-columns: 1fr;
  }
  .ew-impact-grid {
    grid-template-columns: 1fr;
  }
  .ew-impact-numbers {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .ew-process-track {
    flex-direction: column;
  }
  .ew-process-arrow {
    transform: rotate(90deg);
  }
  .ew-rate-row {
    grid-template-columns: 1fr 1fr;
  }
  .ew-hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .ew-stat-divider {
    display: none;
  }
}


@media (max-width: 768px) {

  #ew-hero{
    min-height: auto;
    padding-top: 90px;
  }

  .ew-hero-inner{
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }

  .ew-hero-content{
    padding: 0 12px;
  }

  .ew-hero-content h1{
    font-size: 2.4rem;
    line-height: 1.15;
  }

  .ew-hero-content p{
    max-width: 100%;
  }

  .ew-hero-btns{
    flex-direction: column;
  }

  .ew-hero-btns .btn{
    width: 100%;
    justify-content: center;
  }

  .ew-hero-visual{
    padding: 0 12px;
  }

  .ew-main-img{
    height: 300px;
  }

  .ew-badge-float{
    display: none;
  }
}