/* ==========================================================================
   AGS Smart Solutions — High-Attraction & High-Visibility Design System
   Theme: Vibrant Neo-Editorial Light Theme with Bold Highlight Blocks
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,600;0,700;0,800;0,900;1,800;1,900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* High-Contrast Light Theme Palette */
  --ags-bg-page: #f8fafc;
  --ags-bg-page-alt: #f1f5f9;
  --ags-bg-card: #ffffff;
  --ags-bg-card-hover: #ffffff;

  /* Text & Ink */
  --ags-text-dark: #070f24;
  --ags-text-heading: #070f24;
  --ags-text-body: #334155;
  --ags-text-muted: #64748b;
  --ags-text-white: #ffffff;

  /* Signature Neo-Editorial Accent Colors (Inspired by high-attraction block design) */
  --ags-neon-lime: #bbf425;
  /* Ultra-high visibility yellow-green */
  --ags-neon-lime-dark: #98cb08;
  --ags-vivid-orange: #ff4713;
  /* Punchy safety-orange */
  --ags-vivid-orange-hover: #e03706;
  --ags-electric-blue: #1d4ed8;
  /* Vibrant Royal Cobalt */
  --ags-electric-blue-hover: #1e40af;
  --ags-vivid-purple: #7c3aed;
  /* Rich Modern Violet */
  --ags-vivid-emerald: #059669;
  /* Crisp Emerald */
  --ags-navy-solid: #070f24;

  /* Product-Specific Palette */
  --ags-school-blue: #0284c7;
  --ags-autokhata-orange: #ea580c;
  --ags-myface-purple: #7c3aed;
  --ags-domicile-emerald: #059669;

  /* Borders & Shadows */
  --ags-border-light: #e2e8f0;
  --ags-border-medium: #cbd5e1;
  --ags-border-dark: #070f24;

  --ags-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --ags-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --ags-shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 12px 18px -8px rgba(15, 23, 42, 0.06);
  --ags-shadow-hover: 0 25px 50px -12px rgba(15, 23, 42, 0.2);

  /* Typography */
  --ags-font-heading: 'Archivo', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ags-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radius */
  --ags-radius-xs: 6px;
  --ags-radius-sm: 10px;
  --ags-radius-md: 18px;
  --ags-radius-lg: 26px;
  --ags-radius-xl: 36px;
  --ags-radius-pill: 9999px;

  /* Transitions */
  --ags-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--ags-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ags-text-body);
  background-color: var(--ags-bg-page);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--ags-transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--ags-transition);
}

.ags-container {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.ags-container-fluid {
  width: 100%;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   NEO-EDITORIAL HIGH-VISIBILITY TEXT HIGHLIGHT BLOCKS (Key Attraction Element)
   ========================================================================== */
.ags-hl-lime {
  background: var(--ags-neon-lime);
  color: var(--ags-text-dark);
  padding: 4px 14px;
  border-radius: var(--ags-radius-xs);
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 12px rgba(187, 244, 37, 0.35);
  line-height: 1.25;
}

.ags-hl-orange {
  background: var(--ags-vivid-orange);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--ags-radius-xs);
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(255, 71, 19, 0.35);
  line-height: 1.25;
}

.ags-hl-blue {
  background: var(--ags-electric-blue);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--ags-radius-xs);
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
  line-height: 1.25;
}

.ags-hl-purple {
  background: var(--ags-vivid-purple);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--ags-radius-xs);
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  line-height: 1.25;
}

.ags-hl-emerald {
  background: var(--ags-vivid-emerald);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--ags-radius-xs);
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  line-height: 1.25;
}

.ags-hl-dark {
  background: var(--ags-text-dark);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--ags-radius-xs);
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 12px rgba(7, 15, 36, 0.25);
  line-height: 1.25;
}

.ags-hl-white {
  background: #ffffff;
  color: var(--ags-text-dark);
  padding: 4px 14px;
  border-radius: var(--ags-radius-xs);
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.01em;
  border: 2px solid var(--ags-border-medium);
  box-shadow: var(--ags-shadow-sm);
  line-height: 1.25;
}

/* ==========================================================================
   NAVIGATION HEADER (Clean White Top Bar with High Contrast Logo)
   ========================================================================== */
.ags-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: #ffffff;
  border-bottom: 2px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: var(--ags-transition);
}

.ags-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
  border-bottom-color: #cbd5e1;
}

.ags-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ags-brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.ags-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.ags-brand-link:hover .ags-brand-logo {
  transform: scale(1.03);
}

.ags-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ags-nav-item a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  font-family: var(--ags-font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: #1e293b;
  border-radius: var(--ags-radius-xs);
  border: 1px solid transparent;
  transition: var(--ags-transition);
}

.ags-nav-item a:hover {
  color: var(--ags-electric-blue);
  background: #f1f5f9;
  border-color: #e2e8f0;
}

/* Active Button Feedback */
.ags-nav-item a.active,
.ags-nav-item a:active {
  color: var(--ags-text-dark) !important;
  background: var(--ags-neon-lime) !important;
  border-color: #98cb08 !important;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(187, 244, 37, 0.4);
  transform: translateY(1px);
}

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

/* Header Consultation Button (Refined, Normal Case, Soft Glow & Sliding Arrow) */
.ags-btn-nav-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--ags-radius-pill);
  background: var(--ags-vivid-orange);
  color: #ffffff;
  font-family: var(--ags-font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(242, 88, 34, 0.32);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.ags-btn-nav-demo .ags-nav-arrow {
  font-size: 0.78rem;
  transition: transform 0.25s ease;
  margin-left: 2px;
}

.ags-btn-nav-demo:hover {
  background: var(--ags-vivid-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242, 88, 34, 0.45);
  color: #ffffff;
}

.ags-btn-nav-demo:hover .ags-nav-arrow {
  transform: translateX(4px);
}

.ags-btn-nav-demo:active,
.ags-btn-nav-demo.active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  background: #e03706 !important;
}

/* Mobile Toggle */
.ags-mobile-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--ags-text-dark);
  width: 44px;
  height: 44px;
  border-radius: var(--ags-radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}

.ags-mobile-toggle:active {
  background: #e2e8f0;
  transform: scale(0.95);
}

/* ==========================================================================
   BUTTONS: ACTIVE FEEDBACK & ULTRA-ATTRACTIVE STYLING
   ========================================================================== */
.ags-btn-fancy-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--ags-radius-sm);
  background: var(--ags-vivid-orange);
  color: #ffffff !important;
  font-family: var(--ags-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 20px rgba(255, 71, 19, 0.38);
  border: 2px solid transparent;
  transition: var(--ags-transition);
  cursor: pointer;
}

.ags-btn-fancy-explore:hover {
  background: var(--ags-vivid-orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 71, 19, 0.5);
  color: #ffffff;
}

/* Explicit Active Press State */
.ags-btn-fancy-explore:active,
.ags-btn-fancy-explore.active {
  transform: translateY(2px) scale(0.97) !important;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.35) !important;
  background: #d82f00 !important;
  border-color: #070f24 !important;
}

.ags-btn-fancy-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--ags-radius-sm);
  background: var(--ags-electric-blue);
  color: #ffffff !important;
  font-family: var(--ags-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.35);
  border: 2px solid transparent;
  transition: var(--ags-transition);
  cursor: pointer;
}

.ags-btn-fancy-blue:hover {
  background: var(--ags-electric-blue-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.45);
}

.ags-btn-fancy-blue:active,
.ags-btn-fancy-blue.active {
  transform: translateY(2px) scale(0.97) !important;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.4) !important;
  background: #173b9e !important;
}

.ags-btn-fancy-lime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--ags-radius-sm);
  background: var(--ags-neon-lime);
  color: var(--ags-text-dark) !important;
  font-family: var(--ags-font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 20px rgba(187, 244, 37, 0.45);
  border: 2px solid #070f24;
  transition: var(--ags-transition);
  cursor: pointer;
}

.ags-btn-fancy-lime:hover {
  background: #a9e210;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(187, 244, 37, 0.6);
}

.ags-btn-fancy-lime:active,
.ags-btn-fancy-lime.active {
  transform: translateY(2px) scale(0.97) !important;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.35) !important;
  background: #92c505 !important;
}

/* Secondary Video / Custom Dev Button with pulsing icon */
.ags-btn-video-tutorials {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: var(--ags-radius-sm);
  background: #ffffff;
  color: var(--ags-text-dark);
  font-family: var(--ags-font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition: var(--ags-transition);
  cursor: pointer;
}

.ags-btn-video-tutorials:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  border-color: #070f24;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.ags-btn-video-tutorials:active,
.ags-btn-video-tutorials.active {
  transform: translateY(2px) scale(0.97) !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  background: #f1f5f9 !important;
}

.ags-play-beat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--ags-radius-pill);
  background: var(--ags-vivid-orange);
  color: #ffffff;
  font-size: 0.85rem;
  animation: agsPulseSlow 2s infinite ease-in-out;
}

@keyframes agsPulseSlow {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 71, 19, 0.5);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(255, 71, 19, 0);
  }
}

/* ==========================================================================
   HERO SECTION (Light Theme — Clean, Modern, Elegant & High Contrast)
   ========================================================================== */
.ags-hero-section {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 0 60px;
  overflow: hidden;
  background-color: #FAFAFC;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(187, 244, 37, 0.16) 0%, transparent 38%),
    radial-gradient(circle at 90% 35%, rgba(47, 79, 216, 0.11) 0%, transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 2px solid #0F1B3D;
  color: #070f24;
}

.ags-power-net-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ags-hero-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* 1. Flat Matrix Jali Grid Layer (Clean 2D straight grid, matching 48px canvas spacing) */
.ags-hero-bg-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 27, 61, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 27, 61, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 70%, transparent 98%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 70%, transparent 98%);
}

/* 2. Completely eliminate the 3D perspective receding diagonal lines ("bre line box hatane they") */
.ags-hero-bg-grid::after {
  display: none !important;
}

.ags-grid-streak {
  display: none !important;
}

/* Streak 1: Horizontal Left -> Right at y = 144px (Grid line 3) */
.ags-streak-1 {
  top: 144px;
  left: -220px;
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(15, 27, 61, 0.08) 25%, rgba(15, 27, 61, 0.28) 80%, rgba(15, 27, 61, 0.55) 100%);
  box-shadow: 0 0 6px rgba(15, 27, 61, 0.35);
  animation: agsStreakH1 18s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Streak 2: Vertical Top -> Bottom at x = 68% (Near center/right grid line) */
