/*
Theme Name: AadhaarGuide Elementor
Theme URI: https://aadhaarguide.in
Author: AadhaarGuide
Description: A fully Elementor-native WordPress theme for Aadhaar card download guide portals. Every section, layout, and component is built using Elementor widgets and templates. Google AdSense ready, fully responsive, SEO optimized.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Elementor tested up to: 3.21
Elementor Pro tested up to: 3.21
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aadhaar-elementor
Tags: elementor, elementor-addon, full-site-editing, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, responsive-layout, one-column, two-columns, blog, government, information
*/

/* =============================================================
   AADHAAR GUIDE ELEMENTOR THEME — Global Variables & Reset
   ============================================================= */

:root {
  /* Brand Colors */
  --ag-saffron:       #FF6B00;
  --ag-saffron-light: #FF8C33;
  --ag-saffron-pale:  #FFF3E0;
  --ag-navy:          #1A237E;
  --ag-navy-mid:      #283593;
  --ag-navy-light:    #3949AB;
  --ag-green:         #2E7D32;
  --ag-green-light:   #43A047;
  --ag-gold:          #FFC107;
  --ag-gold-pale:     #FFF8E1;

  /* Neutrals */
  --ag-white:         #FFFFFF;
  --ag-off-white:     #F8F9FF;
  --ag-light-bg:      #EEF1FF;
  --ag-text-dark:     #1a1a2e;
  --ag-text-body:     #374151;
  --ag-text-muted:    #6B7280;
  --ag-border:        #D1D5DB;
  --ag-border-light:  #E8ECFF;

  /* Shadows */
  --ag-shadow:        0 4px 24px rgba(26,35,126,0.10);
  --ag-shadow-lg:     0 8px 32px rgba(26,35,126,0.13);
  --ag-shadow-orange: 0 4px 24px rgba(255,107,0,0.35);

  /* Radius */
  --ag-radius:        16px;
  --ag-radius-sm:     10px;
  --ag-radius-xs:     6px;
}

/* --- Minimal Reset (Elementor handles most) --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  color: var(--ag-text-body);
  background-color: var(--ag-off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { transition: color 0.2s; }

/* --- Skip Link --- */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; top: 0; left: 0; width: auto; height: auto;
  padding: 10px 20px; background: var(--ag-navy); color: #fff;
  z-index: 99999; text-decoration: none; font-weight: 700;
}

/* =============================================================
   ELEMENTOR PAGE & SECTION OVERRIDES
   ============================================================= */
.elementor-page .elementor-section { position: relative; }

/* Make Elementor sections full-width capable */
.elementor-section.elementor-section-full_width .elementor-container {
  max-width: 100%;
}

/* Ensure Elementor widgets inherit our fonts */
.elementor-widget-container {
  font-family: inherit;
}

/* =============================================================
   GLOBAL COMPONENT STYLES
   (Used by Elementor HTML/Custom HTML widgets and shortcodes)
   ============================================================= */

/* --- Buttons --- */
.ag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Baloo 2', 'Segoe UI', cursive;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  line-height: 1;
}
.ag-btn:hover { transform: translateY(-2px); }

.ag-btn-primary {
  background: var(--ag-saffron);
  color: #fff !important;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  box-shadow: var(--ag-shadow-orange);
}
.ag-btn-primary:hover {
  background: var(--ag-saffron-light);
  box-shadow: 0 8px 32px rgba(255,107,0,0.5);
  color: #fff !important;
}

.ag-btn-outline {
  background: transparent;
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  border: 2px solid rgba(255,255,255,0.5);
}
.ag-btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff !important;
}

