/* ==========================================================================
   DIGITAL BULL — PERFORMANCE MARKETING STYLES
   Scoped & Isolated to performance-marketing.aspx
   Matches 3D Cartoon Googly Eyes Speech Bubble Cards
   Exact Match to User Reference Screenshot (media_1793701847698_7ef1eaa9.jpg)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO BANNER (Clean & Centered)
   -------------------------------------------------------------------------- */
.db-perf-hero {
  position: relative;
  background-color: #04142e;
  background-image:
    radial-gradient(circle at 50% 40%, rgba(2, 132, 199, 0.22) 0%, rgba(4, 20, 46, 0.95) 75%),
    url('../img/about-hero-bg.svg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: clamp(3.2rem, 5.5vw, 4.8rem) 0;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 2px solid rgba(234, 38, 42, 0.35);
  box-shadow: inset 0 -10px 28px rgba(0, 0, 0, 0.28);
}

.db-perf-hero-inner {
  position: relative;
  z-index: 2;
}

.db-perf-hero-title {
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-shadow: 0 3px 14px rgba(4, 20, 46, 0.8), 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   2. MAIN SECTION CONTAINER
   -------------------------------------------------------------------------- */
.db-perf-section {
  padding: clamp(2.5rem, 4.5vw, 4rem) 0 clamp(4rem, 6vw, 5.5rem) 0;
  background-color: #ffffff;
}

/* Eyebrow & Lines */
.db-perf-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.db-perf-eyebrow-text {
  font-size: clamp(0.85rem, 1.2vw, 0.98rem);
  font-weight: 800;
  color: #00275b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.35;
}

.db-perf-eyebrow-lines {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 3px;
}

.db-perf-eyebrow-lines .db-line-navy {
  width: 32px;
  height: 2.5px;
  background-color: #00275b;
  border-radius: 2px;
}

.db-perf-eyebrow-lines .db-line-red {
  width: 52px;
  height: 2.5px;
  background-color: #ea262a;
  border-radius: 2px;
}

/* Intro Description Paragraph */
.db-perf-lead-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 2.25rem;
  max-width: 100%;
}

/* "What Service We Offer" Title */
.db-perf-offer-title {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 800;
  color: #00275b;
  margin-bottom: 2.75rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   3. 3D CARTOON GOOGLY-EYE SPEECH BUBBLE CARDS
   Matched to reference screenshot (media_1793701847698_7ef1eaa9.jpg)
   -------------------------------------------------------------------------- */
.db-eye-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 1.85rem;
  width: 100%;
  align-items: stretch;
}

/* Card Outer Wrapper */
.db-eye-card-wrap {
  position: relative;
  padding-top: 26px; /* Clearance for the 3D Googly Eyes protruding over the top border */
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.db-eye-card-wrap:hover {
  transform: translateY(-8px) scale(1.02);
}

/* --------------------------------------------------------------------------
   4. 3D CARTOON GOOGLY EYES
   Sitting directly on the speech bubble's upper border
   -------------------------------------------------------------------------- */
.db-googly-eyes {
  position: absolute;
  top: 0;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
  pointer-events: none;
}

.db-googly-eyes.eyes-right {
  left: auto;
  right: 32px;
}

.db-eye-socket {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 4.5px;
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.16),
    inset 0 2px 4px rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.db-eye-card-wrap:hover .db-eye-socket {
  transform: scale(1.06);
}

.db-eye-globe {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f1f5f9 68%, #cbd5e1 100%);
  box-shadow: 
    inset 0 -2px 5px rgba(0, 0, 0, 0.18),
    0 2px 4px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.db-eye-pupil {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #0f172a;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Specular Catchlight dot on pupil */
.db-eye-pupil::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  top: 2px;
  left: 2px;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.85);
}

/* Looking Directions */
.db-pupil-left {
  top: 8px;
  left: 6px;
}

.db-pupil-right {
  top: 8px;
  left: 14px;
}

.db-eye-card-wrap:hover .db-eye-pupil {
  transform: scale(1.15) translate(1px, -1px);
}

/* --------------------------------------------------------------------------
   5. SPEECH BUBBLE BODY & CURVED TAIL
   -------------------------------------------------------------------------- */
.db-bubble-body {
  position: relative;
  border-radius: 36px;
  border-width: 9px;
  border-style: solid;
  padding: 2.25rem 1.65rem 2.25rem 1.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px;
  box-shadow: 
    0 12px 28px rgba(15, 23, 42, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.04),
    inset 0 2px 5px rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  z-index: 2;
  flex: 1;
}

.db-eye-card-wrap:hover .db-bubble-body {
  box-shadow: 
    0 18px 38px rgba(15, 23, 42, 0.13),
    0 4px 10px rgba(15, 23, 42, 0.06),
    inset 0 2px 6px rgba(255, 255, 255, 0.85);
}

/* Speech Bubble Tail */
.db-bubble-tail {
  position: absolute;
  width: 32px;
  height: 30px;
  z-index: 3;
  pointer-events: none;
}

.db-tail-left {
  bottom: -21px;
  left: 32px;
}

.db-tail-right {
  bottom: -21px;
  right: 32px;
}

/* Platform Name Header inside Card */
.db-platform-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1.25rem;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Platform Vector/PNG Icon Container */
.db-platform-icon-wrap {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.db-eye-card-wrap:hover .db-platform-icon-wrap {
  transform: scale(1.12);
}

.db-card-brand-img {
  max-width: 68px;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

/* Card Description */
.db-card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
  text-align: center;
  margin: 0;
  font-weight: 500;
  flex: 1;
}

/* --------------------------------------------------------------------------
   6. 3 COLOR THEMES (MATCHED TO REFERENCE SCREENSHOT)
   -------------------------------------------------------------------------- */

/* 1. Google Ads Theme (Soft Rose / Blue Accent from Screenshot 1 & Bubble 1) */
.db-theme-google .db-eye-socket { 
  background: #60a5fa; 
}
.db-theme-google .db-bubble-body {
  border-color: #60a5fa;
  background: linear-gradient(180deg, #fdf2f8 0%, #fce7f3 100%);
}
.db-theme-google .db-bubble-tail path { 
  fill: #60a5fa; 
}

/* 2. Meta Ads Theme (Warm Golden Yellow from Screenshot 1 & Bubble 2) */
.db-theme-meta .db-eye-socket { 
  background: #fbbf24; 
}
.db-theme-meta .db-bubble-body {
  border-color: #fbbf24;
  background: linear-gradient(180deg, #fefce8 0%, #fef3c7 100%);
}
.db-theme-meta .db-bubble-tail path { 
  fill: #fbbf24; 
}

/* 3. Whatsapp Marketing Theme (Mint / Soft Emerald Green from Screenshot 1 & Bubble 3) */
.db-theme-whatsapp .db-eye-socket { 
  background: #34d399; 
}
.db-theme-whatsapp .db-bubble-body {
  border-color: #34d399;
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
}
.db-theme-whatsapp .db-bubble-tail path { 
  fill: #34d399; 
}

/* --------------------------------------------------------------------------
   7. RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .db-eye-cards-grid {
    grid-template-columns: 1fr;
    gap: 3.25rem;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 575.98px) {
  .db-perf-hero {
    padding: 2.75rem 0;
  }

  .db-perf-eyebrow-lines .db-line-navy {
    width: 24px;
  }

  .db-perf-eyebrow-lines .db-line-red {
    width: 36px;
  }
}
