/* =========================================
   GOOGLE ADS (PPC) PAGE CSS - FULL (CLEAN)
   File: assets/css/digital_merketing/google_add.css
========================================= */

/* ---------- Base Reset (safe for this page) ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  color: #11104d;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================================
   HERO SLIDER
========================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

/* Dark overlay */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Content */
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: min(92%, 900px);
}

.slide-content .breadcrumb {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 10px;
}

.slide-content h1 {
  font-size: 44px;
  font-weight: 800;
  margin: 0;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
}

.arrow:hover {
  background: #ff3c2f;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Slider responsive */
@media (max-width: 768px) {
  .hero-slider { height: 300px; }
  .slide-content h1 { font-size: 28px; }
}

/* =========================================
   INTRO SECTION (Replace inline styles with these classes)
========================================= */
.ppc-intro {
  text-align: center;
  padding: 34px 16px;
}

.ppc-intro-heading {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.ppc-accent { color: #cf2e2e; }
.ppc-primary { color: #11104d; }

.ppc-intro-desc {
  margin: 14px auto 0;
  max-width: 980px;
  font-size: 17px;
  line-height: 28px;
  color: #21214c;
}

.ppc-accent-big {
  color: #ff0000;
  font-size: 20px;
  font-weight: 800;
}

/* =========================================
   PPC TWO-COLUMN SECTIONS
========================================= */
.ppc-section {
  padding: 42px 20px;          /* ✅ top/bottom spacing reduced */
  background: #f8faff;
}

.ppc-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ppc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;                   /* ✅ gap reduced */
  flex-wrap: wrap;
}

.ppc-col {
  flex: 1;
  min-width: 320px;
}

/* Text */
.ppc-col.content h2 {
  font-size: 30px;
  font-weight: 800;
  color: #11104d;
  margin: 0 0 14px;
  line-height: 1.25;
}

.ppc-col.content p {
  font-size: 16px;
  line-height: 28px;
  color: #333;
  margin: 0;
}

/* Image */
.ppc-col.image img {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
}

/* Section heading styles (used in your 2nd/3rd sections) */
.sub-title {
  color: #3359c4;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.main-title {
  color: #11104d;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.35;
}

.red-text {
  color: #ff0000;
  font-size: 22px;
}

.ppc-desc {
  font-size: 16px;
  line-height: 28px;
  color: #333;
  margin: 0;
}

/* =========================================
   PPC SERVICES (Cards grid)
========================================= */
.ppc-services-section {
  padding: 46px 20px;          /* ✅ reduced */
  background: #f8faff;
  text-align: center;
}

.ppc-main-heading {
  color: #ff0000;
  font-size: 30px;
  font-weight: 900;
  margin: 0 0 10px;
}

.ppc-sub-heading {
  color: #021238;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 26px;
}

.ppc-sub-heading1 {
  color: #021238;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 18px;
  line-height: 26px;
}

/* grid */
.ppc-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;                   /* ✅ reduced */
  justify-content: center;
}

.ppc-card {
  background: #ffffff;
  padding: 26px 18px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.ppc-card .icon {
  font-size: 46px;
  margin-bottom: 12px;
  transition: transform .35s ease;
}

.ppc-card h4 {
  color: #11104d;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

/* hover */
.ppc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

.ppc-card:hover .icon {
  transform: scale(1.15);
}

/* =========================================
   TEAM / BANNER SECTIONS
========================================= */
.ppc-team-section {
  padding: 34px 20px 0;        /* ✅ reduced */
  background: #f8faff;
}

.ppc-team-heading {
  font-size: 30px;
  font-weight: 900;
  color: #111058;
  margin: 0 0 14px;
  line-height: 1.35;
  text-align: center;
}

.ppc-team-desc {
  font-size: 16px;
  line-height: 28px;
  color: #666;
  max-width: 900px;
  margin: 0 auto 22px;
  text-align: center;
}

/* Banner wrapper */
.ppc-banner {
  width: 100%;
  height: 320px;               /* ✅ reduced */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f0f3ff;
  overflow: hidden;
  padding: 10px 0;
}

.ppc-banner img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* =========================================
   RESPONSIVE (MOBILE FOCUS)
========================================= */
@media (max-width: 768px) {
  /* overall spacing reduced */
  .ppc-intro { padding: 22px 14px; }
  .ppc-section { padding: 26px 14px; }
  .ppc-services-section { padding: 28px 14px; }
  .ppc-team-section { padding: 26px 14px 0; }

  /* force column stack */
  .ppc-row {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  /* important: stop overflow */
  .ppc-col { min-width: 0; }

  /* intro mobile */
  .ppc-intro-heading { font-size: 24px; line-height: 1.25; }
  .ppc-intro-desc { font-size: 15px; line-height: 24px; }
  .ppc-accent-big { font-size: 16px; }

  /* section headings mobile */
  .ppc-col.content h2 { font-size: 22px; }
  .sub-title { font-size: 16px; }
  .main-title { font-size: 20px; }
  .red-text { font-size: 18px; }
  .ppc-desc { font-size: 15px; line-height: 24px; }

  /* cards section mobile */
  .ppc-main-heading { font-size: 24px; }
  .ppc-sub-heading { font-size: 16px; margin-bottom: 16px; }
  .ppc-sub-heading1 { font-size: 14px; line-height: 22px; }

  .ppc-card .icon { font-size: 40px; }

  /* team section mobile */
  .ppc-team-heading { font-size: 22px; }
  .ppc-team-desc { font-size: 14px; line-height: 24px; }

  .ppc-banner { height: 220px; }
}

@media (max-width: 480px) {
  .slide-content h1 { font-size: 24px; }
  .arrow { width: 40px; height: 40px; font-size: 22px; }
}