.ag-btn-white {
  background: #fff;
  color: var(--ag-saffron) !important;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 17px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.ag-btn-white:hover {
  transform: translateY(-3px);
  color: var(--ag-saffron) !important;
}

.ag-btn-navy {
  background: var(--ag-navy);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
}
.ag-btn-navy:hover { background: var(--ag-navy-mid); color: #fff !important; }

/* --- Section Labels --- */
.ag-label {
  display: inline-block;
  background: var(--ag-light-bg);
  color: var(--ag-navy);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
  font-family: 'Nunito', sans-serif;
}
.ag-label-gold {
  background: rgba(255,193,7,0.2);
  border: 1px solid rgba(255,193,7,0.5);
  color: var(--ag-gold);
}
.ag-label-white {
  background: rgba(255,255,255,0.1);
  color: var(--ag-gold);
}

/* --- Headings with Highlight --- */
.ag-title {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  color: var(--ag-text-dark);
  line-height: 1.2;
}
.ag-title .ag-highlight { color: var(--ag-saffron); }
.ag-title-white { color: #fff; }
.ag-title-white .ag-highlight { color: var(--ag-gold); }

/* =============================================================
   TOP ANNOUNCEMENT STRIP
   ============================================================= */
.ag-top-strip {
  background: var(--ag-navy);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-family: 'Nunito', sans-serif;
  position: relative;
  z-index: 1001;
}
.ag-top-strip .ag-strip-highlight { color: var(--ag-gold); font-weight: 800; }
.ag-top-strip a { color: var(--ag-gold); text-decoration: none; }

/* =============================================================
   HEADER — Elementor Header Template
   ============================================================= */
.ag-header-wrap {
  background: #fff;
  border-bottom: 3px solid var(--ag-saffron);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.ag-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.ag-logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--ag-saffron), var(--ag-navy));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px; font-weight: 800;
  font-family: 'Baloo 2', cursive;
  flex-shrink: 0;
}
.ag-logo-name {
  font-family: 'Baloo 2', cursive;
  font-size: 20px; font-weight: 800;
  color: var(--ag-navy);
  line-height: 1.1;
  display: block;
}
.ag-logo-tagline {
  font-size: 10px; color: var(--ag-text-muted);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; display: block;
}

/* Nav links via Elementor Nav Menu widget */
.elementor-nav-menu .elementor-item {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--ag-text-body) !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  transition: all 0.2s !important;
}
.elementor-nav-menu .elementor-item:hover,
.elementor-nav-menu .elementor-item.elementor-item-active {
  color: var(--ag-saffron) !important;
  background: rgba(255,107,0,0.07) !important;
}

/* =============================================================
   HERO SECTION
   ============================================================= */
.ag-hero {
  background: linear-gradient(135deg, var(--ag-navy) 0%, var(--ag-navy-light) 50%, #1A237E 100%);
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
  text-align: center;
}

/* Decorative orbs */
.ag-hero::before {
  content: '';
  position: absolute; top: -100px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.ag-hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(67,160,71,0.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

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

.ag-hero-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(34px, 5.5vw, 60px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.ag-hero-title .ag-hl { color: var(--ag-saffron); }

.ag-hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.8);
  max-width: 660px;
  margin: 0 auto 40px;
  line-height: 1.75;
  font-family: 'Nunito', sans-serif;
}

.ag-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Stats row */
.ag-stats-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}
.ag-stat { text-align: center; }
.ag-stat-num {
  display: block;
  font-family: 'Baloo 2', cursive;
  font-size: 38px;
  font-weight: 800;
  color: var(--ag-gold);
  line-height: 1;
  margin-bottom: 4px;
}
.ag-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Nunito', sans-serif;
}

/* Wave Divider */
.ag-wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.ag-wave-divider svg { display: block; width: 100%; }

/* =============================================================
   METHOD CARDS
   ============================================================= */
.ag-methods-section {
  background: var(--ag-off-white);
  padding: 80px 0;
}

