/*
Theme Name: GeneratePress Child
Template: generatepress
*/


/* === VARIABLES===*/
:root{
  --font-sans: 'Inter','Open Sans',Arial,sans-serif;
  --text: #333;
  --text-strong:#222;
  --muted:#555;
  --bg:#fff;
  --bg-soft:#fafafa;
  --line:#e5e7eb;

  --primary:#0056ff;
  --primary-dark:#003b88;
  --accent:#0b4eb3;
  --accent-soft:#f6f9ff;
  --gold:#f9b233;

  --shadow-1: 0 2px 8px rgba(0,0,0,.06);
  --shadow-2: 0 4px 14px rgba(0,0,0,.06);
  --shadow-3: 0 10px 25px rgba(0,0,0,.12);
  --radius-8: 8px;
  --radius-10: 10px;
  --radius-12: 12px;
  --radius-14: 14px;
  --radius-16: 16px;

  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-40: 40px;
  --space-60: 60px;
}

/* === GLOBAL === */
body{
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family: var(--font-sans);
  font-weight:600;
  color: var(--text-strong);
}
h2,h3{ letter-spacing:.3px; color:#111; }

/* Tables */
.custom-table{
  width:100%; border-collapse:collapse; margin:20px 0;
  font-size:15px; line-height:1.6; border:1px solid #ddd;
}
.custom-table th{
  background:#f7f7f7; color:#222; font-weight:600;
  padding:10px 14px; text-align:left;
}
.custom-table td{ border:1px solid #ddd; padding:10px 14px; }
.custom-table tr:nth-child(even){ background:#fafafa; }
.custom-table tr:hover{ background:#f1f1f1; }

/* === HEADER / TOPBAR === */
.ggr-topbar{ background:#0f172a; color:#e2e8f0; font-size:14px; width:100%; }
.ggr-topbar .ggr-container{
  max-width:1200px; margin:0 auto; padding:8px 16px;
  display:flex; justify-content:space-between; align-items:center;
}
.ggr-topbar .right a{ margin-left:15px; color:#38bdf8; font-weight:500; text-decoration:none; }
.ggr-topbar .right a:hover{ text-decoration:underline; }

#ggr-sticky-wrapper{ position:sticky; top:0; z-index:999; background:#fff; transition:all .3s ease; }
.site-header{ padding:0!important; margin:0!important; }
.inside-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:6px 20px!important; transition:padding .25s ease, transform .25s ease;
}
.site-logo img{
  display:block; width:auto!important; height:auto!important;
  max-width:300px!important; max-height:100px!important;
  image-rendering:-webkit-optimize-contrast; transition:transform .35s ease-in-out;
  transform-origin:left center;
}
.navigation-stick .site-logo img{ transform:scale(0.8); }
#ggr-sticky-wrapper.shrink .inside-header{ padding-top:4px!important; padding-bottom:4px!important; transform:translateY(-2px); }

/* === HERO (image block above H1) === */
.home .ggr-hero-dashboard{ margin-bottom:24px; }
.home h1:first-of-type{ margin-top:16px; margin-bottom:14px; }

/* Optional gradient hero (if you use .ggr-hero) */
.ggr-hero{
  width:100%; background:linear-gradient(135deg,var(--accent),var(--primary-dark));
  color:#fff; text-align:center; padding:80px 20px; margin:0;
}
.ggr-hero-container{ max-width:1200px; margin:0 auto; }
.ggr-hero h1{
  font-size:3rem; font-weight:800; color:#fff; line-height:1.2;
  letter-spacing:-.5px; margin:0 auto 15px; text-shadow:0 3px 12px rgba(0,0,0,.35);
}
.ggr-hero h1::after{
  content:""; display:block; height:4px; width:0; margin:12px auto 0;
  background:linear-gradient(90deg,#ffcc33,#ffd966,#ffcc33);
  background-size:200% auto; border-radius:4px; transition:width 1.5s ease;
}
.ggr-hero h1.in-view::after{ width:85%; animation:underline-shimmer 3s linear infinite; }
@keyframes underline-shimmer{ 0%{background-position:0% 50%;} 100%{background-position:200% 50%;} }
.ggr-hero p{ font-size:18px; margin-bottom:25px; line-height:1.6; }
.ggr-hero-btn{
  display:inline-block; background:#fff; color:var(--accent);
  padding:12px 28px; border-radius:30px; font-weight:600; text-decoration:none; transition:all .3s ease;
}
.ggr-hero-btn:hover{ background:var(--primary-dark); color:#fff; }

/* === HOMEPAGE BASICS === */
.home h1,.home h2{ letter-spacing:.1px; }
.home .alt-bg{ background:var(--bg-soft); padding:32px 0; }

.home-intro {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  max-width: 1100px;
  margin: 40px auto 40px;
  padding: 40px 28px;
  text-align: center;
  line-height: 1.7;
}
.home-intro .start-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.home-intro .start-links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 14px;
  transition: all .25s ease;
}
.home-intro .start-links a:hover {
  background: var(--accent-soft);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.home-intro h1::after {
  content:"";
  display:block;
  width:80px;
  height:3px;
  background:linear-gradient(90deg,var(--accent),var(--primary-dark));
  margin:10px auto 0;
  border-radius:2px;
}


/* === TRUST SECTION POLISH === */
.alt-bg .ggr-trust {
  max-width:1100px;
  margin:0 auto;
  background:var(--bg);
  padding:50px 40px;
  border-radius:var(--radius-16);
  box-shadow:var(--shadow-2);
  text-align:left;
  transition:box-shadow .3s ease, transform .3s ease;
}
.alt-bg .ggr-trust:hover {
  transform:translateY(-3px);
  box-shadow:var(--shadow-3);
}
.alt-bg .ggr-trust h2 {
  font-size:1.9rem;
  font-weight:800;
  color:var(--accent);
  margin-bottom:20px;
  position:relative;
}
.alt-bg .ggr-trust h2::after {
  content:"";
  display:block;
  width:70px;
  height:3px;
  background:linear-gradient(90deg,var(--accent),var(--primary-dark));
  margin-top:10px;
  border-radius:2px;
}
.alt-bg .ggr-trust p {
  color:var(--text);
  line-height:1.75;
  font-size:1rem;
  margin-bottom:15px;
}
.alt-bg .ggr-trust a {
  color:var(--primary);
  font-weight:600;
  text-decoration:none;
}
.alt-bg .ggr-trust a:hover {
  text-decoration:underline;
}


/* CTA button (global) */
a.ggr-btn-primary, .ggr-btn-primary:link, .ggr-btn-primary:visited{
  display:inline-block; padding:12px 22px; border-radius:999px;
  background:linear-gradient(90deg,var(--primary),#0078ff);
  color:#fff; font-weight:600; text-decoration:none;
}
a.ggr-btn-primary:hover{ filter:brightness(1.05); }

/* Generic cards (reviews, categories, resources) */
.ggr-card,
.home .resource-card,
.home .wp-block-latest-posts__list li,
.home .category-card,
.home .inside-article{
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-12);
  overflow:hidden; background:#fff;
}

/* Section containers */
.ggr-intro{
  max-width:900px; margin:10px auto 40px; text-align:center; line-height:1.8; color:var(--text);
}
.ggr-section {
  margin: 50px auto;
  padding: 40px 20px;
  max-width: 1100px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ggr-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Subheading “AI Tools Reviews 2025” highlight */
.ggr-section strong {
  color: #0b4eb3;
  font-weight: 700;
}

/* Paragraph text readability */
.ggr-section p {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* Bullet points */
.ggr-section ul {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}
.ggr-section ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #222;
  line-height: 1.7;
}
.ggr-section ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0b4eb3;
  font-weight: 700;
}

/* Accent link styling */
.ggr-section a {
  color: #0056ff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}
.ggr-section a:hover {
  color: #003b88;
  text-decoration: underline;
}

/* Trust bullets */
.trust-section ul{ list-style:none; padding:0; }
.trust-section ul li{
  margin-bottom:10px; padding-left:22px; position:relative;
}
.trust-section ul li::before{
  content:"✔"; color:var(--accent); position:absolute; left:0; font-weight:700;
}

/* === SECTION HEADINGS (home) === */
.home h2{
  position:relative; display:inline-block; opacity:0; transform:translateY(30px);
  transition:all .9s ease-out; font-weight:700; margin-bottom:20px;
}
.home h2.visible{ opacity:1; transform:translateY(0); }
.home h2::after{
  content:""; display:block; height:3px; width:0;
  background:linear-gradient(90deg,var(--accent),var(--primary-dark));
  margin-top:8px; border-radius:2px; transition:width 1.2s ease;
}
.home h2.visible::after{ width:70%; }

/* === LATEST REVIEWS (horizontal rail) === */
.ggr-latest-posts.container{ max-width:1200px; margin:0px auto 40px; padding:0 16px; box-sizing: border-box;}
/* === EXTEND ALIGNMENT TO HOMEPAGE SECTIONS === */
.home .ggr-section,
.home .faq-section,
.home .helpful-resources .resource-grid {
  max-width: 1200px;       /* same as Latest Reviews */
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* === ALIGN ALL HOMEPAGE SECTIONS TO SAME WIDTH === */
.alt-bg .ggr-trust,
.ggr-section,
.helpful-resources .resource-grid {
  max-width:1200px;   /* match the Latest Reviews section */
  margin-left:auto;
  margin-right:auto;
  padding-left:16px;
  padding-right:16px;
  box-sizing:border-box;
}
.section-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; padding: 0 4px;}
.section-title{ font-size:1.9rem; font-weight:800; color:var(--accent); margin:0; letter-spacing:-.3px;position: relative;}
.section-title::after {content: "";display: block;width: 70px;height: 3px;background: linear-gradient(90deg, var(--accent), var(--primary-dark));margin-top: 8px;border-radius: 2px;}
.section-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--accent);
  background: #f7faff;
  border: 1px solid #e1e6f9;
  padding: 6px 14px;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.section-cta::after {
  transition: transform 0.3s ease;
}
.section-cta:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  text-decoration: none;
}
.section-cta:hover::after {
  transform: translateX(4px);
}

/* === LATEST REVIEWS SLIDER === */
.ggr-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Horizontal scroll container */
.ggr-rail {
 display: flex;
  gap: 22px;
  overflow-x: auto;             /* ✅ allow smooth drag scroll */
  scroll-behavior: smooth;      /* ✅ smooth transition for buttons */
  cursor: grab;                 /* ✅ UX hint */
  scrollbar-width: none;

}

.ggr-rail:hover {
  animation-play-state: paused; /* stop scrolling on hover */
}
.ggr-rail::-webkit-scrollbar { display: none; }
.ggr-rail::-webkit-scrollbar-thumb {
  background: #d0d7e2;
  border-radius: 6px;
}

/* Individual review card */
.ggr-card {
  flex: 0 0 320px;
  min-width: 320px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ggr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(20, 30, 60, 0.12);
}
.ggr-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 12px;
}
.ggr-card-media {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #f4f7fb;
}
.ggr-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ggr-card-title {
  font-size: 1rem;
  line-height: 1.35;
  margin: 10px 2px 6px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ggr-card-excerpt {
  font-size: .9rem;
  color: #52607a;
  margin: 0 2px 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ggr-card-cta {
  font-size: .92rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

/* Slider buttons */
.ggr-slider-btn {
  background: #fff;
  border: 1px solid #d8e0ef;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  opacity: 0.9;
}

.ggr-slider-btn.left { left: 4px; }    /* ✅ moved inside view */
.ggr-slider-btn.right { right: 4px; }

.ggr-slider-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

/* Reveal animation */
.ggr-card {
  opacity: 0;
  transform: translateY(6px);
}
.ggr-card.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .35s ease, transform .35s ease;
}


/* === Smooth scroll keyframes === */


/* === FAQ (GLOBAL – for posts) === */
.faq-section{
  max-width:800px; margin:3rem auto; padding:0;
  font-family: var(--font-sans);
}
.faq-section h2{
  font-size:1.9rem; margin-bottom:1.8rem; font-weight:800; text-align:center;
  color:var(--accent); text-shadow:0 2px 4px rgba(0,0,0,.15);
}
.faq-section h2::after{
  content:""; display:block; width:70px; height:3px; background:var(--gold);
  margin:12px auto 0; border-radius:2px;
}
.faq-item{
  border:1px solid var(--line); padding:14px; border-radius:var(--radius-10);
  background:#fff; transition:box-shadow .3s ease, transform .25s ease;
  margin-bottom:12px;
}
.faq-item:hover{ box-shadow:0 6px 16px rgba(11,78,179,.15); transform:translateY(-2px); }
.faq-question{
  background:#fff; border:none; width:100%; text-align:left;
  padding:18px 22px; font-size:1.05rem; font-weight:600; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; color:#1a1a1a;
}
.faq-question:hover{ background:var(--accent-soft); color:var(--accent); }
.faq-icon{ font-size:1.5rem; color:var(--accent); font-weight:bold; transition:transform .3s ease, color .3s ease; }
.faq-answer{ max-height:0; overflow:hidden; opacity:0; padding:0 22px; line-height:1.6; color:#444; font-size:.98rem; transition:max-height .45s ease, opacity .4s ease, padding .4s ease; }
.faq-item.active .faq-answer{ max-height:350px; opacity:1; padding:16px 22px 22px; }
.faq-item.active .faq-icon{ transform:rotate(45deg); color:#d32f2f; }

/* === FAQ (HOME – enhanced) === */
.home .faq-section{ max-width:1200px; margin:20px auto 40px; padding:0 16px; box-sizing:border-box; }
.home .faq-section .faq-item{
  background:#fff; border:1px solid #eaeaea; border-radius:var(--radius-10);
  box-shadow:0 1px 4px rgba(0,0,0,.06); transition:box-shadow .3s ease, transform .3s ease, background .3s ease;
  margin-bottom:6px!important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Remove stray p spacing inside FAQ items */
.home .faq-section .faq-item > p:empty{ display:none!important; margin:0!important; padding:0!important; }
.home .faq-section .faq-item:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.25), 0 4px 10px rgba(0,0,0,.18) !important;
}
.home .faq-section .faq-question{
  display:flex; align-items:center; justify-content:space-between; width:100%;
  padding:12px 22px!important; font-size:1rem; font-weight:600; color:#1e293b;
  background:#fff; border:none; border-radius:var(--radius-12); cursor:pointer;
}
.home .faq-section .faq-question:hover{ background:#f0f6ff; color:var(--accent); }
.home .faq-section .faq-item.active .faq-question{ background:#636363; color:#fff; }
.home .faq-section .faq-icon{
  margin-left:auto; min-width:1.3rem; text-align:right; font-size:1.25rem; line-height:1; font-weight:700; color:var(--accent);
}
.home .faq-section .faq-item.active .faq-icon{ transform:rotate(45deg); color:#ffcccc; }
.home .faq-section .faq-answer{
  padding:10px 22px 18px; color:#444; font-size:.95rem; line-height:1.6; background:#fff; border-top:1px solid #ececec; border-radius:0 0 var(--radius-12) var(--radius-12);
}
.home .faq-section .faq-item.active .faq-answer{ background:#f8faff; color:#222; border-top:1px solid rgba(255,255,255,.25); }

/* === HELPFUL RESOURCES (grid) === */
.helpful-resources{
  background:#f8fafc; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.helpful-resources .resource-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:24px;
  max-width:1100px; margin:0 auto; padding:0 20px 40px;
}
.resource-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-14);
  box-shadow:var(--shadow-2); padding:22px; transition:all .3s ease; text-align:center;
}
.resource-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-3); }
.resource-card h3{ font-size:1.1rem; font-weight:700; margin-bottom:10px; }
.resource-card p{ color:var(--muted); font-size:.95rem; margin-bottom:12px; }
.resource-card .card-link{ color:var(--accent); font-weight:600; text-decoration:none; }
.resource-card .card-link:hover{ text-decoration:underline; }

/* === CATEGORY GRID (optional section) === */
.categories-section .category-grid{
  display:grid!important; grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;
  gap:24px; max-width:1100px; margin:30px auto; align-items:stretch; justify-content:center;
}
.categories-section .category-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-14);
  box-shadow:var(--shadow-2); display:flex; flex-direction:column; justify-content:space-between;
  padding:20px; min-height:250px; transition:all .3s ease; text-align:center;
}
.categories-section .category-card:hover{ transform:translateY(-5px); box-shadow:0 8px 22px rgba(0,0,0,.10); }
.categories-section .category-card img{
  width:100%; height:160px; object-fit:cover; border-radius:10px; margin-bottom:12px; display:block;
}
.categories-section .category-card h3{ font-size:1.1rem; font-weight:600; margin-bottom:8px; color:#1e293b; }
.categories-section .category-card p{ font-size:.93rem; color:var(--muted); line-height:1.5; margin-bottom:10px; }
.categories-section .category-card a{ color:#0073e6; font-weight:500; text-decoration:none; }
.categories-section .category-card a:hover{ text-decoration:underline; }

/* === TRUST STRIP (optional) === */
.trust-strip{
  display:flex; justify-content:center; gap:1.5rem; background:#f9fafb;
  padding:12px 0; font-weight:600; color:#1e293b;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}

/* === CTA + FOOTER micro === */
.home .ggr-cta{
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  max-width: 1100px;
  margin: 40px auto 20px;
  padding: 30px 24px 24px;
  text-align: center;
  line-height: 1.7;}

 .home .ggr-cta h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
  position: relative;
}
.home .ggr-cta h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-dark));
  display: block;
  margin: 8px auto 0;
  border-radius: 2px;
} 

.ggr-footer-widgets{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px; padding:40px 20px; background:#0f172a; color:#e2e8f0;
}
/* === HOMEPAGE MICRO FOOTER (Flex Layout) === */
.ggr-footer {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  padding: 18px 10px;
  font-size: 0.9rem;
  color: #444;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}



.footer-col h3{ margin-bottom:15px; font-size:1.1rem; font-weight:700; color:#fff; }
.footer-col p,.footer-col ul{ font-size:.95rem; line-height:1.6; }
.footer-col ul{ list-style:none; padding:0; }
.footer-col ul li{ margin-bottom:8px; }
.footer-col ul li a{ color:#38bdf8; text-decoration:none; }
.footer-col ul li a:hover{ text-decoration:underline; }

/* === SIDEBAR / WIDGETS / AUTHOR BIO === */
.author-bio{
  text-align:center; background:#fff; padding:20px; border-radius:var(--radius-12);
  box-shadow:0 2px 8px rgba(0,0,0,.08); margin-bottom:20px;
}
.author-bio .author-img img{
  width:120px; height:120px; border-radius:50%; object-fit:cover;
  border:3px solid var(--accent); margin-bottom:15px;
}
.author-bio h3{ font-size:16px; margin-bottom:10px; font-weight:600; }
.author-bio p{ font-size:14px; line-height:1.6; color:#444; }

#secondary,.sidebar,.widget-area{ border-left:2px solid #f0f0f0; padding-left:15px; }
.custom-widget{
  background:#fff; padding:14px 16px; margin-bottom:14px; border-radius:var(--radius-12);
  box-shadow:0 3px 12px rgba(0,0,0,.05); transition:all .3s ease-in-out;
}
.custom-widget:hover{ transform:translateY(-4px); box-shadow:0 6px 20px rgba(0,0,0,.08); }
.custom-widget-title{
  font-size:17px; font-weight:600; margin-bottom:15px; border-bottom:2px solid var(--accent);
  padding-bottom:6px; color:#222; position:relative;
}
.custom-widget-title::before{ content:"➤"; color:var(--accent); margin-right:6px; }
.custom-widget ul{ list-style:none; padding-left:0; margin:0; }
.custom-widget ul li{ margin-bottom:12px; position:relative; padding-left:15px; transition:all .3s ease; }
.custom-widget ul li::before{ content:"•"; color:var(--accent); position:absolute; left:0; font-size:18px; line-height:1; }
.custom-widget ul li a{ text-decoration:none; color:#444; font-size:14px; line-height:1.6; }
.custom-widget ul li:hover{ background:#f9f9f9; border-radius:6px; padding-left:18px; }
.custom-widget ul li a:hover{ color:var(--accent); text-decoration:underline; }

/* Widget boxes */
.widget-area .widget,
#secondary .widget,
.sidebar .widget{
  background:#fff; border-radius:var(--radius-12); box-shadow:0 3px 10px rgba(0,0,0,.06);
  margin-bottom:22px; padding:14px 16px; transition:transform .25s ease, box-shadow .25s ease;
}
.widget-area .widget:hover,
#secondary .widget:hover,
.sidebar .widget:hover{ transform:translateY(-4px); box-shadow:0 8px 22px rgba(0,0,0,.1); }
.widget-area .widget a, #secondary .widget a, .sidebar .widget a{ color:#1a1a1a; text-decoration:none; }
.widget-area .widget a:hover, #secondary .widget a:hover, .sidebar .widget a:hover{ color:var(--accent); text-decoration:underline; }

/* === SEARCH BOX === */
.search-form{
  display:flex; align-items:center; background:#fff; padding:5px; border-radius:30px;
  border:1px solid #ddd; box-shadow:0 2px 6px rgba(0,0,0,.05);
  width:100%; max-width:100%; box-sizing:border-box;
}
.search-form .search-field{
  flex:1; padding:10px 14px; border:none; border-radius:30px 0 0 30px;
  outline:none; font-size:14px; color:#333;
}
.search-form .search-field:focus{ box-shadow:inset 0 0 4px rgba(30,115,190,.3); }
.search-form .search-submit{
  background:var(--accent); border:none; padding:10px 16px; border-radius:0 30px 30px 0;
  color:#fff; cursor:pointer; transition:all .3s ease;
}
.search-form .search-submit:hover{ background:#145a92; }

/* === BLOG PAGE === */
.blog-hero{
  position:relative; text-align:center; color:#fff;
  background:linear-gradient(135deg,#0052cc,#0073e6);
  padding:160px 20px 140px; overflow:hidden; width:100vw; position:relative;
  left:50%; right:50%; margin-left:-50vw; margin-right:-50vw;
}
.blog-hero::before{
  content:""; position:absolute; inset:0; background:url('../img/hero-bg-pattern.webp') center/cover no-repeat;
  opacity:.15;
}
.blog-hero-content{ position:relative; z-index:2; max-width:800px; margin:0 auto; }
.blog-hero h1{ font-size:2.8rem; font-weight:800; color:#fff; margin-bottom:20px; letter-spacing:-.5px; }
.blog-hero h1 span{ color:#ffd65a; }
.blog-hero p{ font-size:1.2rem; opacity:.95; }

.fade-in-up{ opacity:0; transform:translateY(30px); animation:fadeUp 1s ease-out forwards; }
.fade-in-up.delay-1{ animation-delay:.3s; }
@keyframes fadeUp{ to{ opacity:1; transform:translateY(0); } }

.blog-intro,.blog-content,.blog-filter,.blog-grid{ max-width:1200px; margin:0 auto; padding:0 16px; }
.blog-intro{ text-align:center; font-size:1.1rem; color:#333; margin:40px auto; line-height:1.7; }
.blog-content{ font-size:1.05rem; line-height:1.75; color:#27323a; margin:40px auto; }
.blog-content h2,.blog-content h3{ margin:20px 0 10px; font-weight:600; }
.blog-content ul,.blog-content ol{ padding-left:1.2rem; }
.blog-content img{ max-width:100%; height:auto; border-radius:var(--radius-12); }

.blog-filter{ text-align:center; margin:40px 0 30px; }
.blog-filter .filter-btn{
  display:inline-block; margin:5px; padding:8px 18px; border-radius:25px; border:1px solid #ccc;
  background:#fff; cursor:pointer; transition:all .3s ease;
}
.blog-filter .filter-btn.active,.blog-filter .filter-btn:hover{ background:#15333a; color:#fff; border-color:#15333a; }

.blog-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:25px; margin-bottom:80px;
}
.blog-card{
  position:relative; background:#fff; border-radius:16px; box-shadow:0 2px 10px rgba(0,0,0,.08);
  overflow:hidden; opacity:0; transform:translateY(20px); transition:all .4s ease; cursor:pointer;
}
.blog-card.visible{ opacity:1; transform:translateY(0); }
.blog-card:hover{ transform:translateY(-6px); box-shadow:0 8px 20px rgba(0,0,0,.15); }
.blog-card::after{
  content:""; position:absolute; inset:0; background:rgba(0,0,0,.05); opacity:0; transition:opacity .4s ease; pointer-events:none;
}
.blog-card:hover::after{ opacity:1; }
.blog-card a{ display:block; color:inherit; text-decoration:none; position:relative; z-index:2; }
.blog-card img{ width:100%; height:200px; object-fit:cover; transition:transform .4s ease; }
.blog-card:hover img{ transform:scale(1.05); }
.blog-card .card-content{ padding:18px 20px 24px; }
.blog-card h2{ font-size:1.2rem; margin-bottom:10px; color:#111; line-height:1.4; }
.blog-card p{ font-size:.95rem; color:var(--muted); margin-bottom:12px; }
.blog-card .readmore{ font-weight:600; color:#15333a; }
.blog-card:hover .readmore{ color:#0a9abf; }
.load-more-btn{
  display:block; margin:30px auto 100px; padding:10px 30px; background:#15333a; color:#fff;
  border:none; border-radius:30px; cursor:pointer; font-size:1rem; font-weight:600; transition:all .3s ease;
}
.load-more-btn:hover{ background:#0a9abf; transform:translateY(-2px); }

/* === CONTACT PAGE === */
.contact-hero{
  background:linear-gradient(135deg,#0a3d62,var(--primary));
  color:#fff; text-align:center; padding:120px 20px 100px; margin-top:80px;
  position:relative; overflow:hidden; border-radius:0 0 50px 50px; box-shadow:0 4px 20px rgba(0,0,0,.1);
  animation:fadeInDown .8s ease-out;
}
.contact-hero::after{
  content:""; position:absolute; inset:0; background:url('../img/contact-hero.webp') center/cover no-repeat;
  opacity:.25; animation:slowZoom 15s ease-in-out infinite alternate;
}
.contact-hero h1{ font-size:2.6rem; font-weight:700; position:relative; z-index:2; }
.contact-hero p{
  font-size:1.1rem; max-width:800px; margin:10px auto; position:relative; z-index:2; line-height:1.7;
}
.contact-wrapper{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); align-items:start; gap:36px;
  margin:70px auto; max-width:1080px; padding:0 16px;
}
.contact-info,.contact-form-block{
  display:flex; flex-direction:column; background:rgba(255,255,255,.95); border-radius:16px;
  padding:34px 36px 40px; box-shadow:0 6px 20px rgba(0,0,0,.06), inset 0 1px 2px rgba(255,255,255,.25);
  position:relative; overflow:hidden; border:1px solid rgba(230,230,230,.5); transition:all .4s ease;
}
.contact-info::before,.contact-form-block::before{
  content:""; position:absolute; top:0; left:-50%; width:200%; height:2px;
  background:linear-gradient(90deg,#009dff,#006aff,#00e1ff); animation:gradientSlide 4s linear infinite;
  background-size:200% 100%;
}
.contact-info:hover,.contact-form-block:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 26px rgba(10,102,194,.15), inset 0 2px 4px rgba(255,255,255,.3);
}
.contact-info h2,.contact-form-block h2{
  font-size:1.25rem; font-weight:700; color:#0a66c2; margin-bottom:16px; display:flex; align-items:center; gap:8px;
}
.contact-info ul{ list-style:none; margin:0; padding:0; line-height:1.8; }
.contact-info li{ margin-bottom:10px; font-size:.95rem; color:var(--text); }
.contact-info a{ color:#0073e6; text-decoration:none; font-weight:500; }
.contact-info a:hover{ text-decoration:underline; }
.contact-info small{ display:block; margin-top:8px; font-size:.85rem; color:#666; }

/* Contact form */
.ggr-contact-form{
  max-width:760px; margin:40px auto 70px; background:#fff; padding:40px 46px; border-radius:18px;
  box-shadow:0 10px 28px rgba(10,102,194,.08); font-family:var(--font-sans);
  position:relative; overflow:hidden; animation:fadeUpCard .6s ease-out;
}
.ggr-contact-form::before{
  content:""; position:absolute; top:0; left:-50%; width:200%; height:2px;
  background:linear-gradient(90deg,#009dff,#006aff,#00e1ff); background-size:200% 100%; animation:gradientSlide 4s linear infinite;
}
.ggr-row{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; margin-bottom:14px; }
.ggr-field{ display:flex; flex-direction:column; gap:6px; }
.ggr-field label{ font-weight:600; color:#0a2846; font-size:.95rem; }
.ggr-field input,.ggr-field textarea{
  border:1px solid #dce3f0; border-radius:12px; padding:12px 14px; font-size:15px; background:#f9fbff; transition:all .3s ease;
}
.ggr-field input:focus,.ggr-field textarea:focus{
  border-color:#0a66c2; box-shadow:0 0 0 3px rgba(10,102,194,.15), 0 4px 10px rgba(10,102,194,.08);
  background:#fff; outline:none; transform:scale(1.01);
}
/* Hide honeypot / stray fields */
.ggr-contact-form input[type="text"]:not([name]):not([id]),
.ggr-contact-form input[name="honeypot"],
.ggr-contact-form input[style*="display:none"]{ display:none!important; visibility:hidden!important; height:0!important; width:0!important; margin:0!important; padding:0!important; }

.ggr-consent{ display:flex; align-items:center; gap:8px; margin:14px 0 6px; font-size:.9rem; color:var(--text); }
.ggr-consent input[type="checkbox"]{ width:18px; height:18px; accent-color:#0a66c2; }

.ggr-btn{
  display:block; width:100%; margin:20px auto 10px; background:linear-gradient(135deg,#0a66c2,#007bff);
  color:#fff; border:0; padding:14px 20px; border-radius:12px; font-weight:600; text-align:center; cursor:pointer;
  transition:all .3s ease; box-shadow:0 4px 12px rgba(10,102,194,.15);
}
.ggr-btn:hover{ transform:translateY(-2px); box-shadow:0 8px 20px rgba(10,102,194,.25);text-decoration:none; }

/* Map + Social */
.contact-map{ max-width:1100px; margin:100px auto 80px; padding:0 20px; text-align:center; }
.contact-map iframe{
  display:block; max-width:100%!important; width:100%!important; height:420px!important; margin:40px auto 0!important;
  border:0; border-radius:16px; box-shadow:0 6px 20px rgba(0,0,0,.08);
}
.contact-map iframe:hover{ transform:scale(1.01); }

.contact-social{ text-align:center; padding:60px 20px 80px; background:#f9fbff; border-top:1px solid #e6e9f0; }
.social-icons{
  display:flex; justify-content:center; flex-wrap:wrap; gap:16px; margin-top:20px;
}
.social-icons a{
  display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; font-size:20px;
  background:rgba(255,255,255,.25); color:#0a66c2; backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,.4);
  box-shadow:0 4px 10px rgba(0,0,0,.08); transition:all .3s ease; opacity:0; animation:fadeUp .6s forwards;
}
.social-icons a:nth-child(1){ animation-delay:.1s; }
.social-icons a:nth-child(2){ animation-delay:.2s; }
.social-icons a:nth-child(3){ animation-delay:.3s; }
.social-icons a:nth-child(4){ animation-delay:.4s; }
.social-icons a:nth-child(5){ animation-delay:.5s; }
.social-icons a:nth-child(6){ animation-delay:.6s; }
.social-icons a:hover{
  transform:translateY(-5px) scale(1.08); background:rgba(255,255,255,.6);
  box-shadow:0 8px 20px rgba(0,0,0,.25); color:var(--primary);
}

/* === ANIMATIONS / MISC === */
.scroll-indicator{ margin-top:20px; font-size:.95rem; color:#f0f0f0; animation:bounce 2s infinite; text-align:center; letter-spacing:.5px; opacity:.9; }
@keyframes bounce{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(6px); } }
@keyframes fadeInDown{ from{ opacity:0; transform:translateY(-30px); } to{ opacity:1; transform:translateY(0); } }
@keyframes slowZoom{ from{ transform:scale(1);} to{ transform:scale(1.1);} }
@keyframes fadeUpCard{ 0%{ opacity:0; transform:translateY(25px);} 100%{ opacity:1; transform:translateY(0);} }
@keyframes gradientSlide{ 0%{ background-position:200% 0;} 100%{ background-position:-200% 0;} }

/* ==========================================================
📱 RESPONSIVE LAYOUT — FINAL OPTIMIZED VERSION (2025)
========================================================== */

/* === 1024px ↓ (Tablet Landscape) === */
@media (max-width: 1024px) {
  /* Header */
  .inside-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .site-logo img { max-height: 90px !important; }
  .main-navigation ul { flex-wrap: wrap; justify-content: center; }

  /* Section Containers */
  .home-intro,
  .alt-bg .ggr-trust,
  .ggr-section,
  .helpful-resources .resource-grid {
    max-width: 95%;
    padding: 32px 20px;
    margin: 30px auto;
  }

  /* Feature Bar */
  .feature-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 10px 20px;
  }
  .feature-bar span {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

 

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .section-title {
    font-size: 1.6rem;
  }
  .section-cta {
    font-size: 0.9rem;
    padding: 5px 12px;
  }
}

/* === 768px ↓ (Tablet Portrait / Large Mobile) === */
@media (max-width: 768px) {
  .section-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .section-cta {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 16px;
  }

  /* Hero */
  .ggr-hero {
    padding: 50px 15px;
    text-align: center;
  }
  .ggr-hero h1 { font-size: 1.8rem; line-height: 1.3; margin-bottom: 10px; }
  .ggr-hero p { font-size: 1rem; margin-bottom: 20px; }
  .ggr-hero-btn { padding: 10px 22px; font-size: 0.95rem; }

  /* === LATEST REVIEWS SLIDER === */
  .ggr-slider-btn { display: none; }
  
  .ggr-rail:hover { animation-play-state: paused; }
  .ggr-card {
    flex: 0 0 80%;
    max-width: 80%;
  }

  /* Trust Section */
  .alt-bg .ggr-trust {
    padding: 28px 18px;
    border-radius: 12px;
    text-align: left;
  }
  .alt-bg .ggr-trust h2 {
    font-size: 1.45rem;
    margin-bottom: 14px;
  }
  .alt-bg .ggr-trust p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* Why People Trust */
  .ggr-section {
    padding: 28px 16px;
  }
  .ggr-section h2 {
    font-size: 1.45rem;
    margin-bottom: 12px;
  }
  .ggr-section p,
  .ggr-section li {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Categories */
  .categories-section .category-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
    margin: 20px auto;
  }
  .categories-section .category-card {
    min-height: 220px;
    padding: 20px;
  }
  .categories-section .category-card img {
    height: 140px;
  }

  /* FAQ Section */
  .home .faq-section {
    padding: 0 14px;
  }
  .home .faq-section .faq-question {
    font-size: 1rem;
    padding: 14px 16px !important;
  }
  .home .faq-section .faq-answer {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Helpful Resources */
  .helpful-resources .resource-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 16px 30px;
  }

  /* CTA Section */
  .home .ggr-cta {
    max-width: 95%;
    padding: 24px 16px;
    margin: 30px auto;
    text-align: center;
  }
  .home .ggr-cta h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .home .ggr-cta p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Footer */
  .ggr-footer {
    padding: 24px 14px;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    gap: 10px;
  }
}

/* === 600px ↓ (Mobile Standard) === */
@media (max-width: 600px) {
  body { font-size: 15px; }
  h2, h3 { font-size: 1.1rem; }

  /* Latest Reviews Slider */

  .ggr-card { flex: 0 0 90%; }

  /* Headings */
  .alt-bg .ggr-trust h2,
  .ggr-section h2 {
    font-size: 1.35rem;
  }

  /* FAQ */
  .faq-section h2 { font-size: 1.4rem; }

  /* Hero */
  .ggr-hero h1 { font-size: 1.55rem; }

  /* CTA */
  .home .ggr-cta h2 { font-size: 1.2rem; }

  /* Resources */
  .helpful-resources .resource-grid { gap: 14px; }

  /* Feature Bar */
  .feature-bar {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .feature-bar span { font-size: 0.9rem; }
}

/* === 480px ↓ (Compact Phones) === */
@media (max-width: 480px) {
  /* Intro */
  .home-intro {
    padding: 22px 14px;
    border-radius: 12px;
  }
  .home-intro h1 {
    font-size: 1.35rem;
    line-height: 1.25;
  }
  .home-intro p { font-size: 0.95rem; }

  /* Hero */
  .ggr-hero h1 { font-size: 1.4rem; line-height: 1.3; }
  .ggr-hero p { font-size: 0.9rem; }

  /* Latest Reviews Cards */

  .ggr-card {
    flex: 0 0 92%;
    max-width: 92%;
  }
  .ggr-card-title { font-size: 0.95rem; }
  .ggr-card-excerpt { font-size: 0.85rem; }

  /* Sections */
  .alt-bg .ggr-trust,
  .ggr-section,
  .home .faq-section,
  .helpful-resources .resource-grid {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* CTA */
  .home .ggr-cta {
    padding: 20px 12px;
  }

  /* Footer */
  .ggr-footer {
    padding: 20px 12px;
    font-size: 0.85rem;
  }

  /* Feature Bar */
  .feature-bar span {
    font-size: 0.9rem;
  }
}