.ags-streak-2 {
  left: 68%;
  top: -220px;
  width: 2px;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 27, 61, 0.08) 25%, rgba(15, 27, 61, 0.28) 80%, rgba(15, 27, 61, 0.55) 100%);
  box-shadow: 0 0 6px rgba(15, 27, 61, 0.35);
  animation: agsStreakV2 22s cubic-bezier(0.4, 0, 0.2, 1) 6s infinite;
}

/* Streak 3: Horizontal Right -> Left at y = 65% (Grid line lower-middle) */
.ags-streak-3 {
  top: 65%;
  right: -220px;
  width: 180px;
  height: 2px;
  background: linear-gradient(270deg, transparent 0%, rgba(15, 27, 61, 0.08) 25%, rgba(15, 27, 61, 0.28) 80%, rgba(15, 27, 61, 0.55) 100%);
  box-shadow: 0 0 6px rgba(15, 27, 61, 0.35);
  animation: agsStreakH3 20s cubic-bezier(0.4, 0, 0.2, 1) 12s infinite;
}

@keyframes agsStreakH1 {
  0% {
    left: -220px;
    opacity: 0;
  }

  2% {
    opacity: 0.85;
  }

  20% {
    left: calc(100% + 50px);
    opacity: 0.85;
  }

  22% {
    left: calc(100% + 50px);
    opacity: 0;
  }

  100% {
    left: calc(100% + 50px);
    opacity: 0;
  }
}

@keyframes agsStreakV2 {
  0% {
    top: -220px;
    opacity: 0;
  }

  2% {
    opacity: 0.85;
  }

  22% {
    top: calc(100% + 50px);
    opacity: 0.85;
  }

  24% {
    top: calc(100% + 50px);
    opacity: 0;
  }

  100% {
    top: calc(100% + 50px);
    opacity: 0;
  }
}

@keyframes agsStreakH3 {
  0% {
    right: -220px;
    opacity: 0;
  }

  2% {
    opacity: 0.85;
  }

  21% {
    right: calc(100% + 50px);
    opacity: 0.85;
  }

  23% {
    right: calc(100% + 50px);
    opacity: 0;
  }

  100% {
    right: calc(100% + 50px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ags-grid-streak {
    animation: none !important;
    display: none !important;
  }
}

.ags-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.ags-hero-centered-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

/* ==========================================================================
   HEADLINE BLOCKS (Centered, Skewed -3deg Stickers with Solid Dark Shadow)
   ========================================================================== */
.ags-hero-headline-blocks {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ags-hero-block-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ags-hero-block {
  display: inline-block;
  transform: skewX(-3deg);
  padding: 8px 24px;
  border-radius: 4px;
  box-shadow: 4px 4px 0 #0F1B3D;
  font-family: var(--ags-font-heading);
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.ags-hero-block .ags-block-inner {
  display: inline-block;
  transform: skewX(3deg);
}

.ags-block-lime {
  background: #C6F432;
  color: #0F1B3D;
}

.ags-block-orange {
  background: #F25822;
  color: #ffffff;
}

.ags-block-blue {
  background: #2F4FD8;
  color: #ffffff;
}

/* Sub-line blocks: Navy + Lime sticker boxes */
.ags-hero-subline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: -10px auto 26px;
}

.ags-subline-block {
  display: inline-block;
  transform: skewX(-3deg);
  padding: 7px 18px;
  border-radius: 4px;
  box-shadow: 3px 3px 0 #0F1B3D;
  font-family: var(--ags-font-heading);
  font-size: clamp(1rem, 2.1vw, 1.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.ags-subline-block .ags-subline-inner {
  display: inline-block;
  transform: skewX(3deg);
}

.ags-subline-navy {
  background: #0F1B3D;
  color: #ffffff;
}

.ags-subline-lime {
  background: #C6F432;
  color: #0F1B3D;
}

/* Subheading (Centered, Max 2 lines on desktop) */
.ags-hero-subtitle-centered {
  font-size: 1.15rem;
  color: #475569;
  max-width: 860px;
  margin: 0 auto 34px;
  line-height: 1.68;
  font-weight: 400;
  text-align: center;
}

/* Centered CTA Buttons */
.ags-hero-actions-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 auto 46px;
}

.ags-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--ags-radius-pill);
  background: #F25822;
  color: #ffffff !important;
  font-family: var(--ags-font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid #0F1B3D;
  box-shadow: 4px 4px 0 #0F1B3D;
  transition: all 0.2s ease;
}

.ags-btn-hero-primary:hover {
  background: #d94714;
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 #0F1B3D;
  color: #ffffff !important;
}

.ags-btn-hero-primary i {
  font-size: 1.2rem;
}

.ags-btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--ags-radius-pill);
  background: #ffffff;
  color: #0F1B3D !important;
  border: 2px solid #0F1B3D;
  box-shadow: 4px 4px 0 #0F1B3D;
  font-family: var(--ags-font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ags-btn-hero-outline:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 #0F1B3D;
  color: #0F1B3D !important;
}

.ags-btn-hero-outline i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.ags-btn-hero-outline:hover i {
  transform: translateY(2px);
}

/* ==========================================================================
   STATS ROW: 4 BOXES IN ONE WHITE CARD
   ========================================================================== */
.ags-hero-stats-card-centered {
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  border: 2px solid #0F1B3D;
  box-shadow: 5px 5px 0 #0F1B3D;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 0 auto;
}

.ags-hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}

.ags-hero-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid #e2e8f0;
}

.ags-hero-stat-box:last-child {
  border-right: none;
}