.ag-method-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ag-method-card {
  border-radius: var(--ag-radius);
  padding: 36px 28px 32px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.ag-method-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--ag-radius);
  opacity: 0;
  transition: opacity 0.25s;
  background: rgba(255,255,255,0.15);
}
.ag-method-card:hover { transform: translateY(-6px); }
.ag-method-card:hover::after { opacity: 1; }
.ag-method-card.ag-orange { background: linear-gradient(145deg,#FFF3E0,#FFECD2); border: 2px solid #FFCC80; }
.ag-method-card.ag-orange:hover { box-shadow: 0 16px 48px rgba(255,107,0,0.2); }
.ag-method-card.ag-blue   { background: linear-gradient(145deg,#E8EAF6,#E3E7FF); border: 2px solid #9FA8DA; }
.ag-method-card.ag-blue:hover   { box-shadow: 0 16px 48px rgba(26,35,126,0.18); }
.ag-method-card.ag-green  { background: linear-gradient(145deg,#E8F5E9,#DCEDC8); border: 2px solid #A5D6A7; }
.ag-method-card.ag-green:hover  { box-shadow: 0 16px 48px rgba(46,125,50,0.18); }

.ag-method-icon { font-size: 52px; margin-bottom: 16px; line-height: 1; }
.ag-method-title {
  font-family: 'Baloo 2', cursive;
  font-size: 21px; font-weight: 800;
  color: var(--ag-text-dark);
  margin-bottom: 10px;
}
.ag-method-desc { font-size: 14px; color: var(--ag-text-muted); line-height: 1.65; margin-bottom: 16px; }
.ag-method-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-family: 'Nunito', sans-serif;
}
.ag-orange .ag-method-tag { background: var(--ag-saffron); color: #fff; }
.ag-blue   .ag-method-tag { background: var(--ag-navy);    color: #fff; }
.ag-green  .ag-method-tag { background: var(--ag-green);   color: #fff; }

/* =============================================================
   REQUIREMENTS SECTION
   ============================================================= */
.ag-req-section { background: var(--ag-navy); padding: 80px 0; }
.ag-req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.ag-req-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--ag-radius);
  padding: 28px 24px;
  transition: background 0.2s, transform 0.2s;
}
.ag-req-card:hover { background: rgba(255,255,255,0.11); transform: translateY(-3px); }
.ag-req-icon { font-size: 34px; margin-bottom: 14px; }
.ag-req-title { font-family: 'Baloo 2',cursive; font-size:16px; font-weight:700; color: var(--ag-gold); margin-bottom:8px; }
.ag-req-desc  { font-size:13px; color:rgba(255,255,255,0.68); line-height:1.65; }

/* =============================================================
   TAB STEPS SECTION
   ============================================================= */
.ag-steps-section { background: #fff; padding: 80px 0; }

.ag-tab-nav {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid var(--ag-border);
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.ag-tab-btn {
  padding: 12px 22px;
  border: none; background: none;
  font-family: 'Baloo 2', cursive;
  font-size: 14px; font-weight: 700;
  color: var(--ag-text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s;
  white-space: nowrap;
}
.ag-tab-btn:hover { color: var(--ag-navy); background: var(--ag-light-bg); }
.ag-tab-btn.active {
  color: var(--ag-navy);
  border-bottom-color: var(--ag-saffron);
  background: rgba(26,35,126,0.04);
}
.ag-tab-pane { display: none; }
.ag-tab-pane.active { display: block; animation: agFadeUp 0.3s ease; }
@keyframes agFadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }

/* Flow Steps */
.ag-flow-steps { display: flex; flex-direction: column; gap: 0; }
.ag-flow-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}
.ag-flow-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 26px; top: 54px;
  width: 2px; height: calc(100% + 0px);
  background: linear-gradient(to bottom, rgba(255,107,0,0.3) 0%, transparent 100%);
  z-index: 0;
}

.ag-step-num {
  flex-shrink: 0;
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--ag-saffron), #FF8C00);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-size: 22px; font-weight: 800;
  box-shadow: var(--ag-shadow-orange);
  position: relative; z-index: 1;
  flex-shrink: 0;
}

.ag-step-body {
  background: var(--ag-off-white);
  border: 1px solid var(--ag-border-light);
  border-radius: var(--ag-radius-sm);
  padding: 22px 26px;
  flex: 1;
  margin-bottom: 28px;
  box-shadow: var(--ag-shadow);
  transition: box-shadow 0.2s;
}
.ag-step-body:hover { box-shadow: var(--ag-shadow-lg); }
.ag-step-title {
  font-family: 'Baloo 2', cursive;
  font-size: 17px; font-weight: 700;
  color: var(--ag-text-dark);
  margin-bottom: 8px;
}
.ag-step-desc { font-size: 14px; color: var(--ag-text-body); line-height: 1.7; }
.ag-code-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ag-light-bg);
  color: var(--ag-navy);
  font-family: 'Courier New', monospace;
  font-size: 13px; font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
  user-select: all;
  transition: background 0.2s;
  border: 1px solid #C5CAE9;
}
.ag-code-pill:hover { background: #dde2ff; }

/* =============================================================
   NOTES / INFO CARDS
   ============================================================= */
.ag-notes-section { background: var(--ag-off-white); padding: 80px 0; }
.ag-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ag-note-card {
  border-radius: var(--ag-radius-sm);
  padding: 24px 22px;
  display: flex; gap: 16px; align-items: flex-start;
}
.ag-note-warn    { background: #FFF8E1; border: 1px solid #FFE082; }
.ag-note-info    { background: #E3F2FD; border: 1px solid #90CAF9; }
.ag-note-success { background: #E8F5E9; border: 1px solid #A5D6A7; }
.ag-note-icon { font-size: 28px; flex-shrink: 0; }
.ag-note-title { font-family:'Baloo 2',cursive; font-size:15px; font-weight:700; color:var(--ag-text-dark); margin-bottom:6px; }
.ag-note-text  { font-size:13px; color:var(--ag-text-body); line-height:1.65; }

/* =============================================================
   FAQ ACCORDION
   ============================================================= */
.ag-faq-section { background: #fff; padding: 80px 0; }
.ag-faq-wrap { max-width: 820px; margin: 0 auto; }

.ag-faq-item {
  border: 1px solid var(--ag-border);
  border-radius: var(--ag-radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.ag-faq-item:hover { box-shadow: var(--ag-shadow); }
.ag-faq-item.open { box-shadow: var(--ag-shadow); border-color: #C5CAE9; }

.ag-faq-trigger {
  width: 100%; text-align: left;
  padding: 20px 24px;
  background: #fff; border: none;
  font-family: 'Baloo 2', cursive;
  font-size: 16px; font-weight: 700;
  color: var(--ag-text-dark);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.ag-faq-item.open .ag-faq-trigger { background: var(--ag-light-bg); }
.ag-faq-icon {
  width: 30px; height: 30px;
  background: var(--ag-light-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ag-navy);
  transition: transform 0.3s, background 0.2s;
  flex-shrink: 0;
}
.ag-faq-item.open .ag-faq-icon { transform: rotate(180deg); background: var(--ag-saffron); color: #fff; }
.ag-faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  font-size: 14px; color: var(--ag-text-body); line-height: 1.75;
  padding: 0 24px;
}
.ag-faq-item.open .ag-faq-body { max-height: 400px; padding: 16px 24px 22px; }

/* =============================================================
   CTA BANNER
   ============================================================= */
.ag-cta-wrap {
  background: linear-gradient(135deg, var(--ag-saffron) 0%, #FF8C00 100%);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ag-cta-wrap::before {
  content:''; position:absolute; top:-60px; right:-60px;
  width:280px; height:280px; border-radius:50%;
  background:rgba(255,255,255,0.08); pointer-events:none;
}
.ag-cta-wrap::after {
  content:''; position:absolute; bottom:-40px; left:-40px;
  width:200px; height:200px; border-radius:50%;
  background:rgba(255,255,255,0.06); pointer-events:none;
}
.ag-cta-title {
  font-family:'Baloo 2',cursive; font-size:clamp(26px,4vw,40px);
  font-weight:800; color:#fff; margin-bottom:14px;
}
.ag-cta-desc {
  color:rgba(255,255,255,0.85); font-size:16px;
  margin-bottom:36px; max-width:540px; margin-left:auto; margin-right:auto; line-height:1.7;
}

/* =============================================================
   ADSENSE CONTAINERS
   ============================================================= */
.ag-ad-area {
  text-align: center;
  padding: 16px 0;
}
.ag-ad-area::before {
  content: 'Advertisement';
  display: block;
  font-size: 10px; color: var(--ag-text-muted);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 8px;
  font-family: 'Nunito', sans-serif;
}
.ag-ad-top    { background: #fff; padding: 14px; border-bottom: 1px solid var(--ag-border); }
.ag-ad-mid    { background: var(--ag-off-white); padding: 24px 0; margin: 20px 0; }
.ag-ad-footer { background: #f5f5f5; padding: 20px 0; }

/* AdSense dev placeholder */
.ag-ad-placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--ag-text-muted); font-size: 13px; font-family:'Nunito',sans-serif;
  background: repeating-linear-gradient(45deg,#f0f0f0,#f0f0f0 10px,#e9e9e9 10px,#e9e9e9 20px);
  border-radius: 8px; font-weight: 600;
}

/* =============================================================
   FOOTER
   ============================================================= */
.ag-tricolor { display:flex; height:5px; width:100%; }
.ag-tricolor span { flex:1; }
.ag-tricolor span:nth-child(1) { background: var(--ag-saffron); }
.ag-tricolor span:nth-child(2) { background: #fff; }
.ag-tricolor span:nth-child(3) { background: var(--ag-green); }

.ag-footer { background: var(--ag-text-dark); color: rgba(255,255,255,0.6); padding: 64px 0 32px; }
.ag-footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.ag-footer-brand h3 { font-family:'Baloo 2',cursive; font-size:22px; color:#fff; margin-bottom:12px; }
.ag-footer-brand p  { font-size:13px; line-height:1.75; }
.ag-footer-col h5   { font-family:'Baloo 2',cursive; font-size:15px; color:#fff; margin-bottom:16px; font-weight:700; }
.ag-footer-col a    { display:block; color:rgba(255,255,255,0.55); text-decoration:none; font-size:13px; margin-bottom:10px; transition:color 0.2s; }
.ag-footer-col a:hover { color:var(--ag-saffron); }
.ag-footer-bottom {
  display:flex; justify-content:space-between; align-items:center;
  font-size:12px; flex-wrap:wrap; gap:12px;
}
.ag-footer-bottom a { color:var(--ag-saffron); text-decoration:none; }

/* =============================================================
   STICKY CTA BUTTON
   ============================================================= */
.ag-sticky-cta {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--ag-saffron); color: #fff !important;
  padding: 13px 26px; border-radius: 50px;
  font-family:'Baloo 2',cursive; font-size:15px; font-weight:700;
  text-decoration: none !important;
  box-shadow: 0 8px 32px rgba(255,107,0,0.45);
  z-index: 999; display:flex; align-items:center; gap:8px;
  transition: transform 0.2s, opacity 0.3s;
  opacity: 0; pointer-events: none;
}
.ag-sticky-cta.visible { opacity:1; pointer-events:auto; }
.ag-sticky-cta:hover { transform: scale(1.05); }

/* Back to top */
.ag-back-top {
  position: fixed; bottom: 86px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ag-navy); color:#fff !important;
  display:flex; align-items:center; justify-content:center;
  font-size:18px; text-decoration:none !important;
  box-shadow:var(--ag-shadow); z-index:998;
  transition: transform 0.2s, opacity 0.3s, background 0.2s;
  opacity: 0; pointer-events: none;
}
.ag-back-top.visible { opacity:1; pointer-events:auto; }
.ag-back-top:hover { background:var(--ag-saffron); transform:scale(1.1); }

/* =============================================================
   BREADCRUMBS
   ============================================================= */
.ag-breadcrumbs {
  background: var(--ag-light-bg);
  padding: 11px 24px;
  font-size:13px; color:var(--ag-text-muted);
  font-family:'Nunito',sans-serif;
  border-bottom: 1px solid var(--ag-border-light);
}
.ag-breadcrumbs a { color:var(--ag-navy); text-decoration:none; }
.ag-breadcrumbs a:hover { color:var(--ag-saffron); }
.ag-bc-sep { margin:0 7px; color:var(--ag-border); }

/* =============================================================
   FADE-IN SCROLL ANIMATION
   ============================================================= */
.ag-animate {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.ag-animate.in-view { opacity:1; transform:none; }
.ag-animate-delay-1 { transition-delay: 0.1s; }
.ag-animate-delay-2 { transition-delay: 0.2s; }
.ag-animate-delay-3 { transition-delay: 0.3s; }

/* =============================================================
   COOKIE CONSENT BAR
   ============================================================= */
.ag-cookie-bar {
  position:fixed; bottom:0; left:0; right:0;
  background:rgba(26,35,126,0.97); backdrop-filter:blur(8px);
  color:#fff; padding:14px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  z-index:10000; font-size:13px; flex-wrap:wrap;
  box-shadow:0 -4px 24px rgba(0,0,0,0.15);
  font-family:'Nunito',sans-serif;
  transform:translateY(0); transition:transform 0.3s;
}
.ag-cookie-bar.hidden { transform:translateY(100%); }
.ag-cookie-bar a { color:var(--ag-gold); }
.ag-cookie-accept {
  background:var(--ag-saffron); color:#fff; border:none;
  padding:9px 22px; border-radius:8px; cursor:pointer;
  font-weight:800; font-family:'Baloo 2',cursive; font-size:14px;
  white-space:nowrap; transition:background 0.2s;
}
.ag-cookie-accept:hover { background:var(--ag-saffron-light); }

/* =============================================================
   POST CARDS & BLOG
   ============================================================= */
.ag-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.ag-post-card {
  background: #fff; border-radius: var(--ag-radius);
  overflow: hidden; border: 1px solid var(--ag-border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.ag-post-card:hover { transform:translateY(-5px); box-shadow:var(--ag-shadow-lg); }
.ag-post-thumb { width:100%; aspect-ratio:16/9; object-fit:cover; }
.ag-post-body { padding:24px; flex:1; display:flex; flex-direction:column; }
.ag-post-cat {
  display:inline-block; background:var(--ag-light-bg); color:var(--ag-navy);
  font-size:11px; font-weight:700; text-transform:uppercase;
  letter-spacing:1px; padding:4px 10px; border-radius:100px;
  margin-bottom:10px; text-decoration:none; font-family:'Nunito',sans-serif;
}
.ag-post-title { font-family:'Baloo 2',cursive; font-size:18px; font-weight:700; color:var(--ag-text-dark); margin-bottom:10px; line-height:1.4; }
.ag-post-title a { text-decoration:none; color:inherit; }
.ag-post-title a:hover { color:var(--ag-saffron); }
.ag-post-excerpt { font-size:14px; color:var(--ag-text-muted); line-height:1.65; flex:1; }
.ag-post-meta { display:flex; gap:12px; margin-top:16px; padding-top:14px; border-top:1px solid var(--ag-border); font-size:12px; color:var(--ag-text-muted); }
.ag-read-more { color:var(--ag-saffron); font-weight:700; font-size:13px; text-decoration:none; margin-top:14px; display:inline-flex; align-items:center; gap:5px; }
.ag-read-more:hover { gap:9px; }

/* Pagination */
.ag-pagination { display:flex; gap:6px; flex-wrap:wrap; justify-content:center; margin:40px 0; }
.ag-pagination a, .ag-pagination span {
  display:flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:8px; border:1px solid var(--ag-border);
  text-decoration:none; font-weight:700; font-size:14px; color:var(--ag-text-body);
  transition:all 0.2s;
}
.ag-pagination span.current { background:var(--ag-navy); color:#fff; border-color:var(--ag-navy); }
.ag-pagination a:hover { background:var(--ag-saffron); color:#fff; border-color:var(--ag-saffron); }

/* =============================================================
   CONTENT LAYOUT (sidebar)
   ============================================================= */
.ag-content-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.ag-sidebar { position: sticky; top: 90px; }
.ag-widget {
  background:#fff; border:1px solid var(--ag-border);
  border-radius:var(--ag-radius-sm); padding:24px; margin-bottom:24px;
}
.ag-widget-title {
  font-family:'Baloo 2',cursive; font-size:16px; font-weight:800;
  color:var(--ag-text-dark); margin-bottom:16px; padding-bottom:10px;
  border-bottom:2px solid var(--ag-saffron);
}

/* =============================================================
   SINGLE POST STYLES
   ============================================================= */
.ag-single-header h1 { font-family:'Baloo 2',cursive; font-size:clamp(26px,4vw,42px); color:var(--ag-text-dark); }
.ag-post-featured { width:100%; border-radius:var(--ag-radius); margin:24px 0; }
.ag-post-content h2 { font-family:'Baloo 2',cursive; font-size:26px; margin:32px 0 14px; }
.ag-post-content h3 { font-family:'Baloo 2',cursive; font-size:20px; margin:24px 0 10px; }
.ag-post-content p { margin-bottom:16px; line-height:1.8; }
.ag-post-content ul, .ag-post-content ol { margin:16px 0 16px 24px; line-height:1.8; }
.ag-post-content a { color:var(--ag-saffron); }
.ag-post-content blockquote {
  border-left:4px solid var(--ag-saffron); padding:16px 24px;
  background:var(--ag-light-bg); border-radius:0 var(--ag-radius-sm) var(--ag-radius-sm) 0; margin:24px 0; font-style:italic;
}
.ag-post-content code { background:var(--ag-light-bg); color:var(--ag-navy); padding:2px 6px; border-radius:4px; font-size:0.9em; }
.ag-post-content pre { background:var(--ag-light-bg); border-radius:8px; padding:20px; overflow-x:auto; }

/* Social share */
.ag-social-share { display:flex; gap:8px; flex-wrap:wrap; margin:24px 0; }
.ag-share-btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 16px; border-radius:8px; text-decoration:none;
  font-size:13px; font-weight:700; font-family:'Nunito',sans-serif;
  transition:opacity 0.2s, transform 0.2s;
}
.ag-share-btn:hover { opacity:0.88; transform:translateY(-2px); }
.ag-share-twitter { background:#1DA1F2; color:#fff !important; }
.ag-share-fb      { background:#1877F2; color:#fff !important; }
.ag-share-wa      { background:#25D366; color:#fff !important; }
.ag-share-tg      { background:#229ED9; color:#fff !important; }

/* =============================================================
   SEARCH FORM
   ============================================================= */
.ag-search-form { display:flex; gap:8px; }
.ag-search-form input {
  flex:1; padding:12px 16px; border:2px solid var(--ag-border); border-radius:8px;
  font-size:14px; font-family:inherit; outline:none; transition:border-color 0.2s;
  background:#fff;
}
.ag-search-form input:focus { border-color:var(--ag-navy); }
.ag-search-form button {
  padding:12px 18px; background:var(--ag-saffron); color:#fff;
  border:none; border-radius:8px; cursor:pointer;
  font-weight:700; font-size:14px; transition:background 0.2s;
}
.ag-search-form button:hover { background:var(--ag-saffron-light); }

/* =============================================================
   ACCESSIBILITY
   ============================================================= */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0; }
*:focus-visible { outline:3px solid var(--ag-saffron); outline-offset:3px; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .ag-footer-grid { grid-template-columns: 1fr 1fr; }
  .ag-content-sidebar { grid-template-columns:1fr; }
  .ag-sidebar { position:static; }
  .ag-req-grid { grid-template-columns: repeat(2,1fr); }
  .ag-notes-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .ag-hero { padding:60px 0 80px; }
  .ag-method-cards { grid-template-columns: 1fr; }
  .ag-req-grid { grid-template-columns: 1fr; }
  .ag-notes-grid { grid-template-columns: 1fr; }
  .ag-stats-row { gap:28px; }
  .ag-stat-num { font-size:30px; }
  .ag-footer-grid { grid-template-columns: 1fr 1fr; }
  .ag-cta-wrap { padding:48px 24px; border-radius:16px; }
  .ag-tab-btn { padding:10px 14px; font-size:13px; }
}

@media (max-width: 480px) {
  .ag-hero-btns { flex-direction:column; align-items:center; }
  .ag-footer-grid { grid-template-columns: 1fr; }
  .ag-tab-btn { font-size:12px; padding:8px 10px; }
  .ag-flow-step { flex-direction:column; gap:10px; }
  .ag-flow-step::before { display:none; }
  .ag-step-body { margin-bottom:20px; }
}

/* =============================================================
   PRINT
   ============================================================= */
@media print {
  .ag-sticky-cta, .ag-back-top, .ag-cookie-bar,
  .ag-ad-area, .ag-header-wrap { display:none !important; }
}
