/* =========================================================
   PublishPages — Design tokens
   ========================================================= */
:root{
  --navy: #0F172A;
  --white: #F8FAFC;
  --orange: #FF9F1C;
  --pink: #E63980;
  --teal: #00B894;
  --gray: #E2E8F0;

  --navy-70: rgba(15,23,42,.7);
  --navy-50: rgba(15,23,42,.5);
  --navy-10: rgba(15,23,42,.08);

  --grad-brand: linear-gradient(90deg, var(--orange) 0%, var(--pink) 55%, var(--teal) 100%);
  --grad-brand-45: linear-gradient(45deg, var(--orange) 0%, var(--pink) 55%, var(--teal) 100%);
  --grad-cta: linear-gradient(90deg, var(--orange), var(--pink));
  --grad-purple: linear-gradient(90deg, #7C3AED, var(--pink));

  --font-head: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-full: 999px;

  --shadow-s: 0 2px 10px rgba(15,23,42,.06);
  --shadow-m: 0 10px 30px rgba(15,23,42,.08);
  --shadow-l: 0 20px 50px rgba(15,23,42,.12);

  --container: 1200px;
  --gutter: 20px;
}

/* =========================================================
   Lenis Smooth Scrolling Globals 
   ========================================================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* =========================================================
   Reset
   ========================================================= */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--font-body);
  color:var(--navy);
  background:var(--white);
  line-height:1.55;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
p, .hero-copy p, .section-head p { 
  color: #1E293B;
  font-weight: 500; 
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font:inherit; cursor:pointer; border:none; background:none; color:inherit; }
input{ font:inherit; }
h1,h2,h3,h4{ font-family:var(--font-head); color:var(--navy); line-height:1.15; letter-spacing:-0.01em; }

:focus-visible{ outline:2px solid var(--teal); outline-offset:3px; border-radius:4px; }

.container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:var(--gutter);
}

.gradient-text{
  background:var(--grad-brand);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-head);
  font-weight:700;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--pink);
  margin-bottom:14px;
}
.eyebrow::after{
  content:"";
  width:38px; height:3px;
  border-radius:2px;
  background:var(--grad-brand);
}
.eyebrow.center{ justify-content:center; }

.section-head{ text-align:center; max-width:640px; margin:0 auto 40px; }
.section-head h2{ font-size:clamp(28px,6vw,44px); font-weight:800; margin-bottom:14px; }

section{ padding:64px 0; }

/* =========================================================
   GSAP Utilities & Decor SVGs
   ========================================================= */
.mask-line { overflow: hidden; display: block; }
.mask-line span { display: block; }

.decor-svg-path { stroke-dasharray: 600; stroke-dashoffset: 600; }
.draw-arrow { stroke-dasharray: 600; stroke-dashoffset: 600; }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 26px;
  border-radius:var(--radius-full);
  font-weight:700;
  font-size:15px;
  font-family:var(--font-body);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px) scale(.99); }
.btn-primary{
  background:var(--grad-cta);
  color:#fff;
  box-shadow:0 10px 24px rgba(230,57,128,.28);
}
.btn-primary:hover{ filter:brightness(1.06); box-shadow:0 14px 30px rgba(230,57,128,.36); }
.btn-secondary{
  background:transparent;
  color:var(--teal);
  border:1.5px solid var(--teal);
}
.btn-secondary:hover{ background:rgba(0,184,148,.08); }
.btn-outline-navy{
  background:transparent;
  border:1.5px solid var(--gray);
  color:var(--navy);
}
.btn-outline-navy:hover{ border-color:var(--navy); }
.btn-sm{ padding:10px 18px; font-size:13px; }
.btn svg{ width:16px; height:16px; }

.link-arrow{
  display:inline-flex; align-items:center; gap:6px;
  font-weight:700; color:var(--navy); font-size:14px;
  border-bottom:2px solid transparent;
}
.link-arrow svg{ width:15px; height:15px; transition:transform .18s ease; }
.link-arrow:hover svg{ transform:translateX(4px); }

/* =========================================================
   Header & Navigation (Shrinking on Scroll + Dropdown)
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Added dynamically via JS when scrolled */
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid var(--gray);
  box-shadow: 0 4px 16px rgba(15,23,42,.06);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; 
  /* Big initial padding */
  padding-block: 28px; 
  transition: padding-block 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.site-header.scrolled .header-inner {
  /* Smaller padding when scrolled */
  padding-block: 10px; 
}

/* Logo Transitions */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.logo-mark { 
  width: 64px; height: 64px; /* Big initial logo */
  object-fit: contain; 
  transition: width 0.4s ease, height 0.4s ease; 
}

.site-header.scrolled .logo-mark {
  width: 34px; height: 34px; /* Shrunk logo */
}

.logo-word {
  font-family: var(--font-head); font-weight: 800; 
  font-size: 22px; /* Big initial text */
  line-height: 1.05; color: var(--navy); letter-spacing: -0.01em;
  transition: font-size 0.4s ease;
}

.site-header.scrolled .logo-word {
  font-size: 16px; /* Shrunk text */
}

.logo-word sup { font-size: 0.5em; }

/* --- Desktop Nav --- */
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 24px; }
.nav-desktop > ul > li > a {
  display: flex; align-items: center; gap: 5px;
  font-size: 14.5px; font-weight: 600; color: var(--navy);
  padding: 8px 0; position: relative;
  transition: color 0.2s;
}
.nav-desktop > ul > li > a svg { width: 14px; height: 14px; opacity: 0.7; transition: transform 0.3s; }
.nav-desktop > ul > li:hover > a { color: var(--teal); }
.nav-desktop li.active > a { color: var(--navy); }
.nav-desktop li.active > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--orange); border-radius: 2px;
}

/* Desktop Dropdown Logic */
.has-dropdown { position: relative; }
.has-dropdown:hover > a svg { transform: rotate(180deg); opacity: 1; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px);
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  border: 1px solid var(--gray); border-radius: var(--radius-m);
  padding: 12px 0; min-width: 200px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.1);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
  display: flex; flex-direction: column;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(5px);
}
.dropdown-menu li a {
  padding: 10px 24px; display: block; font-weight: 600; font-size: 14px; color: var(--navy);
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu li a:hover { background: rgba(0, 184, 148, 0.08); color: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger Menu */
.hamburger {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--gray); flex-shrink: 0;
}
.hamburger span { position: relative; width: 18px; height: 2px; background: var(--navy); display: block; transition: background 0.2s;}
.hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy); transition: .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { transform: rotate(45deg); top: 0; }
.hamburger.open span::after { transform: rotate(-45deg); top: 0; }
.logo-word small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--pink);
}

.site-header.scrolled .logo-word small {
  font-size: 6px;
  margin-top: 2px;
}

/* =========================================================
   MOBILE NAVIGATION — FIXED
   ========================================================= */

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  border-bottom: 1px solid var(--gray);

  transform: translateY(-15px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    transform 0.45s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.3s ease,
    visibility 0.3s ease;

  z-index: 99;

  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);

  max-height: calc(100vh - 80px);
  overflow-y: auto;
  overflow-x: hidden;
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* Mobile Main List */
.nav-mobile > ul {
  padding: 8px 0 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
}


