/* =========================================================
   🧠 GGR CORE — Base Tokens, Typography, Utilities
   ========================================================= */

:root {
  --font-sans: 'Plus Jakarta Sans','Inter','Segoe UI',system-ui,-apple-system,Arial,sans-serif;
  --text: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --primary: #1d4ed8;
  --primary-600: #2563eb;
  --accent-soft: #eef2ff;
  --radius-12: 12px;
  --radius-16: 16px;
  --shadow-2: 0 8px 24px rgba(2,6,23,.08);
  --shadow-3: 0 16px 40px rgba(2,6,23,.12);
}

/* =========================================================
   Global Font + Reset
   ========================================================= */
body, h1, h2, h3, h4, h5, h6, p, a, span, button {
  font-family: var(--font-sans) !important;
  letter-spacing: -0.015em;
}
a{
  text-decoration: none !important;
}
html, body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

/* =========================================================
   Container
   ========================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}



/* =========================================================
   TOP BAR
 ========================================================= */
.ggr-topbar {
  background: #0b1220;
  color: #cbd5e1;
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(56,189,248,.12);
  box-shadow: 0 3px 12px rgba(0,0,0,.18);
  position: relative;
  z-index: 10000;
}
.ggr-topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg,#39c8ff,#4895ff,#39c8ff);
  opacity: .6;
  filter: blur(2px);
}
.ggr-topbar .ggr-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-left { display:flex; align-items:center; gap:10px; font-weight:700; white-space:nowrap; }
.top-left .fas { color:#39c8ff; }
.top-right { display:flex; gap:18px; }
.top-right a { color:#cbd5e1; font-size:17px; transition:.25s; }
.top-right a:hover { color:#39c8ff; transform:translateY(-2px) scale(1.1); }
.ggr-topbar + .site-header { margin-top:6px; }

/* =========================================================
   HEADER NAVIGATION
 ========================================================= */
.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  transition: all .25s ease;
}
.inside-header {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 16px 20px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo img {
  image-rendering: -webkit-optimize-contrast;
  height: auto !important;
  max-height: 100px !important;
  width: auto !important;
  transform: translateZ(0);
}
.main-navigation {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  height: 75px;
}

.main-navigation a {
  color: #0f172a;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.main-navigation a:hover {
  color: #2563eb;
}

.main-navigation .current-menu-item a {
  color: #2563eb;
 /* border-bottom: 2px solid #2563eb;*/
  padding-bottom: 4px;
}

.main-navigation .main-nav ul li a {
  font-size: 16px !important;
  font-weight: 500 !important;
  padding: 14px 22px !important;
  color: #1e293b !important;
  position: relative;
  transition: color .25s ease, transform .25s ease;
}
.main-navigation .main-nav ul li a:hover {
  color: var(--primary) !important;
  transform: translateY(-1px);
}
.main-navigation .main-nav ul li.current-menu-item > a {
  color: var(--primary) !important;
}
.main-navigation .main-nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 6px;
  width: 0; height: 3px;
  background: var(--primary);
  border-radius: 999px;
  transition: width .35s ease;
}
.main-navigation .main-nav ul li.current-menu-item > a::after,
.main-navigation .main-nav ul li:hover > a::after {
  width: 40px;
}
.main-navigation.is-sticky {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Make the Free Website Audit link look like a premium CTA */
.main-navigation .menu-item a[href*="website-audit"],
.navbar .menu-item a[href*="website-audit"] {
  background: linear-gradient(135deg, #007bff, #00c2ff);
  color: #fff !important;
  padding: 2px 8px !important;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.25);
  position: relative;
  animation: pulseGlow 3s ease-in-out infinite;
  line-height: 40px !important;
}

.main-navigation .main-nav ul li.current-menu-item > a[href*="website-audit"]{
   color:#fff !important;
}

/* Smooth hover transition */
.main-navigation .menu-item a[href*="website-audit"]:hover,
.navbar .menu-item a[href*="website-audit"]:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #00bfa5, #007bff);
  box-shadow: 0 0 25px rgba(0, 194, 255, 0.5);
}

/* The soft pulsing animation */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 8px rgba(0, 194, 255, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 22px rgba(0, 194, 255, 0.55);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 8px rgba(0, 194, 255, 0.3);
    transform: scale(1);
  }
}


/* Sticky Navigation */
.site-header.is-sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  backdrop-filter: blur(10px);
  background: #fff !important;
  padding: 6px 0 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-bottom: none !important;
}
.site-header.is-sticky::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 18px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0));
  z-index: -1;
}
.site-header.is-sticky .site-logo img { max-height: 80px !important; }
.site-header.is-sticky .main-navigation .main-nav ul li a {
  padding: 10px 18px !important;
  font-size: 15px !important;
}