.ags-hero-stat-box .ags-hero-stat-num {
  font-family: var(--ags-font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #0F1B3D;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.ags-hero-stat-box .ags-stat-symbol {
  color: #F25822;
  font-weight: 900;
}

.ags-hero-stat-box .ags-hero-stat-lbl {
  font-family: var(--ags-font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Mobile Responsiveness for Centered Hero */
@media (max-width: 991px) {
  .ags-hero-section {
    padding: 95px 0 65px;
  }

  .ags-hero-block {
    font-size: clamp(1.6rem, 5.5vw, 2.6rem);
    padding: 6px 16px;
  }

  .ags-hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ags-hero-stat-box {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
  }

  .ags-hero-stat-box:nth-child(3),
  .ags-hero-stat-box:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 576px) {
  .ags-hero-headline-blocks {
    gap: 8px;
  }

  .ags-hero-block-row {
    flex-direction: column;
    gap: 8px;
  }

  .ags-hero-block {
    font-size: clamp(1.4rem, 6.2vw, 1.85rem);
    width: 100%;
  }

  .ags-hero-subtitle-centered {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .ags-hero-actions-centered {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .ags-btn-hero-primary,
  .ags-btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .ags-hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ags-hero-stat-box {
    border-bottom: 1px solid #e2e8f0;
  }

  .ags-hero-stat-box:last-child {
    border-bottom: none;
  }
}

@media (max-width: 576px) {
  .ags-hero-section {
    padding: 65px 0 40px;
  }

  .ags-hero-title {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  .ags-hero-subtitle {
    font-size: 0.98rem;
  }

  .ags-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .ags-btn-hero-primary,
  .ags-btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .ags-hero-stats-card {
    padding: 20px 16px;
  }

  .ags-hero-stat-row {
    padding: 12px 14px;
    gap: 14px;
  }

  .ags-hero-stat-num {
    font-size: 1.8rem;
    min-width: 60px;
  }

  .ags-hero-stat-gov-icon {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   HOMEPAGE ABOUT US: INTRO SECTION (Light & Clean)
   ========================================================================== */
.ags-section-light {
  padding: 85px 0;
  background-color: #ffffff;
  background-image:
    radial-gradient(rgba(234, 88, 12, 0.055) 1.2px, transparent 1.2px),
    linear-gradient(135deg, #ffffff 0%, #fffbf8 50%, #fff7ed 100%);
  background-size: 26px 26px, 100% 100%;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}

.ags-about-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.ags-about-copy h2,
.ags-about-heading {
  font-family: var(--ags-font-heading);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 900;
  color: var(--ags-text-dark);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.ags-highlight-text-orange {
  color: #ea580c;
  font-weight: 900;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.ags-about-subheading {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #475569;
  margin: 0 0 28px;
  max-width: 680px;
}

.ags-about-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ags-btn-about-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--ags-radius-pill);
  background: #ea580c;
  color: #ffffff !important;
  font-family: var(--ags-font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px -4px rgba(234, 88, 12, 0.38);
  transition: all 0.25s ease;
  border: 2px solid #ea580c;
}

.ags-btn-about-primary:hover {
  background: #c2410c;
  border-color: #c2410c;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(234, 88, 12, 0.48);
  color: #ffffff !important;
}

.ags-btn-about-primary i {
  font-size: 1.15rem;
}

.ags-btn-about-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--ags-radius-pill);
  background: #ffffff;
  color: #070f24 !important;
  border: 2px solid #cbd5e1;
  font-family: var(--ags-font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.ags-btn-about-outline:hover {
  border-color: #070f24;
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  color: #070f24 !important;
}

.ags-btn-about-outline i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.ags-btn-about-outline:hover i {
  transform: translateY(2px);
}

/* Thin row below buttons, smaller and lighter */
.ags-about-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ags-about-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #64748b;
}

.ags-about-badge-item i {
  font-size: 0.95rem;
}

.ags-about-badge-dot {
  color: #cbd5e1;
  font-size: 0.8rem;
}

/* Right Card with 3 stats */
.ags-about-visual-card {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: var(--ags-radius-xl);
  padding: 28px 24px;
  box-shadow: 0 16px 36px -8px rgba(234, 88, 12, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
}

.ags-about-stats-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ags-about-stat-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: #fffaf5;
  border: 1px solid #ffedd5;
  border-radius: var(--ags-radius-md);
  transition: all 0.25s ease;
}

.ags-about-stat-row:hover {
  background: #ffffff;
  border-color: #fdba74;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(234, 88, 12, 0.12);
}

.ags-about-stat-num {
  font-family: var(--ags-font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  color: #070f24;
  line-height: 1;
  min-width: 75px;
  letter-spacing: -0.02em;
}

.ags-about-stat-num span {
  color: #ea580c;
}

.ags-about-stat-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffedd5;
  color: #ea580c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.ags-about-stat-info {
  display: flex;
  flex-direction: column;
}

.ags-about-stat-info b {
  font-family: var(--ags-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #070f24;
  line-height: 1.25;
}

.ags-about-stat-info span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}

@media (max-width: 991px) {
  .ags-about-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ags-about-visual-card {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ==========================================================================
   PRODUCT SHOWCASE SECTIONS (Light Cards, Big 4:3 Ads, Maximum Visibility)
   ========================================================================== */
.ags-showcase-section {
  padding: 80px 0;
  position: relative;
  border-bottom: 2px solid #e2e8f0;
  scroll-margin-top: 130px; /* Offset so product title sits comfortably below sticky bars */
}

.ags-theme-school {
  background: #f0f7ff;
  --product-color: #0284c7;
  --product-color-rgb: 2, 132, 199;
}

.ags-theme-autokhata {
  background: #fff7ed;
  --product-color: #ea580c;
  --product-color-rgb: 234, 88, 12;
}

.ags-theme-myface {
  background: #faf5ff;
  --product-color: #7c3aed;
  --product-color-rgb: 124, 58, 237;
}

.ags-theme-mytest {
  background: #fefce8;
  --product-color: #eab308;
  --product-color-rgb: 234, 179, 8;
}

.ags-theme-domicile {
  background: #f0fdf4;
  --product-color: #16a34a;
  --product-color-rgb: 22, 163, 74;
}

/* Stacked Colored Badge Bar (High-Contrast Header Eyebrow) */
.ags-badge-stack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ags-badge-pill-dark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #070f24;
  color: #ffffff;
  font-family: var(--ags-font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--ags-radius-pill);
  box-shadow: 0 4px 10px rgba(7, 15, 36, 0.15);
}

.ags-badge-bar-colored {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ags-font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: var(--ags-radius-pill);
  text-transform: uppercase;
}

.ags-bar-blue {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.ags-bar-orange {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.ags-bar-purple {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.ags-bar-indigo {
  background: #e0e7ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

.ags-bar-emerald {
  background: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

/* Details Card on Left */
.ags-details-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.ags-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
}

.ags-details-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ags-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  font-size: 0.9rem;
  color: #1e293b;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .ags-details-grid {
    grid-template-columns: 1fr;
  }
}

/* Showcase Action Buttons (Immediate call to action) */
.ags-showcase-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Under-Ad Features Card (Fills right side and eliminates empty gap) */
.ags-ad-features-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ags-radius-lg);
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  margin-top: 14px;
}

.ags-ad-features-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.ags-ad-features-title {
  font-family: var(--ags-font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ags-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ags-ad-features-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  background: #f1f5f9;
  color: #475569;
}

.ags-ad-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.ags-ad-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  transition: all 0.2s ease;
}

.ags-ad-feature-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ags-ad-feature-item i {
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .ags-ad-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRODUCT SHOWCASE CARD (Outer Border & Glow in Matching Product Color)
   ========================================================================== */
.ags-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  border-radius: var(--ags-radius-xl);
  padding: 44px;
  border: 2px solid rgba(var(--product-color-rgb), 0.38);
  box-shadow: 0 18px 45px -8px rgba(var(--product-color-rgb), 0.22), 0 0 24px rgba(var(--product-color-rgb), 0.1);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.ags-showcase-grid:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--product-color-rgb), 0.65);
  box-shadow: 0 24px 50px -10px rgba(var(--product-color-rgb), 0.32), 0 0 32px rgba(var(--product-color-rgb), 0.18);
}

/* ==========================================================================
   ANIMATED CHASING BORDER ON PRODUCT IMAGE BOXES
   Conic-gradient with @property --angle rotating smoothly (4s loop)
   Tapered comet-tail: transparent -> thin -> thicker/brighter -> thin -> transparent
   ========================================================================== */
@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes agsChasingBorder {
  to {
    --angle: 360deg;
  }
}

.ags-ad-showcase-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ags-ad-frame {
  position: relative;
  border-radius: var(--ags-radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px -4px rgba(var(--product-color-rgb), 0.16), 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ags-ad-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -4px rgba(var(--product-color-rgb), 0.28), 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Tapered Chasing Border (Masked to border area, 4s smooth loop) */
.ags-ad-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3.5px;
  background: conic-gradient(from var(--angle),
      transparent 0deg,
      transparent 250deg,
      rgba(var(--product-color-rgb), 0.2) 280deg,
      rgba(var(--product-color-rgb), 0.85) 320deg,
      var(--product-color) 335deg,
      rgba(var(--product-color-rgb), 0.85) 345deg,
      rgba(var(--product-color-rgb), 0.2) 355deg,
      transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 6;
  animation: agsChasingBorder 4s linear infinite;
  filter: drop-shadow(0 0 3px var(--product-color));
}

@media (prefers-reduced-motion: reduce) {
  .ags-ad-frame::before {
    animation-play-state: paused;
  }
}

.ags-ad-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--ags-radius-lg) - 2px);
  transition: transform 0.35s ease;
}

.ags-ad-frame:hover .ags-ad-image {
  transform: scale(1.025);
}

.ags-ad-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(7, 15, 36, 0.82);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 99px;
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.02em;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  z-index: 7;
}

.ags-ad-frame:hover .ags-ad-zoom-hint {
  background: var(--ags-neon-lime);
  color: #070f24;
}

.ags-ad-under-meta {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--ags-radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.ags-ad-meta-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ags-ad-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
}

.ags-ad-meta-text {
  font-size: 0.88rem;
  color: #475569;
  font-weight: 600;
}

/* ==========================================================================
   PRODUCT TAB BAR (The Train of Tabs — Identical Height, Connected Edge to Edge)
   ========================================================================== */
.ags-products-tab-container {
  position: sticky;
  top: var(--ags-header-h, 70px);
  z-index: 990;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid #e2e8f0;
  padding: 14px 0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: top 0.2s ease, padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
}

/* When stuck at the top on scroll down: smooth animated docking */
.ags-products-tab-container.is-stuck {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: #cbd5e1;
  box-shadow: 0 10px 30px -4px rgba(15, 27, 61, 0.16);
}

.ags-products-tab-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  /* Connected edge-to-edge train tabs as in reference design */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  filter: drop-shadow(0 8px 20px rgba(15, 27, 61, 0.12));
  transition: filter 0.3s ease;
}

.ags-tab-item {
  flex: 1 1 0;
  width: 20%;
  min-width: 0;
  height: 52px;
  /* Exactly identical height for all 5 buttons */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  font-family: var(--ags-font-heading);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 8px;
  /* Rounded corners creating the stylish interlocking notch at seams */
  border: none;
  outline: none;
  margin: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

.ags-products-tab-container.is-stuck .ags-tab-item {
  height: 46px; /* Sleek compact animation when docked at top */
  font-size: 0.84rem;
  border-radius: 7px;
}

.ags-tab-item i {
  font-size: 1.08rem;
  flex-shrink: 0;
  transition: font-size 0.3s ease;
}

.ags-products-tab-container.is-stuck .ags-tab-item i {
  font-size: 1rem;
}

.ags-tab-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 1. MYSCHOOL365 - Blue */
.ags-tab-school {
  background: #1e5ae6 !important;
  color: #ffffff !important;
}

.ags-tab-school i,
.ags-tab-school span {
  color: #ffffff !important;
}

/* 2. AUTOKHATA365 - Orange */
.ags-tab-autokhata {
  background: #e25f1e !important;
  color: #ffffff !important;
}

.ags-tab-autokhata i,
.ags-tab-autokhata span {
  color: #ffffff !important;
}

/* 3. MYFACE AI - Purple */
.ags-tab-myface {
  background: #7e3eeb !important;
  color: #ffffff !important;
}

.ags-tab-myface i,
.ags-tab-myface span {
  color: #ffffff !important;
}

/* 4. MYTEST365 - Yellow with Dark Navy text & icon */
.ags-tab-mytest {
  background: #f5cd2d !important;
  color: #0F1B3D !important;
}

.ags-tab-mytest i,
.ags-tab-mytest span {
  color: #0F1B3D !important;
}

/* 5. DOMICILE ESERVICES - Lime Green with Dark Navy text & icon */
.ags-tab-domicile {
  background: #88ca26 !important;
  color: #0F1B3D !important;
}

.ags-tab-domicile i,
.ags-tab-domicile span {
  color: #0F1B3D !important;
}

/* Hover: slightly brighter */
.ags-tab-item:hover {
  filter: brightness(1.08);
  z-index: 2;
}

/* Active tab: Sits on identical baseline, with clean bottom bar */
.ags-tab-item.active {
  filter: brightness(1.12);
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.85);
  z-index: 3;
}

.ags-tab-mytest.active,
.ags-tab-domicile.active {
  box-shadow: inset 0 -3px 0 #0F1B3D;
}

/* Mobile: Horizontally Scrollable Train Bar */
@media (max-width: 991px) {
  .ags-products-tab-container {
    top: var(--ags-header-h, 58px);
    padding: 8px 0;
  }

  .ags-products-tab-container.is-stuck {
    padding: 6px 0;
  }
  .ags-products-tab-bar {
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    padding: 0 16px;
    gap: 0;
  }

  .ags-products-tab-bar::-webkit-scrollbar {
    display: none;
    /* Safari/Chrome */
  }

  .ags-tab-item {
    flex: 0 0 auto;
    width: auto;
    min-width: 175px;
    height: 48px;
    padding: 0 14px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }
  .ags-products-tab-container.is-stuck .ags-tab-item {
    height: 42px;
    min-width: 160px;
    font-size: 0.78rem;
  }
}

/* Magnetic Highlight Chips for Cards */
.ags-magnetic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.ags-magnetic-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.ags-magnetic-chip:hover {
  border-color: #070f24;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Playful Signature Tilt Eyebrows */
.ags-tilt-left {
  display: inline-block;
  transform: rotate(-1.5deg);
  transition: transform 0.2s ease;
}

.ags-tilt-right {
  display: inline-block;
  transform: rotate(1.5deg);
  transition: transform 0.2s ease;
}

.ags-tilt-left:hover,
.ags-tilt-right:hover {
  transform: rotate(0deg) scale(1.04);
}

/* High-Attraction "More Details & Video Tutorials" Button */
.ags-btn-more-details {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: #070f24;
  color: #ffffff !important;
  font-family: var(--ags-font-heading);
  font-size: 0.96rem;
  font-weight: 900;
  border-radius: var(--ags-radius-pill);
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(7, 15, 36, 0.25);
  border: 2px solid #070f24;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ags-btn-more-details:hover {
  background: var(--ags-vivid-orange);
  border-color: var(--ags-vivid-orange);
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.35);
}

.ags-btn-more-details i {
  transition: transform 0.2s ease;
}

.ags-btn-more-details:hover i {
  transform: translateX(4px);
}

/* Brand Panel (Left Side) */
.ags-brand-panel {
  display: flex;
  flex-direction: column;
}

.ags-brand-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}

.ags-product-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}

.ags-product-logo {
  height: 88px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.09));
  transition: transform 0.25s ease;
}

.ags-showcase-grid:hover .ags-product-logo {
  transform: scale(1.05);
}

/* Product Category Badge: Slanted Sticker Box with Sharp Corners & Counter-skewed Text */
.ags-product-pill {
  display: inline-block;
  transform: skewX(-10deg);
  border-radius: 0 !important;
  font-family: var(--ags-font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 10px;
  border: none !important;
  line-height: 1.2;
}

.ags-product-pill .ags-pill-inner,
.ags-product-pill>span {
  display: inline-block;
  transform: skewX(10deg);
}

/* Category Badge Product Colors + Sticker Shadow */
.ags-pill-school {
  background: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 3px 3px 0 #034f77 !important;
}

.ags-pill-autokhata {
  background: #ea580c !important;
  color: #ffffff !important;
  box-shadow: 3px 3px 0 #9a3412 !important;
}

.ags-pill-myface {
  background: #7c3aed !important;
  color: #ffffff !important;
  box-shadow: 3px 3px 0 #4c1d95 !important;
}

.ags-pill-mytest {
  background: #facc15 !important;
  color: #0F1B3D !important;
  box-shadow: 3px 3px 0 #ca8a04 !important;
}

.ags-pill-mytest .ags-pill-inner,
.ags-pill-mytest>span {
  color: #0F1B3D !important;
}

.ags-pill-domicile {
  background: #16a34a !important;
  color: #ffffff !important;
  box-shadow: 3px 3px 0 #14532d !important;
}

.ags-product-name {
  font-family: var(--ags-font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--ags-text-dark);
  margin: 0;
  line-height: 1.15;
}

.ags-product-title {
  font-family: var(--ags-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ags-text-dark);
  margin: 0 0 6px;
}

.ags-product-tagline {
  font-family: var(--ags-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ags-vivid-orange);
  margin-bottom: 14px;
}

.ags-product-desc {
  font-size: 1.05rem;
  color: var(--ags-text-body);
  line-height: 1.7;
  margin: 0 0 24px;
}

/* Feature Pills in Product Card */
.ags-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.ags-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--ags-radius-xs);
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ags-text-dark);
}

