*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #3b82f6;
  --blue-xlight: #eff6ff;
  --blue-mid: #dbeafe;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --green: #059669;
  --amber: #d97706;
  --pink: #be185d;
  --text-head: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --surface: #ffffff;
  --bg: #f0f6ff;
  --border: #e2e8f0;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow: 0 2px 16px rgba(37, 99, 235, 0.1);
  --shadow-lg: 0 8px 36px rgba(37, 99, 235, 0.16);
}

body {
  /* font-family: "Inter", sans-serif; */
  background: var(--bg);
  color: var(--text-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── HERO SECTION ── */
#ad-hero {
  position: relative;
  /* background: linear-gradient(135deg, #f0f6ff 0%, #eff6ff 50%, #f5f3ff 100%); */
  padding: 64px 40px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #eee9d3 0%, #fffcf3 50%, #f8edbc 100%);
}

#ad-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

#ad-hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
  font-family: ui-sans-serif;
}

#ad-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Left hero text */
#ad-hero-left {
  position: relative;
  z-index: 2;
  animation: ad-fadeUp 0.7s ease both;
}

#ad-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--blue-mid);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

#ad-section-tag span.ad-dot {
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
  animation: ad-pulse 1.8s ease-in-out infinite;
}

#ad-headline {
  font-family: serif;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-head);
  margin-bottom: 20px;
}

#ad-headline .ad-hi-blue {
  color: #e4b726;
}

#ad-headline .ad-hi-violet {
  color: #e4b726;
}

#ad-subtext {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 480px;
  margin-bottom: 32px;
  font-family: sans-serif;
}

#ad-subtext strong {
  color: #ffc107;
  font-weight: 700;
}

/* Feature pills */
#ad-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.ad-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1.5px solid #f0ede2;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-head);
  cursor: default;
  transition: all 0.25s ease;
  font-family: sans-serif;
}

.ad-pill:hover {
  border-color: #e4b726;
  background: var(--blue-xlight);
  color: #eeb926;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px #e4b72694;
}

.ad-pill-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* CTA Buttons */
#ad-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ad-btn-primary {
  padding: 13px 28px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.ad-btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.ad-btn-outline {
  padding: 13px 28px;
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}

.ad-btn-outline:hover {
  background: var(--blue-xlight);
  transform: translateY(-2px);
}

/* Right hero — feature icons row */
#ad-hero-right {
  position: relative;
  z-index: 2;
  animation: ad-fadeUp 0.7s 0.15s ease both;
}

#ad-hero-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ad-hero-badge {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ad-hero-badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--line-color, var(--blue));
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.ad-hero-badge:hover::before {
  transform: scaleY(1);
}

.ad-hero-badge:hover {
  transform: translateX(6px);
  border-color: var(--line-color, var(--blue));
  box-shadow: var(--shadow-lg);
}

.ad-hero-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.ad-hero-badge-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 3px;
}

.ad-hero-badge-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.ad-badge-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ── BLUE LINE INDICATOR — same as the image's freehand blue lines ── */
.ad-blue-line-section {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px;
}

.ad-blue-line-section::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--blue) 15%,
    var(--blue) 85%,
    transparent
  );
  border-radius: 3px;
}

/* ── CAPABILITIES ── */
#ad-cap-section {
  background: var(--surface);
  padding: 56px 40px;
  position: relative;
}

#ad-cap-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e4b726, #e4b726);
}

#ad-cap-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ad-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.ad-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e4b726;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
}

.ad-section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-head);
}

/* Capabilities Grid */
#ad-cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.ad-cap-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(24px);
}

.ad-cap-card.ad-visible {
  opacity: 1;
  transform: translateY(0);
}

.ad-cap-card:hover {
  border-color: var(--blue);
  background: var(--blue-xlight);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Blue left accent line — replicating the image's blue lines */
.ad-cap-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent-color, var(--blue));
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.ad-cap-card:hover::after {
  transform: scaleY(1);
}

.ad-cap-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
  transition: transform 0.25s;
}