/* Mobile Links */
.nav-mobile > ul > li > a {
  display: block;

  font-size: 18px;
  line-height: 1.3;
  padding: 16px 24px;

  font-weight: 700;
  color: var(--navy);

  border-bottom: 1px solid var(--gray);

  text-decoration: none;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.nav-mobile > ul > li > a:hover {
  background: rgba(0, 184, 148, 0.06);
  color: var(--teal);
}


/* =========================================================
   MOBILE LIBRARY ACCORDION
   ========================================================= */

.mobile-dropdown-wrapper {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 18px;
  line-height: 1.3;

  padding: 16px 24px;

  font-weight: 700;
  color: var(--navy);

  border-bottom: 1px solid var(--gray);

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.mobile-dropdown-toggle:hover {
  background: rgba(0, 184, 148, 0.06);
}

.mobile-dropdown-toggle svg {
  width: 18px;
  height: 18px;

  flex-shrink: 0;

  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    color 0.2s ease;
}

.mobile-dropdown-toggle.open svg {
  transform: rotate(180deg);
  color: var(--teal);
}


/* Dropdown Items */
.mobile-dropdown-menu {
  max-height: 0;

  overflow: hidden;

  margin: 0;
  padding: 0;

  background: rgba(15, 23, 42, 0.025);

  display: flex;
  flex-direction: column;

  transition: max-height 0.4s ease;
}

.mobile-dropdown-menu.open {
  max-height: 300px;
}

.mobile-dropdown-menu li {
  margin: 0;
  padding: 0;
}

.mobile-dropdown-menu li a {
  display: block;

  padding: 13px 24px 13px 42px;

  font-size: 15px;
  line-height: 1.3;

  font-weight: 600;

  color: var(--navy-70);

  border-bottom: 1px solid rgba(15, 23, 42, 0.05);

  text-decoration: none;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.mobile-dropdown-menu li a:hover {
  background: rgba(0, 184, 148, 0.07);
  color: var(--teal);
}

.mobile-dropdown-menu li:last-child a {
  border-bottom: none;
}


/* =========================================================
   MOBILE AUTHOR DASHBOARD
   ========================================================= */

.nav-mobile .mobile-actions {
  display: flex;
  gap: 10px;

  padding: 16px var(--gutter) 24px;

  margin: 0;
}

.nav-mobile .mobile-actions .btn {
  flex: 1;
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.hamburger {
  position: relative;
  z-index: 101;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1024px) {

  .nav-desktop {
    display: block;
  }

  .hamburger {
    display: none;
  }

  .nav-mobile {
    display: none;
  }

}
/* =========================================================
   MOBILE HEADER — HIDE AUTHOR DASHBOARD
   ========================================================= */

@media (max-width: 1023px) {

  /* Keep only logo + hamburger in header */
  .header-actions .btn {
    display: none !important;
  }

  /* Keep hamburger visible */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0;
  }

  .hamburger {
    display: flex;
  }

  /* Slightly smaller mobile logo */
  .logo-mark {
    width: 44px;
    height: 44px;
  }

  .logo-word {
    font-size: 17px;
  }

  /* When scrolled */
  .site-header.scrolled .logo-mark {
    width: 34px;
    height: 34px;
  }

  .site-header.scrolled .logo-word {
    font-size: 15px;
  }
}

/* =========================================================
   Hero & Contact Form
   ========================================================= */
.hero{ position:relative; padding-top:56px; padding-bottom:40px; overflow:hidden; }
.hero .container{ display:grid; gap:40px; align-items:center; }
.hero-copy h1{ font-size:clamp(36px,9vw,64px); font-weight:800; margin-bottom:18px; }
.hero-copy h1 span{ display:block; }
.hero-rule{
  width:110px; height:4px; border-radius:2px; background:var(--grad-brand);
  margin-bottom:22px; display:none;
}
.hero-copy p{ font-size:17px; max-width:480px; margin-bottom:28px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:36px; }

.hero-feats{ display:grid; gap:20px; padding-top:28px; border-top:1px solid var(--gray); }
.hero-feat{ display:flex; gap:12px; align-items:flex-start; }
.hero-feat .icon-badge{ flex-shrink:0; }
.hero-feat h4{ font-size:14.5px; font-weight:700; margin-bottom:3px; }
.hero-feat p{ font-size:13.5px; color:var(--navy-70); }

.icon-badge{
  width:42px; height:42px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(0,184,148,.1); color:var(--teal);
}
/* Splash Icon Badge */
.icon-badge{
  width:64px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  flex-shrink:0;

  background:#FF5A2A;
  color:#000;

  /* rough splash shape */
  clip-path: polygon(
    50% 0%,
    61% 5%,
    70% 2%,
    78% 9%,
    88% 7%,
    91% 17%,
    98% 23%,
    94% 33%,
    100% 42%,
    95% 51%,
    99% 61%,
    91% 69%,
    94% 80%,
    84% 84%,
    79% 94%,
    68% 91%,
    59% 100%,
    49% 94%,
    39% 99%,
    31% 92%,
    20% 95%,
    18% 85%,
    8% 81%,
    11% 70%,
    2% 63%,
    7% 52%,
    1% 43%,
    7% 34%,
    3% 23%,
    13% 19%,
    14% 9%,
    25% 11%,
    34% 3%,
    42% 7%
  );
}

.icon-badge svg{
  width:20px;
  height:20px;
  position:relative;
  z-index:2;
}
.icon-badge.orange{
  background:#FF9F1C;
  color:#000;
}

.icon-badge.pink{
  background:#FF5733;
  color:#000;
}

.icon-badge.teal{
  background:#00C896;
  color:#000;
}

.icon-badge.navy{
  background:#FFAA18;
  color:#000;
}
/* --- HERO FORM --- */
.hero-form-wrapper { position: relative; width: 100%; max-width: 480px; margin: 0 auto; }

.hero-form {
  background: rgba(255, 248, 240, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid #F3D8C2;
  border-radius: var(--radius-l);
  padding: 24px;
  box-shadow: 0 18px 45px rgba(180, 83, 9, 0.10);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

/* --- Border Blink --- */
.hero-form {
  animation: contactBorderBlink 2.5s ease-in-out infinite;
}

@keyframes contactBorderBlink {
  0%, 100% {
    border-color: #F3D8C2;
    box-shadow:
      0 18px 45px rgba(180, 83, 9, 0.10);
  }

  50% {
    border-color: #F97316;
    box-shadow:
      0 18px 45px rgba(180, 83, 9, 0.12),
      0 0 0 2px rgba(249, 115, 22, 0.18),
      0 0 18px rgba(249, 115, 22, 0.16);
  }
}
/* --- End of Border Blink --- */

.hero-form h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 2px;
  color: #7C2D12;
}

.hero-form p {
  font-size: 14px;
  margin-bottom: 4px;
  color: #78350F;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  border: 1px solid #E8CDB7;
  background: rgba(255, 255, 255, 0.90);
  font-size: 14.5px;
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: #F97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.13);
}

/* BUTTON  */
.form-submit-btn {
  width: 100%;
  margin-top: 4px;
  padding: 16px 20px;
  font-size: 16px;
}

.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; font-weight: 500; text-align: left;
  color: #57534E; margin-top: 10px;
}

.checkbox-label input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.form-highlight-text {
  font-weight: 700;
  color: #EA580C;
  font-size: 16px;
}

.form-sub-text {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 15px;
  color: #78716C;
}

.form-secure { 
  display: flex; align-items: center; justify-content: center; 
  gap: 6px; font-size: 11.5px; color: var(--navy-70); margin-top: 2px; 
}

.form-secure svg {
  width: 14px;
  height: 14px;
  color: #F97316;
}

/* Decorative Arrow Wrappers */
.decor-dotted-wrap {
  position: absolute; top: -45px; left: -90px;
  width: 140px; height: 140px; z-index: 1; pointer-events: none;
}

@media(max-width: 900px) {
  .decor-dotted-wrap { display: none; }
}

@media(min-width: 640px) {
  .hero-rule{ display:block; }
  .hero-form { padding: 32px; }
  .form-group-row { grid-template-columns: 1fr 1fr; }
}

@media(min-width: 900px){
  .hero .container{ grid-template-columns:1fr 1fr; }
  .hero-feats{ grid-template-columns:repeat(3,1fr); }
  .hero-form-wrapper { margin: 0 0 0 auto; }
}

/* --- Peeking Eyes Sticker --- */
.decor-eyes-wrap {
  position: absolute;
  top: -32px;
  right: -24px;
  width: 85px;
  height: auto;
  z-index: 5;
  pointer-events: none;
  transform: rotate(12deg);
  filter: drop-shadow(0 10px 15px rgba(15, 23, 42, 0.15));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

/* Adds that GenZ playful wiggle when they mouse over the form area */
.hero-form-wrapper:hover .decor-eyes-wrap {
  transform: scale(1.1) rotate(4deg) translateY(-4px);
  filter: drop-shadow(0 15px 25px rgba(15, 23, 42, 0.25));
}

.eyes-sticker {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustment for mobile screens */
@media(max-width: 640px) {
  .decor-eyes-wrap {
    width: 65px;
    top: -24px;
    right: -12px;
  }
}

/* =========================================================
   Firebase Celebration Popup
   ========================================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg) scale(0.5);
    opacity: 0;
  }
}

/* =========================================================
   MARQUEE SLIDER
   ========================================================= */
.marquee-section {
  position: relative; width: 100%; padding: 40px 0;
  border-top: 1px solid var(--gray); border-bottom: 1px solid var(--gray);
  background: var(--white); overflow: hidden;
}

.decor-ellipse-wrap {
  position: absolute; top: -20px; right: 10%;
  width: 180px; height: 100px; z-index: 5; pointer-events: none;
}
@media(max-width: 640px) { .decor-ellipse-wrap { right: -20px; width: 120px; } }

.marquee-wrap { width: 100%; overflow: hidden; display: flex; white-space: nowrap; }
.marquee-track { display: flex; gap: 2rem; padding-right: 2rem; width: max-content; }
.marquee-track h2 {
  font-family: var(--font-head); font-size: clamp(34px, 6vw, 72px);
  font-weight: 800; color: var(--navy); text-transform: uppercase;
  margin: 0; line-height: 1;
}
.marquee-track h2 span { color: var(--pink); -webkit-text-stroke: 1px var(--pink); margin-inline: 1rem; }

/* =========================================================
   Stats bar (reusable)
   ========================================================= */
.stats-bar{
  display:grid; grid-template-columns:repeat(2,1fr); gap:26px 16px;
  background:#fff; border:1px solid var(--gray); border-radius:var(--radius-l);
  padding:28px 20px; box-shadow:var(--shadow-s);
}
.stats-bar.dark{ background:var(--navy); border-color:var(--navy); }
.stat-item{ display:flex; align-items:flex-start; gap:12px; }
.stat-item .num{ font-family:var(--font-head); font-weight:800; font-size:22px; }
.stat-item .lbl-title{ font-weight:700; font-size:13.5px; }
.stat-item .lbl-sub{ font-size:12px; color:var(--navy-70); }
.stat-icon{
  width:40px; height:40px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.stat-icon svg{ width:19px; height:19px; }
@media(min-width:768px){ .stats-bar{ grid-template-columns:repeat(4,1fr); } }
@media(min-width:1024px){ .stats-bar.five{ grid-template-columns:repeat(5,1fr); } }

/* =========================================================
   Services (Creative Staggered Edition)
   ========================================================= */
.services { 
  background: var(--white); 
  position: relative;
  overflow: hidden;
}

.services-layout { 
  display: grid; 
  gap: 32px; 
  margin-bottom: 64px; 
}

/* Sticky Image Sidebar */
.services-hero-img {
  display: none; 
  position: relative; 
  overflow: hidden; 
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
}

.services-img {
  width: 100%; height: 100%; 
  object-fit: cover; object-position: center;
  will-change: transform; transform: translateZ(0);
}

/* Service Grid & Cards */
.service-grid { 
  display: grid; 
  gap: 24px; 
  grid-template-columns: 1fr; 
}

.service-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.04);
  border-radius: 28px;
  padding: 36px 28px; 
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05); 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative; 
  overflow: hidden;
}

.service-card:hover { 
  transform: translateY(-12px); 
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12); 
  background: #ffffff;
}

/* Icon Animations */
.service-card .icon-badge { 
  margin-bottom: 24px; 
  width: 54px; height: 54px; 
  border-radius: 16px; 
  transition: transform 0.4s ease;
}

.service-card .icon-badge svg { width: 24px; height: 24px; }

.service-card:hover .icon-badge {
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--navy-70); line-height: 1.6; margin-bottom: 8px;}

/* Expanding Animated Bottom Bar */
.service-card .bar { 
  position: absolute;
  bottom: 0; left: 0;
  height: 4px; 
  width: 0; /* Starts hidden */
  transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.service-card:hover .bar {
  width: 100%; /* Expands to full width on hover */
}

/* Color definitions for the expanding bars */
.bar-purple { background: #8B5CF6; }
.bar-blue { background: #2563EB; }
.bar-teal { background: #00B894; }
.bar-orange { background: #FF9F1C; }
.bar-pink { background: #E63980; }

/* Dark Premium Stats Bar */
.stats-bar.dark-stats {
  background: radial-gradient(150% 150% at 50% -20%, #1E293B 0%, var(--navy) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -10px rgba(15,23,42,0.3);
}

.stats-bar.dark-stats .num { color: #ffffff; }
.stats-bar.dark-stats .lbl-title { color: #f8fafc; font-weight: 700;}
.stats-bar.dark-stats .lbl-sub { color: #94A3B8; }

/* Responsive Layout */
@media(min-width: 640px) { 
  .service-grid { grid-template-columns: 1fr 1fr; } 
}

@media(min-width: 900px) {
  .services-layout { 
    grid-template-columns: 280px 1fr; 
    align-items: start; /* Allows sticky positioning to work */
  }
  .services-sidebar {
    position: sticky;
    top: 120px; /* Sticks the image to the screen as user scrolls */
  }
  .services-hero-img { 
    display: block; 
    height: calc(100vh - 200px); 
    min-height: 400px;
    max-height: 600px;
  }
}

@media(min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  
  /* Masonry Stagger Effect: Pushes the middle column down */
  .service-card:nth-child(3n+2) { 
    margin-top: 40px; 
    margin-bottom: -40px; 
  }
}
/* ============================================================
   ZIGZAG DIVIDER
============================================================ */
.zigzag-divider{
  background:var(--paper);position:relative;overflow:hidden;
  padding:18px 0 6px;line-height:0;
}
.zigzag-divider svg{display:block;width:100%;height:auto;max-height:64px;}
.zigzag-divider .zigzag{
  stroke-dasharray:1200;stroke-dashoffset:1200;
}
.zigzag-divider.in-view .zigzag{
  animation:dashDraw 1.8s ease-out forwards;
}
@keyframes dashDraw{ to{ stroke-dashoffset:0; } }
/* =========================================================
   Roadway Process Component
   ========================================================= */
.roadway-section {
  position: relative;
  background: #F5F0E8;
  padding: 80px 0;
  overflow: hidden;
}

/* SVG Background */
.roadway-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
  overflow: hidden;
}

.roadway-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.roadway-section .container {
  position: relative;
  z-index: 1;
}

/* Section Head with Arrow */
.section-head-with-arrow {
  margin-bottom: 40px;
}

.section-head-arrow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.section-head-arrow-wrapper .section-head {
  text-align: center;
  max-width: 640px;
  margin: 0;
  flex-shrink: 0;
}

/* Spring Arrow Component */
.spring-arrow-component {
  width: 200px;
  height: auto;
  cursor: pointer;
  overflow: visible;
  display: inline-block;
  flex-shrink: 0;
}

.loop-arrow-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.spring-loop-path-road {
  fill: none;
  stroke: #f87171;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 9, 9;
  stroke-dashoffset: 0;
}

.arrow-head-road {
  fill: #f87171;
}

.roadway-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.the-road {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70px; 
  background: var(--navy);
  border-radius: 35px;
  box-shadow: inset 0 4px 15px rgba(0,0,0,0.4), 0 10px 30px rgba(15,23,42,0.1);
  z-index: 1;
  overflow: hidden;
}

.road-dashed-line {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: repeating-linear-gradient(to bottom, #334155 0, #334155 20px, transparent 20px, transparent 40px);
}

.road-progress-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%; 
  background: var(--grad-brand);
  z-index: 2;
  box-shadow: 0 10px 20px rgba(230,57,128,0.3);
}

.road-progress-dashed {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100vh;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.9) 0, rgba(255,255,255,0.9) 20px, transparent 20px, transparent 40px);
}

.road-stop {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 70px;
  z-index: 3;
}
.road-stop:last-child { margin-bottom: 0; }
.road-stop.left { justify-content: flex-start; }
.road-stop.right { justify-content: flex-end; }

.stop-card {
  width: calc(50% - 70px);
  opacity: 0; 
  margin-bottom: 0 !important; 
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.stop-card:hover {
  background: rgba(255, 252, 248, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stop-node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  background: #fff;
  border: 4px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  box-shadow: var(--shadow-m);
  z-index: 4;
  transition: border-color 0.4s ease, color 0.4s ease, transform 0.3s ease;
}

/* Section headings on beige background */
.roadway-section .eyebrow {
  color: var(--pink);
}

.roadway-section .section-head h2 {
  color: var(--navy);
}

.roadway-section .section-head p {
  color: #4A4A4A;
}

@media (max-width: 768px) {
  .the-road { left: 45px; }
  .road-stop { justify-content: flex-end !important; }
  .stop-card { width: calc(100% - 100px); }
  .stop-node { left: 45px; }
  
  .roadway-bg {
    opacity: 0.25;
  }
  
  .stop-card {
    background: rgba(255, 252, 248, 0.96);
  }
  
  .section-head-arrow-wrapper {
    flex-direction: column;
    gap: 10px;
  }
  
  .spring-arrow-component {
    width: 140px;
  }
}

/* Imports a real handwritten marker font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;700&display=swap');

/* =========================================================
   Premium Textured Wall Background
   ========================================================= */
.premium-wall-section {
  position: relative;
  overflow: hidden;
  background-color: #121822 !important; /* Deep, dark wall to make bright notes pop */
  /* SVG Noise for a realistic matte wall texture */
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

.relative-container {
  position: relative;
  z-index: 2;
}

/* =========================================================
   Featured Books (Honeycomb Grid) - UNTOUCHED
   ========================================================= */
:root {
  --hc-columns: 3;
  --hc-yellow: rgba(238, 188, 31, 1);
  --hc-pink: rgba(255, 82, 145, 1);
  --hc-blue: rgba(64, 98, 187, 1);
  --hc-green: rgba(6, 141, 126, 1);
  --hc-white: rgba(248, 255, 229, 1);
}

.books {
  background-color: #182028;
  position: relative;
  overflow: hidden;
}

.honeycomb-grid {
  display: grid;
  grid-template-columns: repeat(var(--hc-columns), 1fr);
  margin: 140px -20px;
  padding: 0;
  list-style: none;
}

.honeycomb-item {
  grid-column-end: span 2;
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  margin-top: -50%;
}

.honeycomb-item:nth-child(2n) {
  grid-column-start: 2;
}

.honeycomb-item::before,
.honeycomb-item::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-size: 50% 100%, 100% 100%;
  background-position: left, right;
}

.honeycomb-item::before {
  z-index: -10;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  -webkit-clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background-repeat: no-repeat;
  background-image:
    linear-gradient(-45deg, var(--hc-yellow) 53.5%, var(--hc-green) 53.5%, var(--hc-green) 60%, var(--hc-yellow) 60%),
    linear-gradient(45deg, var(--hc-yellow) 65.3%, var(--hc-green) 65.3%, var(--hc-green) 69.9%, var(--hc-yellow) 69.9%);
}

.honeycomb-item::after {
  clip-path: polygon(100% 50%, 50% 100%, 0 50%, 20% 50%, 50% 80%, 80% 50%);
  -webkit-clip-path: polygon(100% 50%, 50% 100%, 0 50%, 20% 50%, 50% 80%, 80% 50%);
  background-repeat: no-repeat;
  background-image:
    linear-gradient(45deg, var(--hc-yellow) 40%, var(--hc-green) 40%),
    linear-gradient(-45deg, var(--hc-yellow) 30%, var(--hc-green) 30%);
}

.honeycomb-item:nth-child(2n)::before {
  background-image:
    linear-gradient(-45deg, var(--hc-pink) 53.5%, var(--hc-blue) 53.5%, var(--hc-blue) 60%, var(--hc-pink) 60%),
    linear-gradient(45deg, var(--hc-pink) 65.3%, var(--hc-blue) 65.3%, var(--hc-blue) 69.9%, var(--hc-pink) 69.9%);
}

.honeycomb-item:nth-child(2n)::after {
  background-image:
    linear-gradient(45deg, var(--hc-pink) 40%, var(--hc-blue) 40%),
    linear-gradient(-45deg, var(--hc-pink) 30%, var(--hc-blue) 30%);
}

.honeycomb-item:nth-child(5n)::before {
  background-image:
    linear-gradient(-45deg, var(--hc-green) 53.5%, var(--hc-pink) 53.5%, var(--hc-pink) 60%, var(--hc-green) 60%),
    linear-gradient(45deg, var(--hc-green) 65.3%, var(--hc-pink) 65.3%, var(--hc-pink) 69.9%, var(--hc-green) 69.9%);
}

.honeycomb-item:nth-child(5n)::after {
  background-image:
    linear-gradient(45deg, var(--hc-green) 40%, var(--hc-pink) 40%),
    linear-gradient(-45deg, var(--hc-green) 30%, var(--hc-pink) 30%);
}

.honeycomb-item:nth-child(7n)::before,
.honeycomb-item:nth-child(7n-4)::before {
  background-image:
    linear-gradient(-45deg, var(--hc-blue) 53.5%, var(--hc-white) 53.5%, var(--hc-white) 60%, var(--hc-blue) 60%),
    linear-gradient(45deg, var(--hc-blue) 65.3%, var(--hc-white) 65.3%, var(--hc-white) 69.9%, var(--hc-blue) 69.9%);
}

.honeycomb-item:nth-child(7n)::after,
.honeycomb-item:nth-child(7n-4)::after {
  background-image:
    linear-gradient(45deg, var(--hc-blue) 40%, var(--hc-white) 40%),
    linear-gradient(-45deg, var(--hc-blue) 30%, var(--hc-white) 30%);
}

.honeycomb-item:nth-child(9n)::before,
.honeycomb-item:nth-child(9n-5)::before {
  background-image:
    linear-gradient(-45deg, var(--hc-white) 53.5%, var(--hc-green) 53.5%, var(--hc-green) 60%, var(--hc-white) 60%),
    linear-gradient(45deg, var(--hc-white) 65.3%, var(--hc-green) 65.3%, var(--hc-green) 69.9%, var(--hc-white) 69.9%);
}

.honeycomb-item:nth-child(9n)::after,
.honeycomb-item:nth-child(9n-5)::after {
  background-image:
    linear-gradient(45deg, var(--hc-white) 40%, var(--hc-green) 40%),
    linear-gradient(-45deg, var(--hc-white) 30%, var(--hc-green) 30%);
}

.honeycomb-item img {
  position: absolute;
  width: 43%;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-60%);
  box-shadow: 5px -5px 10px rgba(0, 0, 0, 0.3);
  transition-property: transform;
  transition-duration: 0.3s;
}

.honeycomb-item img:hover {
  transform: translateX(-40%) translateY(-70%) rotatez(25deg);
}

/* --- Media Queries for Grid Layout --- */
@media (min-width: 450px) {
  .honeycomb-grid {
    margin: 190px 40px;
  }
}
@media (min-width: 600px) {
  :root { --hc-columns: 5; }
  .honeycomb-item:nth-child(2n) { grid-column-start: auto; }
  .honeycomb-item:nth-child(4n-1) { grid-column-start: 2; }
}
@media (min-width: 900px) {
  :root { --hc-columns: 7; }
  .honeycomb-item:nth-child(4n-1) { grid-column-start: auto; }
  .honeycomb-item:nth-child(6n-2) { grid-column-start: 2; }
}
@media (min-width: 1200px) {
  :root { --hc-columns: 9; }
  .honeycomb-item:nth-child(6n-2) { grid-column-start: auto; }
  .honeycomb-item:nth-child(8n-3) { grid-column-start: 2; }
}
@media (min-width: 1500px) {
  :root { --hc-columns: 11; }
  .honeycomb-item:nth-child(8n-3) { grid-column-start: auto; }
  .honeycomb-item:nth-child(10n-4) { grid-column-start: 2; }
}
@media (min-width: 1800px) {
  :root { --hc-columns: 13; }
  .honeycomb-item:nth-child(10n-4) { grid-column-start: auto; }
  .honeycomb-item:nth-child(12n-5) { grid-column-start: 2; }
}
@media (min-width: 2100px) {
  :root { --hc-columns: 15; }
  .honeycomb-item:nth-child(12n-5) { grid-column-start: auto; }
  .honeycomb-item:nth-child(14n-6) { grid-column-start: 2; }
}


/* =========================================================
   Handwritten Sticky Notes on Wall
   ========================================================= */
.sticky-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 100px;
  padding: 40px 20px;
}

.sticky-note {
  position: relative;
  padding: 40px 24px 30px;
  /* Slight irregular corners like real paper */
  border-radius: 2px 2px 20px 4px; 
  /* Realistic shadow giving depth off the "wall" */
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.4), inset -2px -5px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.sticky-note:hover {
  /* When hovered, note straightens out and lifts towards the screen */
  transform: translateY(-8px) rotate(0deg) scale(1.05) !important;
  box-shadow: 8px 15px 30px rgba(0, 0, 0, 0.6), inset -2px -5px 15px rgba(0,0,0,0.03);
  z-index: 10;
}

/* Translucent Tape styling */
.note-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 90px;
  height: 30px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  z-index: 6;
}

/* Handwritten Typography - Updated to Kalam font */
.sticky-note .hw-num,
.sticky-note .hw-title,
.sticky-note .hw-sub {
  font-family: 'Kalam', cursive, sans-serif;
  color: #111827;
}

.sticky-note .hw-num {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.sticky-note .hw-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
}

.sticky-note .hw-sub {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
  color: #374151;
}

/* Individual Note Rotations & Colors */
.note-yellow { 
  background: linear-gradient(145deg, #FEF3C7, #FDE68A); 
  transform: rotate(-3deg); 
}
.note-pink { 
  background: linear-gradient(145deg, #FCE7F3, #FBCFE8); 
  transform: rotate(2deg); 
}
.note-mint { 
  background: linear-gradient(145deg, #CCFBF1, #99F6E4); 
  transform: rotate(-1.5deg); 
}
.note-peach { 
  background: linear-gradient(145deg, #FFEDD5, #FED7AA); 
  transform: rotate(3deg); 
}
.note-wide { 
  background: linear-gradient(145deg, #F3F0FF, #E0D4FC); 
  grid-column: 1 / -1; 
  transform: rotate(-1deg);
  padding: 40px 60px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .sticky-board { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .note-wide { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .sticky-board { grid-template-columns: 1fr; gap: 50px; }
  .note-wide { padding: 40px 24px; }
}

/* Decorative wall arrows */
.books-arrow{
  position:absolute;
  z-index:1;
  pointer-events:none;
  opacity:.6;
}
.books-arrow svg{ width:100%; height:100%; display:block; overflow:visible; }
.books-arrow-1{ top:3%;   left:3%;  width:clamp(48px,10vw,150px); }
.books-arrow-2{ top:8%;   right:3%; width:clamp(52px,11vw,170px); }
.books-arrow-3{ bottom:4%; left:4%; width:clamp(40px,8vw,120px); }
@media(max-width:640px){
  .books-arrow{ opacity:.45; }
  .books-arrow-1{ width:clamp(40px,16vw,70px); top:1.5%; left:2%; }
  .books-arrow-2{ width:clamp(40px,16vw,70px); top:5%;  right:2%; }
  .books-arrow-3{ width:clamp(34px,13vw,60px); bottom:2%; left:3%; }
}
.draw-arrow{ stroke-dasharray:600; stroke-dashoffset:600; }

/* =========================================================
   Testimonials — Cardless Moving Stickers
   ========================================================= */
.cardless-marquee {
  background: var(--white);
  overflow: hidden;
  padding-bottom: 80px;
}

.sticker-marquee-wrap {
  width: 100%;
  overflow: hidden;
  display: flex;
  white-space: normal;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.sticker-marquee-track {
  display: flex;
  gap: 70px;
  padding-right: 70px;
  width: max-content;
  animation: stickerScroll 40s linear infinite;
  will-change: transform;
}

.sticker-marquee-wrap:hover .sticker-marquee-track {
  animation-play-state: paused;
}

@keyframes stickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

.sticker-item {
  width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

/* Big Photo & Rating Badge Setup */
.sticker-photo-wrap {
  position: relative;
  margin-bottom: 24px;
  display: inline-block;
}

.big-sticker-img {
  height: 280px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(15,23,42,0.15));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.sticker-item:hover .big-sticker-img {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 25px 35px rgba(15,23,42,0.25));
}

.sticker-rating.apple-pill {
  position: absolute;
  bottom: 15px;
  right: -15px;
  /* Dark frosted glass ensures maximum text visibility */
  background: rgba(15, 23, 42, 0.85); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: #FBBF24; /* Vibrant, crisp yellow */
  font-weight: 800;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  z-index: 2;
  transform: rotate(-4deg);
  transition: transform 0.3s ease;
}

.sticker-item:hover .sticker-rating.apple-pill {
  transform: rotate(0deg) scale(1.05);
}

.sticker-content .quote {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 16px;
}

.author-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-meta .name {
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-head);
}

.author-meta .book {
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .sticker-item { width: 300px; }
  .big-sticker-img { height: 240px; }
  .sticker-marquee-track { gap: 40px; padding-right: 40px; }
}
@media (max-width: 480px) {
  .sticker-item { width: 260px; }
  .big-sticker-img { height: 210px; }
}
.cardless-marquee {
  background-color: var(--white);
  /* Bolder grid pattern with wider gaps */
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.08) 2px, transparent 2px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.08) 2px, transparent 2px);
  background-size: 100px 100px; /* Increased from 40px to 100px for a larger gap */
  background-position: center top;
  overflow: hidden;
  padding-bottom: 80px;
}

/* =========================================================
   Recognized By (compliance / registration trust strip)
   ========================================================= */
.trust-strip{
  background:#fff; border-bottom:1px solid var(--gray);
  padding:20px 0;
}
.trust-strip-inner{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:14px; text-align:center;
}
.trust-strip-label{
  font-family:var(--font-head); font-size:11px; font-weight:800; letter-spacing:.16em;
  text-transform:uppercase; color:var(--navy-50); flex-shrink:0;
}
.trust-strip-divider{ display:none; width:1px; height:26px; background:var(--gray); }
.trust-strip-badges{ display:flex; align-items:center; justify-content:center; gap:28px; flex-wrap:wrap; }
.trust-badge{ height:34px; width:auto; object-fit:contain; filter:grayscale(.15); opacity:.92; }
@media(min-width:640px){
  .trust-strip-inner{ flex-direction:row; }
  .trust-strip-divider{ display:block; }
}

/* =========================================================
   OUR GLOBAL NETWORK
   ========================================================= */
.global-partners{
  position:relative; z-index:2; overflow:hidden;
  padding:76px 0 64px;
  background:radial-gradient(120% 100% at 50% 0%, #0F1B33 0%, var(--navy) 55%, #0A1220 100%);
  color:#fff;
}

.gp-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 18, 32, 0.5);
  pointer-events: none;
}

.gp-map-bg{
  position:absolute; inset:-6% -4%; z-index:0; pointer-events:none;
  opacity: 0.35;
  mix-blend-mode: screen;
  will-change:transform;
}
.gp-map-bg img{ width:100%; height:100%; object-fit:cover; }

.global-partners::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background: radial-gradient(60% 60% at 50% 30%, transparent 0%, rgba(10, 18, 32, 0.7) 92%);
}

.gp-head{ position:relative; z-index:3; text-align:center; margin-bottom:50px; }
.global-partners .eyebrow{ color:var(--orange); justify-content:center; }
.gp-head h2{ color:#fff; font-size:clamp(26px,5vw,40px); font-weight:800; margin-bottom:12px; }
.gp-head p{ color:#CBD5E1; font-weight:500; max-width:600px; margin:0 auto; font-size:15px; }

.gp-row{ position:relative; z-index:3; margin-bottom:28px; }
.gp-row-label{
  display:flex; align-items:center; gap:12px; max-width:var(--container); margin:0 auto 16px; padding-inline:var(--gutter);
}
.gp-row-label span{
  font-family:var(--font-head); font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase;
  color:#94A3B8; white-space:nowrap;
}
.gp-row-label::after{ content:""; flex:1; height:1px; background:rgba(255,255,255,.12); }

.gp-marquee{
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  overflow: hidden;
}
.gp-track{ 
  display: flex;
  gap: 16px; 
  padding-right: 16px; 
  align-items: center; 
  width: max-content;
  will-change: transform;
}

/* =========================================================
   Global Partners — Clean White Cards with Visible Logos
   ========================================================= */
.gp-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-m);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: default;
  min-height: 64px;
}

.gp-badge:hover {
  background: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.gp-partner-logo {
  height: 42px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  filter: none; /* Remove any filters for clean logo */
}

.gp-badge:hover .gp-partner-logo {
  transform: scale(1.05);
}

.gp-badge .gp-badge-name {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.gp-badge:hover .gp-badge-name {
  color: #0F172A;
}

/* =========================================================
   Distribution Partners — Static Grid (No Carousel)
   ========================================================= */
.distribution-row {
  margin-bottom: 32px;
}

.distribution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 3;
}

.dist-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-m);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  min-height: 110px;
}

.dist-partner:hover {
  background: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.dist-logo {
  height: 44px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  filter: none;
}

.dist-partner:hover .dist-logo {
  transform: scale(1.05);
}

.dist-name {
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  text-align: center;
}

.dist-partner:hover .dist-name {
  color: #0F172A;
}

/* =========================================================
   Features & Stats
   ========================================================= */
.gp-features{
  position:relative; z-index:3; margin-top:44px;
  display:grid; grid-template-columns:1fr; gap:18px;
  padding:26px var(--gutter);
  border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08);
}
.gp-feature{ display:flex; gap:12px; align-items:flex-start; }
.gp-feature-icon{
  flex-shrink:0; width:38px; height:38px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,159,28,.14); color:var(--orange);
}
.gp-feature-icon svg{ width:18px; height:18px; }
.gp-feature h5{ font-size:13.5px; font-weight:800; color:#fff; margin-bottom:2px; }
.gp-feature p{ font-size:12px; color:#94A3B8; }
@media(min-width:640px){ .gp-features{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1000px){ .gp-features{ grid-template-columns:repeat(4,1fr); gap:24px; } }

.gp-stats{
  position:relative; z-index:3; margin-top:44px;
  display:grid; grid-template-columns:repeat(2,1fr); gap:20px 14px; text-align:center;
}
.gp-stat .num{ font-family:var(--font-head); font-weight:800; font-size:26px; color:#fff; }
.gp-stat .lbl{ font-size:12px; color:#94A3B8; font-weight:600; margin-top:2px; }
@media(min-width:768px){ .gp-stats{ grid-template-columns:repeat(4,1fr); } }

/* =========================================================
   Responsive Adjustments
   ========================================================= */
@media (max-width: 768px) {
  .gp-partner-logo {
    height: 32px;
    max-width: 60px;
  }
  .gp-badge {
    padding: 8px 16px 8px 12px;
    min-height: 52px;
    gap: 10px;
  }
  .gp-badge .gp-badge-name {
    font-size: 12px;
  }
  
  .distribution-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
  }
  
  .dist-partner {
    padding: 16px 12px;
    min-height: 90px;
  }
  
  .dist-logo {
    height: 34px;
    max-width: 60px;
  }
  
  .dist-name {
    font-size: 11px;
  }
}
/* =========================================================
   Spring / elastic decorative arrows (reusable, scattered)
   ========================================================= */
.spring-arrow-slot{ position:absolute; z-index:6; pointer-events:none; }
.spring-arrow{ width:100%; height:auto; overflow:visible; display:block; }
.spring-arrow .sa-path{
  fill:none; stroke:var(--pink); stroke-width:3; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:8 8;
}
.spring-arrow .sa-head{ fill:var(--pink); }
.spring-arrow.teal .sa-path{ stroke:var(--teal); } .spring-arrow.teal .sa-head{ fill:var(--teal); }
.spring-arrow.orange .sa-path{ stroke:var(--orange); } .spring-arrow.orange .sa-head{ fill:var(--orange); }
.spring-arrow.purple .sa-path{ stroke:#8B5CF6; } .spring-arrow.purple .sa-head{ fill:#8B5CF6; }
@media(max-width:900px){ .spring-arrow-slot{ display:none; } }

/* =========================================================
   WHY CHOOSE PUBLISHPAGES
========================================================= */

.why {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: var(--white);
}


/* =========================================================
   EXISTING SVG BACKGROUND
========================================================= */

.why-html-bg {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  z-index: 0;

  pointer-events: none;

  opacity: 1;
}


/* Keep content above SVG */

.why > .container {
  position: relative;
  z-index: 2;
}


/* =========================================================
   HEADER
========================================================= */

.why-header {
  max-width: 720px;

  margin: 0 auto 55px;

  text-align: center;
}

.section-kicker {
  display: inline-block;

  margin-bottom: 14px;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 1.8px;

  color: var(--teal);
}

.why-header h2 {
  margin: 0;

  font-size: clamp(34px, 5vw, 56px);

  line-height: 1.05;

  font-weight: 800;

  letter-spacing: -1.8px;

  color: var(--navy);
}

.why-header h2 span {
  display: block;

  background: var(--grad-brand);

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.why-header p {
  max-width: 600px;

  margin: 20px auto 0;

  font-size: 16px;

  line-height: 1.65;

  color: var(--navy-70);
}


/* =========================================================
   GRID
========================================================= */

.why-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}


/* =========================================================
   CARD
========================================================= */

.why-card {
  position: relative;

  min-height: 265px;

  padding: 28px;

  border: 1px solid var(--gray);

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.92);

  backdrop-filter: blur(8px);

  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}


/* Soft color glow */

.why-card::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  top: -100px;
  right: -70px;

  border-radius: 50%;

  opacity: 0.09;

  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}


/* Bottom accent */

.why-card::after {
  content: "";

  position: absolute;

  left: 28px;
  right: 28px;
  bottom: 0;

  height: 3px;

  border-radius: 3px 3px 0 0;

  transform: scaleX(0);

  transform-origin: left;

  transition: transform 0.4s ease;
}


/* Hover */

.why-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.10);

  border-color: transparent;
}

.why-card:hover::before {
  transform: scale(1.35);

  opacity: 0.14;
}

.why-card:hover::after {
  transform: scaleX(1);
}


/* =========================================================
   CARD COLORS
========================================================= */

.why-blue::before {
  background: #168BEA;
}

.why-blue::after {
  background: #168BEA;
}

.why-green::before {
  background: #65A30D;
}

.why-green::after {
  background: #65A30D;
}

.why-orange::before {
  background: #F97316;
}

.why-orange::after {
  background: #F97316;
}

.why-purple::before {
  background: #9333EA;
}

.why-purple::after {
  background: #9333EA;
}

.why-pink::before {
  background: #DB2777;
}

.why-pink::after {
  background: #DB2777;
}

.why-teal::before {
  background: #00B894;
}

.why-teal::after {
  background: #00B894;
}


/* =========================================================
   CARD TOP
========================================================= */

.why-card-top {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 25px;
}


/* =========================================================
   MODERN ICON
========================================================= */

.why-icon {
  width: 62px;
  height: 62px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 17px;

  position: relative;
}


/* Small highlight */

.why-icon::after {
  content: "";

  position: absolute;

  width: 7px;
  height: 7px;

  top: 8px;
  right: 8px;

  border-radius: 50%;

  background: currentColor;

  opacity: 0.18;
}


/* SVG */

.why-icon svg {
  width: 34px;
  height: 34px;

  fill: none;

  stroke-width: 2.2;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Icon backgrounds */

.why-blue .why-icon {
  color: #1765C0;
  background: #E8F5FF;
}

.why-blue .why-icon svg {
  stroke: #1765C0;
}


.why-green .why-icon {
  color: #4D8D18;
  background: #F0F8DF;
}

.why-green .why-icon svg {
  stroke: #4D8D18;
}


.why-orange .why-icon {
  color: #EA580C;
  background: #FFF0E3;
}

.why-orange .why-icon svg {
  stroke: #EA580C;
}


.why-purple .why-icon {
  color: #7E22CE;
  background: #F2E7FF;
}

.why-purple .why-icon svg {
  stroke: #7E22CE;
}


.why-pink .why-icon {
  color: #BE185D;
  background: #FFE6F0;
}

.why-pink .why-icon svg {
  stroke: #BE185D;
}


.why-teal .why-icon {
  color: #008F83;
  background: #E2F8F5;
}

.why-teal .why-icon svg {
  stroke: #008F83;
}


/* =========================================================
   NUMBER
========================================================= */

.why-number {
  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1px;

  color: #94A3B8;
}


/* =========================================================
   TEXT
========================================================= */

.why-card h3 {
  margin: 0 0 10px;

  font-size: 21px;

  line-height: 1.15;

  font-weight: 800;

  letter-spacing: -0.4px;

  color: var(--navy);
}

.why-card p {
  max-width: 340px;

  margin: 0;

  font-size: 14px;

  line-height: 1.6;

  color: var(--navy-70);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

  .why {
    padding: 80px 0;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 620px) {

  .why {
    padding: 65px 0;
  }

  .why-header {
    margin-bottom: 40px;
  }

  .why-header h2 {
    letter-spacing: -1px;
  }

  .why-header p {
    font-size: 15px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: 240px;

    padding: 24px;
  }

}
/* =========================================================
   WHY SECTION — ATTRACTIVE HEADER
========================================================= */

.why-header {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}


/* =========================================================
   KICKER
========================================================= */

.why-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  margin-bottom: 18px;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 2.2px;

  color: #EA580C;
}

.why-kicker-line {
  width: 32px;
  height: 2px;

  border-radius: 10px;

  background: #EA580C;

  opacity: 0.7;
}


/* =========================================================
   MAIN HEADING
========================================================= */

.why-header h2 {
  margin: 0;

  font-size: clamp(38px, 5vw, 58px);

  line-height: 1.02;

  font-weight: 850;

  letter-spacing: -2.2px;

  color: var(--navy);
}


/* Second line */

.why-header h2 span {
  display: block;

  margin-top: 5px;

  background: linear-gradient(
    90deg,
    #7C3AED 0%,
    #C026D3 45%,
    #EA580C 100%
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}


/* =========================================================
   SMALL DECORATIVE ACCENT
========================================================= */

.why-heading-accent {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 5px;

  margin: 18px auto 17px;
}

.why-heading-accent span {
  display: block;

  height: 4px;

  border-radius: 10px;

  transform: skewX(-25deg);
}


/* Different lengths */

.why-heading-accent span:nth-child(1) {
  width: 22px;
  background: #168BEA;
}

.why-heading-accent span:nth-child(2) {
  width: 42px;
  background: #9333EA;
}

.why-heading-accent span:nth-child(3) {
  width: 22px;
  background: #F97316;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.why-header p {
  max-width: 610px;

  margin: 0 auto;

  font-size: 16px;

  line-height: 1.65;

  color: var(--navy-70);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 620px) {

  .why-header {
    margin-bottom: 40px;
  }

  .why-kicker {
    font-size: 10px;
    letter-spacing: 1.8px;
  }

  .why-kicker-line {
    width: 22px;
  }

  .why-header h2 {
    font-size: clamp(34px, 10vw, 44px);
    letter-spacing: -1.5px;
  }

  .why-header h2 span {
    margin-top: 7px;
  }

  .why-header p {
    font-size: 15px;
  }

}

/* =========================================================
   FAQ Section
   ========================================================= */
.faq-section {
  padding: 100px 0;
  background-color: var(--white);
  /* Matching Bolder Grid Pattern */
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.08) 2px, transparent 2px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.08) 2px, transparent 2px);
  background-size: 100px 100px; 
  background-position: center top;
  position: relative;
  overflow: hidden; /* Keeps the decor inside the section */
}

/* Floating Ellipse SVG Decor */
.faq-decor {
  position: absolute;
  top: 60px;
  left: 10%;
  width: 180px;
  height: 180px;
  z-index: 1;
  opacity: 0.65;
  pointer-events: none;
}

/* Elevates the content above the grid and SVG decor */
.faq-section .relative-container {
  position: relative;
  z-index: 2;
}

.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.faq-header p {
  margin-top: 8px;
  font-size: 16px;
  color: var(--navy-70);
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(4px);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
}

.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.faq-item.active {
  border-color: var(--teal);
  box-shadow: 0 14px 35px rgba(0, 184, 148, 0.1);
  transform: scale(1.01);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--pink);
}

.faq-item.active .faq-question {
  color: var(--teal);
}

.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
}

.faq-item.active .faq-icon {
  background: rgba(0, 184, 148, 0.1);
  color: var(--teal);
  transform: rotate(135deg); 
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 24px;
}

.faq-item.active .faq-answer-inner {
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--navy-70);
  margin: 0;
}

@media(max-width: 900px) {
  .faq-decor { left: -40px; top: 20px; width: 140px; }
}

@media(max-width: 640px) {
  .faq-question { font-size: 15px; padding: 20px; }
  .faq-answer-inner { padding: 0 20px; }
  .faq-item.active .faq-answer-inner { padding-bottom: 20px; }
}
/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--navy);
  color: #fff;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}

/* ---------------------------------------------------------
   Footer Background Map
   --------------------------------------------------------- */

.footer-map-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* Keep footer content above background */
.site-footer .container,
.site-footer .footer-terminal {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------
   Footer Top
   --------------------------------------------------------- */

.footer-top {
  padding: 56px var(--gutter) 36px;
  display: grid;
  gap: 48px;
}

/* ---------------------------------------------------------
   Footer Brand
   --------------------------------------------------------- */

.footer-brand .logo-word {
  color: #fff;
  line-height: 1;
}

.footer-full-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal);
  margin: 18px 0 10px;
  line-height: 1.4;
}

.footer-brand p {
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 24px;
  max-width: 340px;
}

/* ---------------------------------------------------------
   Social Links
   --------------------------------------------------------- */

.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.2s ease;
}

.social-row a:hover {
  background: var(--grad-brand);
  transform: translateY(-3px);
}

.social-row svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------
   Footer Columns
   --------------------------------------------------------- */

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: #fff;
  margin-bottom: 18px;

  position: relative;
  padding-top: 12px;
}