.ags-feature-pill i {
  color: var(--ags-vivid-orange);
}



.ags-ad-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #ffffff;
  display: block;
}

.ags-ad-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(7, 15, 36, 0.88);
  color: #ffffff;
  font-family: var(--ags-font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--ags-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* ==========================================================================
   CUSTOM DEVELOPMENT BANNER (Punchy Light / Dark Accent Card)
   ========================================================================== */
.ags-custom-dev-banner {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 2px solid #e2e8f0;
}

.ags-custom-dev-card {
  background: #070f24;
  border-radius: var(--ags-radius-xl);
  padding: 56px 48px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(7, 15, 36, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ags-custom-dev-card h2 {
  font-family: var(--ags-font-heading);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 900;
  color: #ffffff;
  margin: 16px 0 16px;
  line-height: 1.15;
}

.ags-custom-dev-card p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.ags-custom-tags-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 38px;
}

.ags-custom-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--ags-radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: var(--ags-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.ags-custom-tag i {
  color: var(--ags-neon-lime);
}

/* ==========================================================================
   ENGINEERING FOUNDATION — Bold Full-Width Block Layout
   ========================================================================== */
.ags-eng-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Header (Centered, Light Grid Background, Bold Block Style) */
.ags-eng-header {
  padding: 85px 16px 55px;
  background-color: #FAFAFC;
  background-image:
    linear-gradient(to right, rgba(15, 27, 61, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 27, 61, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  text-align: center;
  border-bottom: 2px solid #0F1B3D;
  position: relative;
}

.ags-eng-badge-block {
  margin-bottom: 16px;
}

.ags-eng-badge-lime {
  display: inline-block;
  transform: skewX(-3deg);
  background: #C6F432;
  color: #0F1B3D;
  font-family: var(--ags-font-heading);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 4px;
  box-shadow: 3px 3px 0 #0F1B3D;
}

.ags-eng-title-blocks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 18px;
}

.ags-eng-title-box {
  display: inline-block;
  transform: skewX(-3deg);
  padding: 10px 28px;
  border-radius: 4px;
  box-shadow: 4px 4px 0 #070f24;
  font-family: var(--ags-font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.ags-eng-title-box .ags-box-inner {
  display: inline-block;
  transform: skewX(3deg);
}

.ags-eng-title-box.ags-box-navy {
  background: #0F1B3D;
  color: #ffffff;
}

.ags-eng-title-box.ags-box-orange {
  background: linear-gradient(135deg, #FF7A3D 0%, #E8430F 100%);
  color: #ffffff;
  box-shadow: 4px 4px 0 #070f24, 0 8px 24px rgba(242, 88, 34, 0.35);
}

.ags-eng-badge {
  display: inline-block;
  padding: 8px 22px;
  border-radius: var(--ags-radius-pill);
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  font-family: var(--ags-font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F1B3D;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  margin-bottom: 18px;
}

.ags-eng-heading {
  font-family: var(--ags-font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 900;
  color: #070f24;
  line-height: 1.18;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
}

.ags-eng-subheading {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* Blocks: Full-width colored block, background touches left and right edges, small gap between blocks */
.ags-eng-block {
  width: 100%;
  padding: 0;
  margin-bottom: 8px;
  /* small gap between blocks */
  position: relative;
  box-sizing: border-box;
}

.ags-eng-block:last-child {
  margin-bottom: 0;
}

.ags-eng-block-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  box-sizing: border-box;
}

/* Visual Side: large rounded box with thick dark border */
.ags-eng-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ags-eng-visual-box {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/3;
  min-height: 260px;
  border-radius: 24px;
  border: 4px solid #0F1B3D;
  /* Thick dark border as requested */
  overflow: hidden;
  /* Image fills the box while keeping rounded corners */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.22);
  transition: box-shadow 0.3s ease;
  animation: agsGentleFloat 4.8s ease-in-out infinite;
  background: #0F1B3D;
}

@keyframes agsGentleFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ags-eng-visual-box {
    animation: none !important;
  }
}

.ags-eng-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform 0.4s ease;
}

.ags-eng-visual-box:hover .ags-eng-visual-img {
  transform: scale(1.03);
}

/* Text Side */
.ags-eng-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Top of text side: small white box with block number (01, 02, etc.) */
.ags-eng-num {
  display: inline-block;
  padding: 6px 14px;
  background: #ffffff;
  color: #0F1B3D;
  border-radius: 8px;
  font-family: var(--ags-font-heading);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

/* Title: very big, bold, uppercase text inside a highlighted box with contrasting color */
.ags-eng-title-box {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 10px;
  font-family: var(--ags-font-heading);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Title box contrasting color variants:
   - Block 1: Navy (#0F1B3D) bg -> orange title box with white text
   - Block 2: Orange (#F25822) bg -> white title box with orange text
   - Block 3: Yellow (#F9C80E) bg -> navy title box with white text
   - Block 4: Blue (#2F4FD8) bg -> yellow title box with navy text */
.ags-eng-title-orange {
  background: #F25822;
  color: #ffffff;
}

.ags-eng-title-white {
  background: #ffffff;
  color: #F25822;
}

.ags-eng-title-navy {
  background: #0F1B3D;
  color: #ffffff;
}

.ags-eng-title-yellow {
  background: #F9C80E;
  color: #0F1B3D;
}

/* One short description line below title */
.ags-eng-desc {
  font-size: 1.18rem;
  line-height: 1.65;
  margin: 0 0 24px;
  font-weight: 500;
  max-width: 540px;
}

/* Below that, a small "WHAT YOU GET" label */
.ags-eng-wyg-label {
  font-family: var(--ags-font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.85;
}

/* 3 bullet points with small colored square bullets */
.ags-eng-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ags-eng-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

.ags-eng-bullets li::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 2px;
  /* Small square bullets */
  flex-shrink: 0;
}

/* Colored square bullets matching block theme */
.ags-bullets-orange li::before {
  background: #F25822;
  box-shadow: 0 0 6px rgba(242, 88, 34, 0.6);
}

.ags-bullets-white li::before {
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.ags-bullets-navy li::before {
  background: #0F1B3D;
  box-shadow: 0 0 6px rgba(15, 27, 61, 0.35);
}

.ags-bullets-yellow li::before {
  background: #F9C80E;
  box-shadow: 0 0 6px rgba(249, 200, 14, 0.6);
}

/* BLOCK 1: Navy (#0F1B3D) background, white text */
.ags-eng-block-navy {
  background-color: #0F1B3D;
  color: #ffffff;
}

.ags-eng-block-navy .ags-eng-visual-box {
  background: #070f24;
  border-color: #070f24;
  /* Thick dark border */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 16px 36px -6px rgba(0, 0, 0, 0.4);
  color: #F25822;
}

.ags-eng-block-navy .ags-eng-desc {
  color: #e2e8f0;
}

.ags-eng-block-navy .ags-eng-wyg-label {
  color: #F25822;
}

/* BLOCK 2: Orange (#F25822) background, white text */
.ags-eng-block-orange {
  background-color: #F25822;
  color: #ffffff;
}

.ags-eng-block-orange .ags-eng-visual-box {
  background: rgba(15, 27, 61, 0.12);
  border-color: #0F1B3D;
  /* Thick dark border as requested */
  color: #ffffff;
}

.ags-eng-block-orange .ags-eng-desc {
  color: #ffffff;
}

.ags-eng-block-orange .ags-eng-wyg-label {
  color: #ffffff;
  opacity: 0.9;
}

/* BLOCK 3: Yellow (#F9C80E) background, dark text */
.ags-eng-block-yellow {
  background-color: #F9C80E;
  color: #0F1B3D;
}

.ags-eng-block-yellow .ags-eng-visual-box {
  background: rgba(15, 27, 61, 0.06);
  border-color: #0F1B3D;
  /* Thick dark border */
  color: #0F1B3D;
}

.ags-eng-block-yellow .ags-eng-desc {
  color: #0F1B3D;
  font-weight: 600;
}

.ags-eng-block-yellow .ags-eng-wyg-label {
  color: #0F1B3D;
  font-weight: 900;
}

/* BLOCK 4: Blue (#2F4FD8) background, white text */
.ags-eng-block-blue {
  background-color: #2F4FD8;
  color: #ffffff;
}

.ags-eng-block-blue .ags-eng-visual-box {
  background: rgba(15, 27, 61, 0.15);
  border-color: #0F1B3D;
  /* Thick dark border */
  color: #F9C80E;
}

.ags-eng-block-blue .ags-eng-desc {
  color: #e0e7ff;
}

.ags-eng-block-blue .ags-eng-wyg-label {
  color: #F9C80E;
}

/* Subtle fade-in or slide-up animation when each block scrolls into view */
.ags-eng-anim {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.ags-eng-anim.ags-eng-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE: On mobile, stack visual ABOVE text in EVERY block */
@media (max-width: 991px) {
  .ags-eng-block-inner {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    padding: 50px 24px;
    gap: 36px;
  }

  .ags-eng-visual {
    order: 1 !important;
    /* Visual above text */
    width: 100%;
  }

  .ags-eng-text {
    order: 2 !important;
    /* Text below visual */
    width: 100%;
  }

  .ags-eng-visual-box {
    max-width: 360px;
    aspect-ratio: 16/10;
    min-height: 200px;
    font-size: 3.8rem;
  }

  .ags-eng-desc {
    font-size: 1.08rem;
  }
}

@media (max-width: 576px) {
  .ags-eng-header {
    padding: 60px 16px 40px;
  }

  .ags-eng-heading {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
  }

  .ags-eng-subheading {
    font-size: 1rem;
  }

  .ags-eng-block-inner {
    padding: 40px 18px;
    gap: 28px;
  }

  .ags-eng-visual-box {
    max-width: 100%;
    min-height: 180px;
    font-size: 3rem;
    border-radius: 18px;
    border-width: 3px;
  }

  .ags-eng-title-box {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
    padding: 8px 18px;
  }

  .ags-eng-desc {
    font-size: 1rem;
    margin-bottom: 18px;
  }

  .ags-eng-bullets li {
    font-size: 0.95rem;
  }
}

/* Keep shared section headings for Contact section */
.ags-section-title-wrap {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 50px;
}

.ags-section-h2 {
  font-family: var(--ags-font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--ags-text-dark);
  margin: 14px 0 16px;
  line-height: 1.2;
}

.ags-section-p {
  font-size: 1.1rem;
  color: var(--ags-text-body);
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT SECTION: FULL-WIDTH DEEP NAVY BAND WITH BOLD BLOCK STYLE
   ========================================================================== */
.ags-contact-section {
  position: relative;
  width: 100%;
  padding: 95px 0;
  background-color: #0F1B3D;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #ffffff;
  overflow: hidden;
}

.ags-contact-header {
  text-align: left;
  margin-bottom: 32px;
}

.ags-contact-eyebrow {
  color: #C6F432;
  font-family: var(--ags-font-heading);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ags-contact-title-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 28px;
}

.ags-contact-block {
  display: inline-block;
  transform: skewX(-3deg);
  padding: 8px 24px;
  border-radius: 4px;
  box-shadow: 4px 4px 0 #070f24;
  font-family: var(--ags-font-heading);
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.ags-contact-block .ags-block-inner {
  display: inline-block;
  transform: skewX(3deg);
}

/* White Horizontal Info Strip (One Row, Sharp Corners) */
.ags-contact-info-strip {
  background: #ffffff;
  color: #0F1B3D;
  border: 2px solid #070f24;
  box-shadow: 5px 5px 0 #070f24;
  border-radius: 0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ags-info-strip-items {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ags-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F1B3D;
}

.ags-strip-item i {
  color: #F25822;
  font-size: 1.05rem;
}

.ags-strip-item a {
  color: #0F1B3D;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.ags-strip-item a:hover {
  color: #F25822;
}

.ags-strip-divider {
  width: 1px;
  height: 22px;
  background: #cbd5e1;
}

/* Orange Chat on WhatsApp Button with White WhatsApp Icon Block */
.ags-strip-whatsapp-btn {
  display: inline-flex;
  align-items: stretch;
  background: #F25822;
  color: #ffffff !important;
  border: 2px solid #070f24;
  box-shadow: 3px 3px 0 #070f24;
  font-family: var(--ags-font-heading);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ags-strip-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 #070f24;
  background: #d94714;
}

.ags-whatsapp-btn-text {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  letter-spacing: 0.04em;
}

.ags-whatsapp-btn-icon {
  background: #ffffff;
  color: #25D366;
  border-left: 2px solid #070f24;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Body: Cream (#FFF8F3) on Left Column, Crisp White on Right Column */
.ags-contact-body-panel {
  background: #ffffff;
  color: #0F1B3D;
  border: 2px solid #070f24;
  box-shadow: 7px 7px 0 #070f24;
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  overflow: hidden;
}

/* Left Column: Ready-To-Use Software (Cream #FFF8F3 Background) */
.ags-contact-col-list {
  background: #FFF8F3;
  padding: 40px 32px;
  border-right: 2px solid #0F1B3D;
  display: flex;
  flex-direction: column;
}

.ags-col-list-title {
  font-family: var(--ags-font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: #0F1B3D;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ags-col-list-subtitle {
  font-size: 0.95rem;
  color: #475569;
  margin: 0 0 22px;
  line-height: 1.55;
}

.ags-capability-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ags-cap-link-row {
  display: flex;
  align-items: center;
  border: 1.5px solid #0F1B3D;
  background: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  padding: 12px 18px;
  gap: 14px;
}

.ags-cap-link-row:hover {
  transform: translateX(6px);
  background: #ffffff;
  box-shadow: 3px 3px 0 #0F1B3D;
}

/* Small checkbox button bullet */
.ags-cap-checkbox-bullet {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1.5px solid #0F1B3D;
  box-shadow: 2px 2px 0 #0F1B3D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.ags-cap-link-row:hover .ags-cap-checkbox-bullet {
  transform: scale(1.1);
}

.ags-bullet-blue {
  background: #0284c7;
}

.ags-bullet-orange {
  background: #ea580c;
}

.ags-bullet-purple {
  background: #7c3aed;
}

.ags-bullet-yellow {
  background: #facc15;
  color: #0F1B3D;
}

.ags-bullet-green {
  background: #88ca26;
  color: #0F1B3D;
}

.ags-bullet-navy {
  background: #0F1B3D;
  color: #ffffff;
}

.ags-cap-text-wrap {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.ags-cap-name {
  font-family: var(--ags-font-heading);
  font-weight: 900;
  font-size: 0.95rem;
  color: #0F1B3D;
  letter-spacing: 0.01em;
}

.ags-cap-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
}

.ags-cap-view-link {
  font-family: var(--ags-font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  color: #F25822;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease;
}

.ags-cap-link-row:hover .ags-cap-view-link {
  transform: translateX(3px);
}

/* Highlighted Row Below List: Navy bg #0F1B3D, Lime text #C6F432 */
.ags-cap-custom-highlight {
  margin-top: 18px;
  background: #0F1B3D;
  border: 1.5px solid #070f24;
  box-shadow: 3px 3px 0 #070f24;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ags-custom-hl-tag {
  font-family: var(--ags-font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C6F432;
}

.ags-custom-hl-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
  margin: 0;
}

/* Right Column: The Form */
.ags-contact-col-form {
  background: #ffffff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}

.ags-form-col-title {
  font-family: var(--ags-font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: #0F1B3D;
  margin: 0 0 4px;
}

.ags-form-col-subtitle {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0 0 22px;
}

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

.ags-field-wrap {
  margin-bottom: 16px;
}

.ags-field-label {
  display: block;
  font-family: var(--ags-font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  color: #0F1B3D;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.ags-block-input {
  width: 100%;
  border: 2px solid #0F1B3D;
  border-radius: 0;
  padding: 11px 14px;
  font-family: var(--ags-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: #0F1B3D;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ags-block-input:focus {
  outline: none;
  border-color: #F25822;
  box-shadow: 0 0 0 3px rgba(242, 88, 34, 0.18);
}

.ags-block-textarea {
  resize: vertical;
  min-height: 85px;
}

/* Chip Buttons */
.ags-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ags-chip-btn {
  border: 2px solid #0F1B3D;
  border-radius: 0;
  background: #ffffff;
  color: #0F1B3D;
  font-family: var(--ags-font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 7px 15px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: none;
}

.ags-chip-btn:hover {
  background: #f1f5f9;
}

.ags-chip-btn.active {
  background: #F25822 !important;
  color: #ffffff !important;
  border-color: #F25822 !important;
  box-shadow: 2px 2px 0 #0F1B3D !important;
}

/* Submit Button Full Width with Attached White Paper-Plane Icon */
.ags-contact-submit-btn {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: #F25822;
  border: 2px solid #0F1B3D;
  box-shadow: 4px 4px 0 #0F1B3D;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  margin-top: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ags-submit-btn-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--ags-font-heading);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 20px;
}

.ags-submit-btn-icon {
  background: #ffffff;
  color: #F25822;
  border-left: 2px solid #0F1B3D;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.ags-contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 #0F1B3D;
  background: #d94714;
}

.ags-contact-submit-btn:hover .ags-submit-btn-icon i {
  transform: translate(3px, -3px);
}

.ags-contact-submit-btn:active {
  transform: translateY(1px);
  box-shadow: 2px 2px 0 #0F1B3D;
}

/* Responsive Rules for Contact Section: Form First, List Second */
@media (max-width: 991px) {
  .ags-contact-body-panel {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .ags-contact-col-form {
    order: 1;
    /* Form first on mobile/tablet */
    padding: 30px 22px;
  }

  .ags-contact-col-list {
    order: 2;
    /* List second on mobile/tablet */
    border-right: none;
    border-top: 2px solid #0F1B3D;
    padding: 30px 22px;
  }

  .ags-contact-info-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .ags-info-strip-items {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ags-strip-divider {
    display: none;
  }

  .ags-strip-whatsapp-btn {
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .ags-contact-section {
    padding: 65px 0;
  }

  .ags-contact-title-blocks {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ags-contact-block {
    font-size: 1.5rem;
    width: 100%;
  }

  .ags-form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ags-cap-text {
    font-size: 0.88rem;
  }

  .ags-chip-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

/* ==========================================================================
   FOOTER (Solid Deep Navy with Crisp White & Lime Details)
   ========================================================================== */
.ags-footer {
  background: #070f24;
  color: #ffffff;
  padding: 80px 0 30px;
  border-top: 4px solid var(--ags-neon-lime);
}

.ags-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.ags-footer-brand-logo {
  height: 74px;
  width: auto;
  max-width: 320px;
  margin-bottom: 22px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(255, 255, 255, 0.16));
}

.ags-footer-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.ags-footer-col h4 {
  font-family: var(--ags-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ags-neon-lime);
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ags-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ags-footer-links li {
  margin-bottom: 10px;
}

.ags-footer-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--ags-transition);
}

.ags-footer-links a:hover {
  color: var(--ags-neon-lime);
  padding-left: 4px;
}

.ags-footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.ags-social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--ags-radius-xs);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  transition: var(--ags-transition);
}

.ags-social-btn:hover {
  background: var(--ags-neon-lime);
  color: var(--ags-text-dark);
  transform: translateY(-2px);
}

.ags-social-btn:active {
  transform: scale(0.95);
}

.ags-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   LIGHTBOX & MODAL
   ========================================================================== */
.ags-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 15, 36, 0.92);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ags-lightbox.active {
  display: flex;
}

.ags-lightbox-inner {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
}

.ags-lightbox-img {
  max-width: 95vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--ags-radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 3px solid #ffffff;
}

.ags-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ags-vivid-orange);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ags-lightbox-close:active {
  transform: scale(0.92);
}

/* Modal Popup */
.ags-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 15, 36, 0.8);
  backdrop-filter: blur(6px);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ags-modal.active {
  display: flex;
}

.ags-modal-content {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border: 3px solid #070f24;
  border-radius: var(--ags-radius-xl);
  padding: 40px 36px;
  box-shadow: 12px 12px 0px #070f24;
  animation: agsModalSlideIn 0.28s ease-out;
}

@keyframes agsModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ags-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #070f24;
  color: var(--ags-text-dark);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ags-modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
}

.ags-modal-title {
  font-family: var(--ags-font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--ags-text-dark);
  margin: 0 0 6px;
}

.ags-modal-desc {
  font-size: 0.96rem;
  color: var(--ags-text-body);
  margin: 0 0 24px;
}

/* Modal Form Fields (Clean, Polished, High Contrast) */
.ags-form-group {
  margin-bottom: 18px;
  text-align: left;
}

.ags-form-label {
  display: block;
  font-family: var(--ags-font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  color: #0F1B3D;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 7px;
}

.ags-form-control {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-family: var(--ags-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: #0F1B3D;
  background: #ffffff;
  border: 2px solid #0F1B3D;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 0 rgba(15, 27, 61, 0.08);
}

.ags-form-control:focus {
  border-color: #F25822;
  box-shadow: 0 0 0 3px rgba(242, 88, 34, 0.18), 3px 3px 0 rgba(15, 27, 61, 0.12);
  background: #ffffff;
}

.ags-form-control::placeholder {
  color: #94a3b8;
  font-size: 0.90rem;
}

select.ags-form-control {
  appearance: auto;
  cursor: pointer;
  background-color: #ffffff;
}

textarea.ags-form-control {
  resize: vertical;
  min-height: 85px;
}

/* ==========================================================================
   COMPACT PROJECT DETAIL BOXES (About Page & Project Decks)
   ========================================================================== */
.ags-about-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.ags-about-project-box {
  background: #ffffff;
  border: 2px solid #0F1B3D;
  border-radius: 8px;
  padding: 22px 24px;
  box-shadow: 4px 4px 0 #0F1B3D;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.ags-about-project-box:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 #0F1B3D;
}

.ags-about-project-box.box-school { border-top: 6px solid #0284c7; }
.ags-about-project-box.box-autokhata { border-top: 6px solid #ea580c; }
.ags-about-project-box.box-myface { border-top: 6px solid #7c3aed; }
.ags-about-project-box.box-mytest { border-top: 6px solid #eab308; }
.ags-about-project-box.box-domicile { border-top: 6px solid #16a34a; }
.ags-about-project-box.box-custom { border-top: 6px solid #0F1B3D; }

.ags-project-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ags-project-badge-tag {
  font-family: var(--ags-font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #0F1B3D;
  display: inline-block;
}

.tag-school { background: #e0f2fe; color: #0284c7; border-color: #0284c7; }
.tag-autokhata { background: #ffedd5; color: #ea580c; border-color: #ea580c; }
.tag-myface { background: #f3e8ff; color: #7c3aed; border-color: #7c3aed; }
.tag-mytest { background: #fef08a; color: #854d0e; border-color: #ca8a04; }
.tag-domicile { background: #dcfce7; color: #15803d; border-color: #16a34a; }
.tag-custom { background: #0F1B3D; color: #ffffff; border-color: #0F1B3D; }

.ags-project-title {
  font-family: var(--ags-font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #0F1B3D;
  margin: 0 0 8px;
  line-height: 1.25;
}

.ags-project-desc {
  font-size: 0.90rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 16px;
  flex: 1;
}

.ags-project-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.ags-project-chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  background: #f1f5f9;
  color: #334155;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}

.ags-project-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed #cbd5e1;
  margin-top: auto;
}

.ags-project-details-btn {
  font-family: var(--ags-font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #F25822;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.ags-project-details-btn:hover {
  transform: translateX(3px);
  color: #ea580c;
}

.ags-project-live-btn {
  font-family: var(--ags-font-heading);
  font-size: 0.80rem;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.ags-project-live-btn:hover {
  background: #0284c7;
  color: #ffffff;
}

@media (max-width: 768px) {
  .ags-about-projects-grid {
    grid-template-columns: 1fr;
  }
}

.ags-btn-submit-demo {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--ags-radius-sm);
  background: linear-gradient(135deg, #FF7A3D 0%, #E8430F 100%) !important;
  color: #ffffff !important;
  font-family: var(--ags-font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 2px solid #070f24;
  box-shadow: 0 8px 24px rgba(242, 88, 34, 0.35), 4px 4px 0px #070f24;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ags-btn-submit-demo:hover {
  background: linear-gradient(135deg, #ff8b54 0%, #f04e1b 100%) !important;
  transform: translate(-2px, -2px);
  box-shadow: 0 12px 28px rgba(242, 88, 34, 0.45), 6px 6px 0px #070f24;
}

.ags-btn-submit-demo:active,
.ags-btn-submit-demo.active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #070f24 !important;
  background: #d82f00 !important;
}

/* Toast Message */
.ags-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #070f24;
  color: #ffffff;
  border: 2px solid var(--ags-neon-lime);
  border-radius: var(--ags-radius-md);
  padding: 16px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--ags-font-heading);
  font-weight: 700;
}

.ags-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   PRODUCT DETAIL & ABOUT PAGES (Light Theme Neo-Editorial Styling)
   ========================================================================== */
.ags-detail-hero {
  position: relative;
  padding: 60px 0 70px;
  background:
    radial-gradient(circle at 15% 20%, rgba(29, 78, 216, 0.08), transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(187, 244, 37, 0.12), transparent 45%),
    linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  border-bottom: 2px solid #e2e8f0;
  overflow: hidden;
}

.ags-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 25%, #000 70%, transparent 98%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 25%, #000 70%, transparent 98%);
  pointer-events: none;
}

.ags-detail-hero::after {
  content: '';
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 140%;
  background-image:
    linear-gradient(to right, rgba(7, 15, 36, 0.16) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(7, 15, 36, 0.16) 1.5px, transparent 1.5px);
  background-size: 50px 50px;
  transform: perspective(650px) rotateX(54deg) translateY(-20px);
  transform-origin: center top;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 88%);
  pointer-events: none;
}

.ags-detail-hero>* {
  position: relative;
  z-index: 2;
}

.ags-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ags-font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ags-text-muted);
  margin-bottom: 28px;
}

.ags-breadcrumb a {
  color: var(--ags-electric-blue);
}

.ags-breadcrumb a:hover {
  text-decoration: underline;
}

.ags-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.ags-detail-hero-copy h1 {
  font-family: var(--ags-font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--ags-text-dark);
  line-height: 1.15;
  margin: 12px 0 16px;
}

.ags-detail-hero-subtitle {
  font-family: var(--ags-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ags-vivid-orange);
  margin-bottom: 16px;
}

.ags-detail-hero-desc {
  font-size: 1.08rem;
  color: var(--ags-text-body);
  line-height: 1.75;
  margin-bottom: 32px;
}

.ags-detail-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ags-badge-coming-soon {
  background: var(--ags-neon-lime);
  color: var(--ags-text-dark);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: var(--ags-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(7, 15, 36, 0.2);
}

/* 12 Core Engines Grid (MySchool365) */
.ags-detail-features-section {
  padding: 85px 0;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}

.ags-features-12-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ags-card-12 {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ags-radius-lg);
  padding: 30px 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 10px 20px -4px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ags-card-12:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 78, 216, 0.25);
  box-shadow: 0 14px 30px -6px rgba(15, 23, 42, 0.12);
}

.ags-card-12-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--ags-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--ags-shadow-sm);
}

.ags-card-12 h3 {
  font-family: var(--ags-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ags-text-dark);
  margin: 0 0 10px;
}

.ags-card-12 p {
  font-size: 0.96rem;
  color: var(--ags-text-body);
  line-height: 1.65;
  margin: 0;
}

/* Deep Dive Sections */
.ags-deep-dive-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 2px solid #e2e8f0;
}

.ags-deep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ags-deep-text h2 {
  font-family: var(--ags-font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  color: var(--ags-text-dark);
  line-height: 1.2;
  margin: 14px 0 18px;
}

.ags-deep-text p {
  font-size: 1.05rem;
  color: var(--ags-text-body);
  line-height: 1.7;
}

.ags-check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.ags-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--ags-text-dark);
  line-height: 1.6;
}

.ags-check-list li i {
  color: var(--ags-vivid-orange);
  font-size: 1.15rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.ags-deep-visual {
  width: 100%;
}

.ags-deep-card-visual {
  background: #ffffff;
  border: 1px solid rgba(29, 78, 216, 0.18);
  border-radius: var(--ags-radius-xl);
  padding: 34px;
  box-shadow: 0 16px 36px -8px rgba(29, 78, 216, 0.12), 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ags-deep-card-visual:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 78, 216, 0.35);
  box-shadow: 0 22px 48px -10px rgba(29, 78, 216, 0.18), 0 0 0 1px rgba(29, 78, 216, 0.2);
}

/* Financial Summary Grid (MySchool365) */
.ags-financial-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

/* Why Choose Section & Grid (MySchool365) */
.ags-why-section {
  padding: 85px 0;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}

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

.ags-why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ags-radius-lg);
  padding: 28px 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 10px 20px -4px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ags-why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 78, 216, 0.25);
  box-shadow: 0 14px 30px -6px rgba(15, 23, 42, 0.12);
}

.ags-why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--ags-radius-sm);
  background: #eff6ff;
  color: var(--ags-electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
  border: 1px solid #bfdbfe;
}

.ags-why-card h4 {
  font-family: var(--ags-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ags-text-dark);
  margin: 0 0 10px;
}

.ags-why-card p {
  font-size: 0.96rem;
  color: var(--ags-text-body);
  line-height: 1.65;
  margin: 0;
}

/* Final CTA Section */
.ags-final-cta-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 2px solid #e2e8f0;
}

.ags-final-cta-box {
  background: #070f24;
  border-radius: var(--ags-radius-xl);
  padding: 56px 44px;
  text-align: center;
  color: #ffffff;
  border: 3px solid #070f24;
  box-shadow: 10px 10px 0px var(--ags-neon-lime);
}

.ags-final-cta-box h2 {
  font-family: var(--ags-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin: 14px 0 16px;
  color: #ffffff;
}

.ags-final-cta-box p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 760px;
  margin: 0 auto 36px;
}

.ags-final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .ags-showcase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

  .ags-about-wrap,
  .ags-contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .ags-hero-stat-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .ags-header {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .ags-nav-wrapper {
    position: relative !important;
    width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  .ags-nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    background: #ffffff;
    border: 2px solid #0F1B3D;
    border-radius: 14px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 18px 40px rgba(15, 27, 61, 0.25);
    z-index: 999999 !important;
    box-sizing: border-box;
  }

  .ags-nav-menu.mobile-open {
    display: flex !important;
    animation: agsMenuSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .ags-nav-item {
    width: 100% !important;
    margin-bottom: 6px;
  }

  .ags-nav-item:last-child {
    margin-bottom: 0;
  }

  .ags-nav-item a {
    width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    font-size: 0.98rem !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
  }

  .ags-mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 2px solid #0F1B3D;
    color: #0F1B3D;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .ags-mobile-toggle:active {
    transform: scale(0.92);
    background: #e2e8f0;
  }

  .ags-btn-nav-demo {
    display: none !important;
  }

  /* Product Showcase Mobile Card Adjustments */
  .ags-showcase-section {
    padding: 36px 0 !important;
    overflow: hidden !important;
  }

  .ags-showcase-grid {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px 14px !important;
    border-radius: 18px !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .ags-brand-panel {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .ags-brand-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 14px !important;
  }

  .ags-product-logo-wrap {
    flex-shrink: 0 !important;
    width: 68px !important;
    max-width: 68px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .ags-product-logo {
    max-height: 50px !important;
    max-width: 68px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .ags-brand-header > div:last-child {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .ags-product-pill {
    max-width: 100% !important;
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
    margin-bottom: 6px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.25 !important;
    transform: none !important;
  }

  .ags-product-pill .ags-pill-inner,
  .ags-product-pill > span {
    transform: none !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .ags-product-name {
    font-size: clamp(1.35rem, 5vw, 1.8rem) !important;
    line-height: 1.18 !important;
    word-break: break-word !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ags-badge-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ags-badge-pill-dark {
    align-self: flex-start !important;
    font-size: 0.74rem !important;
    padding: 5px 12px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.25 !important;
  }

  .ags-badge-bar-colored {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: clamp(0.92rem, 3.8vw, 1.18rem) !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.35 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  }

  .ags-brand-panel h3 {
    font-size: clamp(1.15rem, 4.4vw, 1.45rem) !important;
    line-height: 1.3 !important;
    margin: 8px 0 10px !important;
    word-break: break-word !important;
  }

  .ags-brand-panel p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
  }

  .ags-magnetic-chips {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    margin: 12px 0 18px !important;
    width: 100% !important;
  }

  .ags-magnetic-chip {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.8rem !important;
    padding: 6px 10px !important;
    justify-content: flex-start !important;
    word-break: break-word !important;
    white-space: normal !important;
  }

  .ags-showcase-actions {
    width: 100% !important;
    margin-bottom: 4px !important;
  }

  .ags-btn-more-details,
  .ags-btn-fancy-explore,
  .ags-btn-fancy-blue,
  .ags-btn-video-tutorials,
  .ags-quick-pill {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    font-size: 0.95rem !important;
  }

  .ags-ad-showcase-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    gap: 10px !important;
  }

  .ags-ad-frame {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .ags-ad-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    display: block !important;
  }

  .ags-ad-zoom-hint {
    font-size: 0.70rem !important;
    padding: 4px 8px !important;
    bottom: 8px !important;
    right: 8px !important;
  }

  .ags-ad-under-meta {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    gap: 8px !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .ags-ad-meta-left {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
  }

  .ags-ad-meta-badge {
    width: 100% !important;
    font-size: 0.74rem !important;
    padding: 4px 8px !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    word-break: break-word !important;
    white-space: normal !important;
  }

  .ags-ad-meta-text {
    width: 100% !important;
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    margin-top: 2px !important;
  }

  .ags-features-grid {
    grid-template-columns: 1fr !important;
  }

  .ags-footer-grid {
    grid-template-columns: 1fr;
  }

  .ags-hero-stat-bar {
    grid-template-columns: 1fr;
  }
}

@keyframes agsMenuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   HIGH-IMPACT STACKED BADGE & COLORED BANNER HEADINGS
   (Reference: Dark capsule badge stacked over bold vibrant colored bar)
   ========================================================================== */
.ags-badge-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 22px;
  max-width: 100%;
  width: 100%;
}

.ags-badge-pill-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #070f24;
  color: #ffffff;
  font-family: var(--ags-font-heading);
  font-size: clamp(0.88rem, 1.8vw, 1.25rem);
  font-weight: 900;
  padding: 8px 20px;
  border-radius: var(--ags-radius-pill);
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(7, 15, 36, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
}

.ags-badge-bar-colored {
  display: inline-block;
  background: var(--ags-vivid-orange);
  color: #ffffff;
  font-family: var(--ags-font-heading);
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  font-weight: 900;
  padding: 10px 20px;
  border-radius: 8px;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.3);
  line-height: 1.25;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ags-bar-orange {
  background: #ea580c;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.32);
}

.ags-bar-blue {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.32);
}

.ags-bar-purple {
  background: #7c3aed;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.32);
}

.ags-bar-yellow {
  background: #facc15;
  color: #0F1B3D !important;
  box-shadow: 0 8px 22px rgba(234, 179, 8, 0.35);
}

.ags-bar-emerald {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.32);
}

.ags-bar-indigo {
  background: #4f46e5;
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.32);
}

.ags-bar-teal {
  background: #0d9488;
  box-shadow: 0 8px 22px rgba(13, 148, 136, 0.32);
}

.ags-bar-rose {
  background: #e11d48;
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.32);
}

/* Color Focus Word Highlights */
.ags-focus-tag {
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  margin: 0 2px;
}

.ags-tag-blue {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.ags-tag-orange {
  background: #ffedd5;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.ags-tag-purple {
  background: #f3e8ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}

.ags-tag-emerald {
  background: #d1fae5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.ags-tag-indigo {
  background: #e0e7ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.ags-tag-rose {
  background: #ffe4e6;
  color: #e11d48;
  border: 1px solid #fecdd3;
}

.ags-tag-amber {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* Problem & Solution Color-Coded Split Cards */
.ags-problem-solution-section {
  padding: 70px 0;
  background: #ffffff;
  border-bottom: 2px solid #e2e8f0;
}

.ags-problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.ags-problem-card {
  background: #fff5f5;
  border: 1.5px solid #fed7d7;
  border-radius: var(--ags-radius-xl);
  padding: 40px 36px;
  box-shadow: 0 16px 36px -8px rgba(229, 62, 62, 0.12);
}

.ags-solution-card {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: var(--ags-radius-xl);
  padding: 40px 36px;
  box-shadow: 0 16px 36px -8px rgba(5, 150, 105, 0.14);
}

.ags-card-eyebrow-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ags-font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fee2e2;
  color: #dc2626;
  padding: 5px 14px;
  border-radius: var(--ags-radius-pill);
  margin-bottom: 16px;
}

.ags-card-eyebrow-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ags-font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #dcfce7;
  color: #16a34a;
  padding: 5px 14px;
  border-radius: var(--ags-radius-pill);
  margin-bottom: 16px;
}

.ags-challenge-list,
.ags-solution-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ags-challenge-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #1f2937;
}

.ags-challenge-list li i {
  color: #ef4444;
  margin-top: 3px;
  font-size: 1rem;
}

.ags-solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #1f2937;
}

.ags-solution-list li i {
  color: #10b981;
  margin-top: 3px;
  font-size: 1rem;
}

/* Feature Grid with Alternating Vivid Headings */
.ags-detail-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 40px 0;
}

.ags-detail-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ags-radius-lg);
  padding: 30px 26px;
  box-shadow: 0 10px 26px -6px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ags-detail-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
}

.ags-card-top-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.ags-icon-bg-blue {
  background: #e0f2fe;
  color: #0284c7;
}

.ags-icon-bg-orange {
  background: #ffedd5;
  color: #ea580c;
}

.ags-icon-bg-purple {
  background: #f3e8ff;
  color: #7c3aed;
}

.ags-icon-bg-emerald {
  background: #d1fae5;
  color: #059669;
}

.ags-icon-bg-indigo {
  background: #e0e7ff;
  color: #4338ca;
}

.ags-icon-bg-rose {
  background: #ffe4e6;
  color: #e11d48;
}

.ags-icon-bg-teal {
  background: #ccfbf1;
  color: #0d9488;
}

.ags-icon-bg-amber {
  background: #fef3c7;
  color: #b45309;
}

.ags-feature-card-title {
  font-family: var(--ags-font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--ags-text-dark);
}

.ags-feature-card-desc {
  font-size: 0.94rem;
  color: var(--ags-text-body);
  line-height: 1.65;
  margin: 0;
  flex-grow: 1;
}

.ags-feature-card-punch {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.88rem;
  font-weight: 800;
}

/* Audience / Industries Grids */
.ags-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 36px 0;
}

.ags-audience-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--ags-radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--ags-transition);
}

.ags-audience-card:hover {
  background: #ffffff;
  transform: translateY(-3px);
  border-color: var(--ags-electric-blue);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
}

.ags-audience-card h4 {
  font-family: var(--ags-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ags-text-dark);
  margin: 12px 0 6px;
}

.ags-audience-card p {
  font-size: 0.88rem;
  color: var(--ags-text-body);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .ags-features-12-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .ags-problem-solution-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .ags-detail-features-grid {
    grid-template-columns: 1fr;
  }

  .ags-audience-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PREMIUM ORANGE: Gradient, Inner Highlight, Glow & Light Shine Sweep
   ========================================================================== */
.ags-btn-hero-primary,
.ags-strip-whatsapp-btn,
.ags-contact-submit-btn,
.ags-btn-nav-demo,
.ags-block-orange,
.ags-eng-title-orange,
.ags-box-orange,
.ags-eng-block-orange .ags-eng-num,
.ags-contact-block.ags-block-orange {
  background: linear-gradient(135deg, #FF7A3D 0%, #E8430F 100%) !important;
  box-shadow: 0 8px 24px rgba(242, 88, 34, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Interactive Orange Buttons: Hover Lift, Glow Expansion & Shine Sweep */
.ags-btn-hero-primary,
.ags-strip-whatsapp-btn,
.ags-contact-submit-btn,
.ags-btn-nav-demo {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ags-btn-hero-primary::after,
.ags-strip-whatsapp-btn::after,
.ags-contact-submit-btn::after,
.ags-btn-nav-demo::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
}

.ags-btn-hero-primary:hover::after,
.ags-strip-whatsapp-btn:hover::after,
.ags-contact-submit-btn:hover::after,
.ags-btn-nav-demo:hover::after {
  opacity: 1;
  animation: agsShineSweep 0.85s ease-in-out forwards;
}

.ags-btn-hero-primary:hover,
.ags-strip-whatsapp-btn:hover,
.ags-contact-submit-btn:hover,
.ags-btn-nav-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(242, 88, 34, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

@keyframes agsShineSweep {
  0% {
    left: -75%;
  }

  100% {
    left: 135%;
  }
}

/* ==========================================================================
   FANCY "THE AGS STANDARD" 6 PILLARS CARDS (About Page & Features)
   ========================================================================== */
.ags-standard-section {
  padding: 95px 0;
  background: #f8fafc;
  position: relative;
  border-top: 2px solid #0F1B3D;
  border-bottom: 2px solid #0F1B3D;
}

.ags-standard-header-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.ags-standard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

@media (max-width: 991px) {
  .ags-standard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .ags-standard-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.ags-standard-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #0F1B3D;
  border-radius: 12px;
  padding: 30px 26px 26px;
  box-shadow: 6px 6px 0px #0F1B3D;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ags-standard-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0px #0F1B3D;
}

.ags-standard-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ags-standard-icon-box {
  width: 52px;
  height: 52px;
  border: 2px solid #0F1B3D;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 3px 3px 0px #0F1B3D;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ags-standard-card:hover .ags-standard-icon-box {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 4px 4px 0px #0F1B3D;
}

.ags-standard-icon-box.icon-orange {
  background: linear-gradient(135deg, #FF7A3D 0%, #E8430F 100%);
  color: #ffffff;
}

.ags-standard-icon-box.icon-blue {
  background: #2F4FD8;
  color: #ffffff;
}

.ags-standard-icon-box.icon-green {
  background: #10B981;
  color: #ffffff;
}

.ags-standard-icon-box.icon-purple {
  background: #8B5CF6;
  color: #ffffff;
}

.ags-standard-icon-box.icon-yellow {
  background: #F59E0B;
  color: #0F1B3D;
}

.ags-standard-icon-box.icon-navy {
  background: #0F1B3D;
  color: #C6F432;
}

.ags-standard-num-pill {
  font-family: var(--ags-font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  color: #0F1B3D;
  background: #ffffff;
  border: 2px solid #0F1B3D;
  padding: 3px 11px;
  border-radius: 6px;
  box-shadow: 2px 2px 0px #0F1B3D;
  letter-spacing: 0.05em;
}

.ags-standard-title {
  font-family: var(--ags-font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #0F1B3D;
  margin: 0 0 12px;
  line-height: 1.28;
}

.ags-standard-desc {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 22px;
  flex-grow: 1;
}

.ags-standard-footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ags-font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 13px;
  border-radius: 6px;
  border: 1.5px solid #0F1B3D;
  background: #f8fafc;
  color: #0F1B3D;
  width: fit-content;
  box-shadow: 2px 2px 0 rgba(15, 27, 61, 0.08);
}

.ags-standard-footer-tag i {
  color: #F25822;
  font-size: 0.85rem;
}

/* ==========================================================================
   FINAL OVERRIDE: 100% BULLETPROOF MOBILE RESPONSIVE ENFORCEMENT
   Guarantees that AutoKhata, MySchool, Domicile and all product cards,
   tabs, and headers stay perfectly contained within the mobile viewport.
   ========================================================================== */
@media (max-width: 820px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  .ags-container-fluid,
  .ags-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .ags-showcase-section {
    padding: 30px 0 !important;
    overflow: hidden !important;
  }

  .ags-showcase-grid {
    display: flex !important;
    flex-direction: column !important;
    padding: 18px 12px !important;
    border-radius: 16px !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .ags-brand-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .ags-brand-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 12px !important;
  }

  .ags-product-logo-wrap {
    flex-shrink: 0 !important;
    width: 64px !important;
    max-width: 64px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .ags-product-logo {
    max-height: 48px !important;
    max-width: 64px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .ags-brand-header > div:last-child {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ags-product-pill {
    max-width: 100% !important;
    font-size: 0.66rem !important;
    padding: 3px 7px !important;
    margin-bottom: 4px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
    transform: none !important;
    display: inline-block !important;
  }

  .ags-product-pill .ags-pill-inner,
  .ags-product-pill > span {
    transform: none !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .ags-product-name {
    font-size: clamp(1.3rem, 5vw, 1.7rem) !important;
    line-height: 1.15 !important;
    word-break: break-word !important;
    margin: 0 !important;
  }

  .ags-badge-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 7px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ags-badge-pill-dark {
    align-self: flex-start !important;
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .ags-badge-bar-colored {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: clamp(0.88rem, 3.6vw, 1.12rem) !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.35 !important;
  }

  .ags-ad-showcase-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .ags-ad-frame {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .ags-ad-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    display: block !important;
  }

  .ags-ad-under-meta {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .ags-ad-meta-left {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .ags-ad-meta-badge {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.72rem !important;
    padding: 4px 7px !important;
  }

  .ags-ad-meta-text {
    width: 100% !important;
    font-size: 0.74rem !important;
    line-height: 1.3 !important;
  }

  /* Train Tab Bar (Identical height, touch scrollable on mobile) */
  .ags-products-tab-container {
    top: var(--ags-header-h, 56px) !important;
    padding: 6px 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .ags-products-tab-bar {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 0 10px !important;
    gap: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .ags-products-tab-bar::-webkit-scrollbar {
    display: none !important;
  }

  .ags-tab-item {
    flex: 0 0 auto !important;
    min-width: 135px !important;
    height: 40px !important;
    padding: 0 8px !important;
    font-size: 0.74rem !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
  }

  /* ==========================================================================
     Inner Pages & Product Detail Pages Mobile Responsiveness
     ========================================================================== */
  
  /* Breadcrumbs */
  .ags-breadcrumb {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
  }

  /* MySchool365 Detail Page Hero */
  .ags-detail-hero {
    padding: 30px 0 45px !important;
  }

  .ags-detail-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .ags-detail-hero-copy h1 {
    font-size: clamp(1.75rem, 5.5vw, 2.4rem) !important;
    line-height: 1.2 !important;
    margin: 8px 0 12px !important;
  }

  .ags-detail-hero-subtitle {
    font-size: 1.05rem !important;
    margin-bottom: 12px !important;
  }

  .ags-detail-hero-desc {
    font-size: 0.96rem !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
  }

  .ags-detail-hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .ags-detail-hero-actions > a,
  .ags-detail-hero-actions > button {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* MySchool365 12 Core Engines Grid */
  .ags-detail-features-section {
    padding: 45px 0 !important;
  }

  .ags-features-12-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ags-card-12 {
    padding: 22px 18px !important;
  }

  /* Deep Dive Sections (MySchool365) */
  .ags-deep-dive-section {
    padding: 45px 0 !important;
  }

  .ags-deep-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  .ags-deep-text h2 {
    font-size: clamp(1.5rem, 4.8vw, 2.1rem) !important;
    margin: 10px 0 14px !important;
  }

  .ags-deep-card-visual {
    padding: 18px 14px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ags-financial-summary-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  /* Why Choose MySchool365 */
  .ags-why-section {
    padding: 45px 0 !important;
  }

  .ags-why-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ags-why-card {
    padding: 22px 18px !important;
  }

  /* AutoKhata, MyFace, MyTest Problem & Solution Cards */
  .ags-problem-solution-section {
    padding: 45px 0 !important;
  }

  .ags-problem-solution-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .ags-problem-card,
  .ags-solution-card {
    padding: 24px 16px !important;
    box-sizing: border-box !important;
  }

  .ags-problem-card h3,
  .ags-solution-card h3 {
    font-size: 1.4rem !important;
  }

  /* Feature Grid (Domicile, MyFace, MyTest) */
  .ags-features-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ags-detail-features-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ags-audience-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Showcase Action Buttons (AutoKhata, MyFace, MyTest, Domicile, Overview) */
  .ags-btn-fancy-explore,
  .ags-btn-video-tutorials,
  .ags-quick-pill {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
  }

  /* About Page Responsiveness */
  .ags-about-projects-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ags-about-project-box {
    padding: 20px 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .ags-project-actions-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .ags-project-details-btn,
  .ags-project-live-btn {
    font-size: 0.78rem !important;
    box-sizing: border-box !important;
  }

  .ags-project-live-btn {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .ags-project-live-btn span {
    max-width: 180px !important;
    display: inline-block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
  }

  .ags-standard-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .ags-capability-row {
    padding: 12px !important;
  }

  .ags-form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}