.ad-cap-card:hover .ad-cap-icon {
  transform: scale(1.08) rotate(-4deg);
}

.ad-cap-body {
}

.ad-cap-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 4px;
  line-height: 1.3;
}

.ad-cap-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.ad-cap-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
}

/* ── STATS BAND ── */
#ad-stats-band {
  background: black;
  padding: 40px;
}

#ad-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.ad-stat {
  padding: 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.ad-stat:last-child {
  border-right: none;
}

.ad-stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}

.ad-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* ── USE CASES ── */
#ad-uc-section {
  padding: 56px 40px;
  background: #eecb6133;
  position: relative;
}

/* Replicate the blue horizontal indicator line from image */
#ad-uc-section::before {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #e9c123, #f2df59, #e4b726);
  border-radius: 3px;
}

#ad-uc-inner {
  max-width: 1200px;
  margin: 0 auto;
}

#ad-uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.ad-uc-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.32s ease;
  opacity: 1;
  transform: translateY(28px);
}

.ad-uc-card.ad-visible {
  opacity: 1;
  transform: translateY(0);
}

.ad-uc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--uc-color, var(--blue));
}

.ad-uc-card-top {
  padding: 28px 24px 20px;
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ad-uc-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.ad-uc-card-top h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.3;
  margin-bottom: 5px;
  font-family: ui-sans-serif;
}

.ad-uc-card-top p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  font-family: sans-serif;
}

.ad-uc-card-bottom {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ad-uc-sector-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}

.ad-uc-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s;
}

.ad-uc-card:hover .ad-uc-arrow {
  background: var(--uc-color, var(--blue));
  color: #fff;
  border-color: var(--uc-color, var(--blue));
  transform: rotate(45deg);
}

/* ── TECH STACK ── */
#ad-tech-section {
  background: var(--surface);
  padding: 48px 40px;
  border-top: 1.5px solid var(--border);
}

#ad-tech-inner {
  max-width: 1200px;
  margin: 0 auto;
}

#ad-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ad-tech-pill {
  padding: 8px 20px;
  border: 1.5px solid #e4b726;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  background: #e4b72629;
  cursor: default;
  transition: all 0.22s;
}

.ad-tech-pill:hover {
  background: #e4b726;
  color: #fff;
  border-color: #d4a717;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px #e4b726c4;
}

/* ── FOOTER CTA ── */
#ad-footer-cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #4c1d95 100%);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#ad-footer-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

#ad-footer-cta h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

#ad-footer-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}

#ad-footer-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ad-cta-white {
  padding: 13px 30px;
  background: #fff;
  color: var(--blue-dark);
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}

.ad-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ad-cta-ghost-white {
  padding: 13px 30px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}

.ad-cta-ghost-white:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ── MOCKUP SCENE ── */
#ad-hero-right {
  position: relative;
  z-index: 2;
  animation: ad-fadeUp 0.8s 0.1s ease both;
  opacity: 1;
}

#ad-mockup-scene {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glow blobs — bleed into background */
.ad-glow-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}

.ad-glow-blue {
  width: 340px;
  height: 340px;
  background: rgba(37, 99, 235, 0.18);
  top: 10%;
  right: -40px;
}

.ad-glow-purple {
  width: 260px;
  height: 260px;
  background: rgba(124, 58, 237, 0.14);
  bottom: 5%;
  left: 0;
}

/* Image wrapper — fade edges seamlessly into hero bg */
#ad-mockup-img-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
}

#ad-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  /* Slight scale + perspective tilt — feels immersive, not pasted */
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg) scale(1.02);
  transition: transform 0.5s ease;
  filter: drop-shadow(0 24px 64px rgba(37, 99, 235, 0.22));
}

#ad-mockup-img-wrap:hover #ad-mockup-img {
  transform: perspective(900px) rotateY(-1deg) rotateX(0deg) scale(1.04);
}

/* Bottom fade mask — image melts into the hero bg */
#ad-mockup-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(
    to top,
    #eff6ff 0%,
    rgba(239, 246, 255, 0.8) 35%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Right fade mask */