.footer-col h5::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 28px;
  height: 2.5px;

  border-radius: 2px;
  background: var(--grad-brand);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: #94A3B8;
  transition: 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

/* ---------------------------------------------------------
   PublishPages Kids Special Link
   --------------------------------------------------------- */

.highlight-link {
  color: var(--orange) !important;
  font-weight: 700;

  display: inline-flex;
  align-items: center;
}

/* ---------------------------------------------------------
   Footer Bottom
   --------------------------------------------------------- */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  padding: 32px var(--gutter);

  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------------------------------------------------------
   Footer Bottom Left
   --------------------------------------------------------- */

.footer-bottom-left {
  display: flex;
  flex-direction: column;

  gap: 14px;

  align-items: center;
  text-align: center;
}

.footer-bottom .copyright {
  font-size: 13.5px;
  color: #94A3B8;
}

/* ---------------------------------------------------------
   Footer Badges
   --------------------------------------------------------- */

.footer-badges {
  display: flex;
  flex-wrap: wrap;

  justify-content: center;
  gap: 16px;

  font-size: 12.5px;
  color: #94A3B8;
}

.footer-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-badges svg {
  width: 15px;
  height: 15px;
}

/* ---------------------------------------------------------
   App Store + Payment Methods
   --------------------------------------------------------- */