/* =========================================================
   Buttons
   ========================================================= */
.btn, .btn-primary, .btn-outline {
  display: inline-block;
  border-radius: var(--radius-12);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(29,78,216,0.25);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* =========================================================
   Reveal Animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25,0.1,0.25,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   SEO Intro Section
   ========================================================= */
.ggr-seo-intro {
  text-align: center;
  margin: 100px auto;
  max-width: 1100px;
}
.ggr-seo-intro h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.ggr-seo-intro p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 760px;
  margin: 0 auto 32px;
  opacity: 0.95;
}
.ggr-section-actions {
  text-align: center;
  margin-bottom: 40px;
}
.ggr-section-actions .view-all {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(29,78,216,0.25);
  transition: all .3s ease;
}
.ggr-section-actions .view-all:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(29,78,216,0.3);
}

/* =========================================================
   Category Grid & Cards
   ========================================================= */
.ggr-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* ✅ Force 4 equal columns */
  gap: 30px;
  justify-items: stretch;
  align-items: stretch;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
  justify-content: center;
}


/* Equal-height Cards */
.ggr-cat-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(15,23,42,0.08);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  height: 100%;
  width: 100%;
  min-height: 340px;
  text-decoration: none !important;
}
.ggr-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(15,23,42,0.12);
}
.ggr-cat-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-bottom: 1px solid #e2e8f0;
}
.ggr-cat-body {
  padding: 18px 20px 20px;
}
.ggr-cat-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 8px 0;
  color: var(--text);
}
.ggr-cat-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 6px 0 10px;
  min-height: 45px;
  opacity: 0.95;
}
.ggr-cat-postcount {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

a.generate-back-to-top span {
  display: none !important;
}
/*==========================================================
Custom Table in posts
===========================================================*/
/* ===== Global Table Style for Blog Posts ===== */
.custom-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background: #fff;
}

/* Table Cells */
.custom-table th,
.custom-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #f1f1f1;
}

.custom-table th,
.custom-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.custom-table thead th {
  background: linear-gradient(90deg, #ff7a00, #ff944d);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 14px;
}

/* Hover Effect */
.custom-table tbody tr:hover {
  background-color: #fff5eb; /* very light orange tint */
  transition: all 0.2s ease-in-out;
}

/* Alternate Row Color for Premium Look */
.custom-table tbody tr:nth-child(even) {
  background-color: #fafafa; /* light gray tone */
}
.custom-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* First Column Bold */
.custom-table tbody td:first-child {
  font-weight: 600;
  color: #222;
}

/* Table Caption */
.custom-table caption {
  caption-side: top;
  font-size: 16px;
  font-weight: 600;
  color: #ff7a00;
  text-align: left;
  padding: 8px 0;
}

/* Highlighted Row (Optional for featured plan) */
.custom-table tr.highlight {
  background-color: #fff0e0 !important;
  border-left: 4px solid #ff7a00;
  font-weight: 600;
}
.ggr-footer-bottom p{
  letter-spacing: 0.041em;
}
img.footer-avatar{
  border-radius: 50%;
  vertical-align: middle;
  height: 40px;
  width: 40px;
  gap:20px;
}


/* =========================================================
   Motion Accessibility
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}



/* ✅ Tablet & mobile responsive breakpoints */
@media (max-width: 1199px) and (min-width: 901px) {
  .ggr-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) and (min-width: 601px) {
  .ggr-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ggr-cat-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Friendly */
@media (max-width: 768px) {
  .custom-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 10px;
  }
}