#ad-mockup-fade-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20%;
  background: linear-gradient(
    to left,
    #f5f3ff 0%,
    rgba(245, 243, 255, 0.5) 40%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Floating chips — Image 1 style cards that float over the mockup */
.ad-float-chip {
  position: absolute;
  z-index: 5;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.14);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.ad-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ad-chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ad-chip-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ad-chip-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.2;
}

.ad-chip-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.ad-chip-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  margin-left: 4px;
}

/* Chip positions */
.ad-chip-1 {
  top: 6%;
  left: -8%;
}

.ad-chip-2 {
  top: 38%;
  right: -4%;
}

.ad-chip-3 {
  bottom: 22%;
  left: -6%;
}

/* Platform row */
#ad-platform-row {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.12);
  white-space: nowrap;
}

.ad-platform-icon {
  font-size: 18px;
}

#ad-platform-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-head);
  margin-left: 4px;
}

/* ── ANIMATIONS ── */
@keyframes ad-fadeUp {
  from {
    opacity: 1;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ad-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.6;
  }
}

@keyframes ad-countUp {
  from {
    opacity: 1;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ad-floatChip1 {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes ad-floatChip2 {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(7px);
  }
}

@keyframes ad-floatChip3 {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #ad-hero-inner {
    grid-template-columns: 1fr;
  }

  #ad-hero-right {
    display: none;
  }

  #ad-uc-grid {
    grid-template-columns: 1fr 1fr;
  }

  #ad-stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .ad-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .ad-stat:last-child {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  #ad-hero,
  #ad-cap-section,
  #ad-uc-section,
  #ad-tech-section,
  #ad-stats-band,
  #ad-footer-cta {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 34px;
  }

  #ad-uc-grid,
  #ad-cap-grid {
    grid-template-columns: 1fr;
  }

  #ad-stats-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===========================================================new-css============================================================== */
/* Section Styling */
#ad-cap-section {
  padding: 60px 20px;
  background-color: #f8fafc;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#ad-cap-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ad-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.ad-section-badge {
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #475569;
  display: inline-block;
  margin-bottom: 12px;
}

.ad-section-title {
  font-size: 32px;
  color: #1e293b;
  margin: 0;
  font-weight: 700;
}

/* Grid Layout - 3 Columns on Desktop */
#ad-cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Vertical Card Look (Inspired by Image 1) */
.ad-cap-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
}

.ad-cap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

/* Image/Icon Top Area */
.ad-cap-image-wrapper {
  height: 140px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Badge Style Icon */
.ad-cap-icon {
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -20px;
  left: 24px;
  border: 3px solid #ffffff;
  z-index: 2;
}

/* Card Body Content */
.ad-cap-body {
  padding: 35px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ad-cap-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.4;
  min-height: 56px;
  /* Title properly aligned */
}

.ad-cap-sub {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  /* Pushes tags and button to bottom */
}

/* Tags Styling */
.ad-cap-tags-wrapper {
  margin-bottom: 20px;
}

.ad-cap-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: #dbeafe;
  /* Default background if not specified inline */
  color: #1e40af;
}

/* Action Button Style (Blue primary like Image 1) */
.ad-cap-btn {
  width: 100%;
  padding: 12px;
  background-color: #1d4ed8;
  /* Blue accent color */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ad-cap-btn:hover {
  background-color: #1e40af;
}

/* Card Specific Theme Customizations */
.ad-cap-card:nth-child(1) .ad-cap-btn {
  background-color: var(--accent-color);
}

.ad-cap-card:nth-child(1) .ad-cap-btn:hover {
  filter: brightness(0.9);
}

/* Ghost button styling option (If you want light buttons like cards 2-6 in image 1) */
.ad-cap-card:not(:first-child) .ad-cap-btn {
  background-color: transparent;
  color: var(--accent-color, #1d4ed8);
  border: 1px solid #e2e8f0;
}

.ad-cap-card:not(:first-child) .ad-cap-btn:hover {
  background-color: #f8fafc;
  border-color: var(--accent-color);
}

/* Base Section & Typography */
#ad-cap-section {
  padding: 60px 20px;
  background-color: #f3f4f6;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#ad-cap-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ad-section-header {
  text-align: center;
  margin-bottom: 45px;
}

.ad-section-badge {
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  color: #4b5563;
  display: inline-block;
  margin-bottom: 10px;
}

.ad-section-title {
  font-size: 32px;
  color: #111827;
  margin: 0;
  font-weight: 700;
  font-family: serif;
}

/* Responsive Grid Layout */
#ad-cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Card Container Style */
.ad-cap-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
}