.footer-apps-payments {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 18px;

  width: 100%;
}

/* Google Play badge */

.footer-app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: 0.2s ease;
}

.footer-app-link img {
  width: 150px;
  height: auto;
  display: block;
}

.footer-app-link:hover {
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   Individual Payment Logos
   --------------------------------------------------------- */

.pay-icons {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: 9px;

  width: 100%;
}

/* Individual payment logo */

.pay-icons img {
  width: 30px;
  height: 22px;

  object-fit: contain;

  display: block;

  opacity: 0.9;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

/* Slightly larger for wider logos */

.pay-icons img[alt="Google Pay"] {
  width: 32px;
}

.pay-icons img[alt="PhonePe"] {
  width: 32px;
}

.pay-icons img[alt="Paytm"] {
  width: 34px;
}

.pay-icons img[alt="Mastercard"] {
  width: 32px;
}

.pay-icons img[alt="RuPay"] {
  width: 34px;
}

.pay-icons img[alt="Visa"] {
  width: 32px;
}

.pay-icons img:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
}

/* ---------------------------------------------------------
   Developer Signature Terminal
   --------------------------------------------------------- */

.footer-terminal {
  background: #020617;

  padding: 12px 20px;

  text-align: center;

  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-terminal span {
  font-family: monospace;

  font-size: 11px;

  color: #34D399;

  opacity: 0.7;

  letter-spacing: 0.05em;
}

/* =========================================================
   Responsive — Tablet
   ========================================================= */

@media (min-width: 640px) {

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .footer-apps-payments {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }

  .pay-icons {
    width: auto;
    flex-wrap: nowrap;
  }
}

/* =========================================================
   Responsive — Desktop
   ========================================================= */

@media (min-width: 1024px) {

  .footer-top {
    grid-template-columns: 1fr 2fr;
    gap: 60px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom-left {
    align-items: flex-start;
    text-align: left;
  }

  .footer-apps-payments {
    width: auto;
    justify-content: flex-end;
  }

  .pay-icons {
    gap: 10px;
  }
}

/* =========================================================
   Responsive — Small Mobile
   ========================================================= */

@media (max-width: 380px) {

  .footer-app-link img {
    width: 135px;
  }

  .pay-icons {
    gap: 7px;
  }

  .pay-icons img {
    width: 27px;
    height: 20px;
  }
}
/* =========================================================
   Utilities / animation
   ========================================================= */
.reveal{ opacity:0; }
.reveal.in{ opacity:1; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

/* ============================================================================
   PublishPages — COMPLETE CSS for ADS
   ---------------------------------------------------------------------------
/* ---------------------------------------------------------------------------
   1. COLOR TOKENS  (scoped to ad containers so they never collide with host)
   --------------------------------------------------------------------------- */
.professional-ad-container {
  --primary: #ff9f1c;
  --primary-dark: #e63980;
  --secondary: #0f172a;
  --accent: #00b894;
  --light: #f8fafc;
  --dark: #0f172a;
  --success: #00b894;
  --gradient: linear-gradient(135deg, #ff9f1c 0%, #e63980 100%);
  --gradient-light: linear-gradient(135deg, #ffb347 0%, #f26aa0 100%);
}


/* ---------------------------------------------------------------------------
   2. CONTAINER + GLOBAL BEHAVIOR  (from style.css)
   --------------------------------------------------------------------------- */
.professional-ad-container {
  display: flex;
  justify-content: center;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: adSlideIn 0.6s ease-out;
}

.ad-banner:hover,
.ad-sidebar:hover,
.ad-inline:hover,
.ad-video:hover,
.ad-social:hover,
.ad-email:hover {
  transform: translateY(-4px) !important;
}


/* ---------------------------------------------------------------------------
   3. BANNER ADS
   --------------------------------------------------------------------------- */

/* Shared banner base */
.ad-banner {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Hero banner --- */
.ad-banner.hero-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 20px;
  border-radius: 15px;
  margin: 20px 0;
  box-shadow: 0 8px 32px rgba(230, 57, 128, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hero-banner .banner-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 100%);
  z-index: 1;
}

.hero-banner .ad-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-banner .ad-content img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-banner h4 {
  margin: 0 0 8px 0;
  font-weight: 800;
  font-size: 1.4rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-banner p {
  margin: 0;
  opacity: 0.95;
  font-size: 1rem;
  font-weight: 500;
}

.hero-banner .ad-cta-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 1rem;
}

/* --- Header banner --- */
.ad-banner.header-banner {
  background: linear-gradient(90deg, #0f172a, #1e293b);
  color: white;
  padding: 12px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.header-banner .ad-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.header-banner .ad-badge {
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.header-banner .ad-cta-btn {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

/* --- Default banner --- */
.ad-banner.default-banner {
  background: linear-gradient(135deg, #ff9f1c 0%, #e63980 100%);
  color: white;
  padding: 25px 30px;
  border-radius: 12px;
  margin: 25px 0;
  box-shadow: 0 6px 25px rgba(230, 57, 128, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.default-banner .banner-decoration {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.default-banner .ad-content {
  position: relative;
  z-index: 2;
}

.default-banner h4 {
  margin: 0 0 10px 0;
  font-weight: 700;
  font-size: 1.3rem;
}

.default-banner p {
  margin: 0 0 20px 0;
  opacity: 0.9;
  font-size: 1rem;
  line-height: 1.5;
}

.default-banner .ad-cta-btn {
  background: white;
  color: #e63980;
  border: none;
  padding: 12px 35px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


/* ---------------------------------------------------------------------------
   4. INLINE / LEADERBOARD ADS  (sticky bottom bar)
   --------------------------------------------------------------------------- */
.ad-leaderboard {
  transition: all 0.3s ease;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #e2e8f0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Mobile leaderboard */
.ad-leaderboard.mobile {
  max-width: 100%;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

/* Desktop leaderboard */
.ad-leaderboard.desktop {
  max-width: 100%;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Leaderboard CTA button (white pill) */
.ad-leaderboard button {
  background: white;
  color: #e63980;
  border: none;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.ad-leaderboard.mobile button {
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 10px;
  min-width: 60px;
}

.ad-leaderboard.desktop button {
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
}

/* Close button on leaderboard */
.ad-leaderboard .close-ad-btn {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.ad-leaderboard.mobile .close-ad-btn {
  font-size: 14px;
  padding: 6px;
  width: 24px;
  height: 24px;
  min-width: auto;
}

.ad-leaderboard.desktop .close-ad-btn {
  font-size: 18px;
  padding: 8px;
  width: 32px;
  height: 32px;
}

.ad-leaderboard .close-ad-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: scale(1.1);
}

/* Leaderboard responsive show/hide */
@media (max-width: 768px) {
  .ad-leaderboard.desktop {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .ad-leaderboard.mobile {
    display: none !important;
  }
}


/* ---------------------------------------------------------------------------
   5. POPUP ADS
   --------------------------------------------------------------------------- */
.popup-ad .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.ad-popup {
  background: white;
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: popupIn 0.5s ease-out;
}

/* Mobile popup sizing */
@media (max-width: 768px) {
  .ad-popup {
    border-radius: 15px;
    padding: 20px;
    margin: 10px;
    max-width: 95%;
  }
}

.ad-popup > .close-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6c757d;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ad-popup img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.ad-popup h3 {
  margin: 0 0 15px 0;
  color: #0f172a;
  font-weight: 700;
  font-size: 1.5rem;
}

.ad-popup p {
  color: #6c757d;
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 1rem;
}

.ad-popup .popup-action-btn {
  background: linear-gradient(135deg, #ff9f1c, #e63980);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 120px;
  font-size: 1rem;
}

.ad-popup .close-popup.secondary {
  background: #0f172a;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 120px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .ad-popup img { max-height: 150px; border-radius: 10px; margin-bottom: 15px; }
  .ad-popup h3 { font-size: 1.2rem; margin-bottom: 10px; }
  .ad-popup p { font-size: 0.9rem; margin-bottom: 20px; }
  .ad-popup .popup-action-btn,
  .ad-popup .close-popup.secondary {
    padding: 10px 20px;
    border-radius: 20px;
    min-width: 100px;
    font-size: 0.9rem;
  }
}


/* ---------------------------------------------------------------------------
   6. SOCIAL ADS
   --------------------------------------------------------------------------- */
.ad-social {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8ecef;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 400px;
  width: 100%;
}

.ad-social .social-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ad-social .social-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ad-social .social-content {
  margin-bottom: 16px;
}

.ad-social .social-content p {
  color: #333;
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.ad-social .social-image {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.ad-social .social-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.ad-social .social-links a {
  color: var(--primary);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 159, 28, 0.05);
}

.ad-social .social-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.ad-social .learn-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  margin-right: 12px;
  justify-content: center;
}

.ad-social .learn-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.ad-social .like-btn,
.ad-social .share-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.ad-social .like-btn:hover,
.ad-social .share-btn:hover {
  background: #f8f9fa;
  color: #333;
}

.ad-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.ad-social:hover .social-image img {
  transform: scale(1.02);
}


/* ---------------------------------------------------------------------------
   7. EMAIL / NEWSLETTER ADS
   --------------------------------------------------------------------------- */
.ad-email {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

/* --- Hero email --- */
.ad-email.hero-email {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 20px;
  border-radius: 15px;
  margin: 20px 0;
  box-shadow: 0 8px 32px rgba(230, 57, 128, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-email .ad-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-email .ad-content img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-email h4 {
  margin: 0 0 8px 0;
  font-weight: 800;
  font-size: 1.4rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-email p {
  margin: 0;
  opacity: 0.95;
  font-size: 1rem;
  font-weight: 500;
}

.hero-email .email-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 100%);
  z-index: 1;
}

.hero-email .email-submit-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  white-space: nowrap;
}

.hero-email .email-form input {
  min-width: 200px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  outline: none;
}

/* --- Header email --- */
.ad-email.header-email {
  background: linear-gradient(90deg, #0f172a, #1e293b);
  color: white;
  padding: 12px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.header-email .email-badge {
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.header-email .email-submit-btn {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.header-email .email-form input {
  min-width: 150px;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.95);
  outline: none;
}

/* --- Default email --- */
.ad-email.default-email {
  background: linear-gradient(135deg, #ff9f1c 0%, #e63980 100%);
  color: white;
  padding: 30px;
  border-radius: 16px;
  margin: 25px 0;
  box-shadow: 0 8px 40px rgba(230, 57, 128, 0.25);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.default-email .email-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.default-email .email-decoration {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.default-email .email-decoration-secondary {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.default-email .ad-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.default-email h4 {
  margin: 0 0 12px 0;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.default-email p {
  margin: 0 0 25px 0;
  opacity: 0.9;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.default-email .email-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 450px;
  margin: 0 auto;
}

.default-email .email-form input {
  flex: 1;
  min-width: 250px;
  padding: 14px 18px;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  outline: none;
  transition: all 0.3s ease;
}

.default-email .email-submit-btn {
  background: white;
  color: #e63980;
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  min-width: 140px;
}

/* Email close button (all email variants) */
.ad-email .email-close-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  z-index: 3;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}


/* ---------------------------------------------------------------------------
   8. SIDEBAR / YOUTUBE / MISC  (legacy selectors kept for compatibility)
   --------------------------------------------------------------------------- */
.sidebar-ads-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-ads-container .ad-sidebar {
  margin: 0 !important;
}

@media (max-width: 768px) {
  .youtube-sticky-container {
    width: 280px !important;
    right: 10px !important;
    bottom: 10px !important;
  }
}

@media (max-width: 480px) {
  .youtube-sticky-container {
    width: calc(100vw - 20px) !important;
    right: 10px !important;
    left: 10px !important;
  }
}


/* ---------------------------------------------------------------------------
   9. RESPONSIVE STACKING  (from style.css)
   --------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .ad-inline-content {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .ad-banner .ad-content {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
  }

  .ad-banner button,
  .ad-inline button {
    margin-left: 0 !important;
    margin-top: 10px !important;
    width: 100% !important;
  }

  .email-form {
    flex-direction: column !important;
  }

  .email-form input,
  .email-form button {
    width: 100% !important;
    margin: 5px 0 !important;
  }

  .social-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .social-actions .learn-btn {
    margin-right: 0 !important;
    margin-bottom: 10px !important;
  }
}


/* ---------------------------------------------------------------------------
   10. ANIMATIONS
   --------------------------------------------------------------------------- */
@keyframes adSlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes popupIn {
  from { opacity: 0; transform: scale(0.8) translateY(-20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}


/* ---------------------------------------------------------------------------
   11. ACCESSIBILITY  (focus, high-contrast, reduced-motion)
   --------------------------------------------------------------------------- */
.ad-cta-btn:focus,
.close-popup:focus,
.email-submit-btn:focus,
.learn-btn:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.ad-leaderboard:focus {
  outline: 2px solid #00b894;
  outline-offset: 2px;
}

.ad-leaderboard button:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

@media (prefers-contrast: high) {
  .professional-ad-container {
    border: 2px solid currentColor !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .professional-ad-container {
    animation: none !important;
    transition: none !important;
  }

  .ad-banner:hover,
  .ad-sidebar:hover,
  .ad-inline:hover {
    transform: none !important;
  }
}
/* ---------------------------------------------------------------------------
      End of Comeplete ADS CSS Part(You can copy this any where to just utilize this)
   --------------------------------------------------------------------------- */