.ad-cap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

/* Banner Image Wrapper */
.ad-cap-image-wrapper {
  height: 160px;
  /* बैनर इमेज की ऊंचाई */
  position: relative;
  width: 100%;
  background-color: #e5e7eb;
}

/* Main Top Banner Image */
.ad-cap-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* इमेज को बिना डिस्टॉर्ट किए कवर करेगा */
  display: block;
}

/* Floating White Logo/Icon Holder (As seen in Image 1) */
.ad-cap-icon-holder {
  position: absolute;
  bottom: -15px;
  /* आधा इमेज से बाहर लटकाने के लिए */
  left: 20px;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  min-width: 60px;
  height: 45px;
}

/* Actual Logo Inside White Box */
.ad-cap-logo-img {
  max-height: 32px;
  max-width: 110px;
  object-fit: contain;
}

/* Card Body spacing */
.ad-cap-body {
  padding: 30px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Title Styling matching Image 1 */
.ad-cap-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.4;
  min-height: 29px;
  font-family: serif;
}

.ad-cap-sub {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
  font-family: auto;
  font-family: sans-serif;
}

/* Tags Layout */
.ad-cap-tags-wrapper {
  margin-bottom: 20px;
}

.ad-cap-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: #f3f4f6;
  color: #374151;
}

/* Buttons (Card 1 is Solid Blue, Card 2-6 are Outline/White) */
.ad-cap-btn {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

/* Card 1 - Filled/Active Accent Button */
.ad-cap-card:nth-child(1) .ad-cap-btn {
  background-color: #e4b726;
  color: #ffffff;
  border: none;
}

.ad-cap-card:nth-child(1) .ad-cap-btn:hover {
  filter: brightness(0.9);
}

/* Cards 2 to 6 - Clean White Outline Buttons */
.ad-cap-card:not(:first-child) .ad-cap-btn {
  background-color: #ffffff;
  color: var(--accent-color, #2563eb);
  border: 1px solid #e5e7eb;
}

.ad-cap-card:not(:first-child) .ad-cap-btn:hover {
  background-color: #fafafa;
  border-color: var(--accent-color);
}

/* CTA SECTION */
#ad-footer-cta {
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    179deg,
    #f5ba07 0%,
    #faaf0c 35%,
    #fcab00 70%,
    #e67e22 100%
  );
}

/* Background circles */
#ad-footer-cta::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: #000;
  opacity: 0.07;
  top: -120px;
  right: -120px;
}

#ad-footer-cta::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: #000;
  opacity: 0.06;
  bottom: -80px;
  left: -80px;
}

/* Heading */
#ad-footer-cta h2 {
  position: relative;
  z-index: 2;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.2;
}

/* Description */
#ad-footer-cta p {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  font-family: sans-serif;
}

/* Buttons wrapper */
#ad-footer-cta-btns {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Primary button */
.ad-cta-white {
  background: #212529;
  color: #fff;
  border: none;
  padding: 15px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ad-cta-white:hover {
  background: #000;
  transform: translateY(-3px);
}

/* Secondary button */
.ad-cta-ghost-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 15px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ad-cta-ghost-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

/* Mobile */
@media (max-width: 768px) {
  #ad-footer-cta {
    padding: 60px 20px;
  }

  #ad-footer-cta-btns {
    flex-direction: column;
  }

  .ad-cta-white,
  .ad-cta-ghost-white {
    width: 100%;
  }
}
