/* =============================================================
   VGP GLOBAL STYLESHEET — Vashisthya Global Publication
   Version: 2.0 — Multi-Page WordPress Build
   
   HOW TO USE:
   Upload to: /wp-content/themes/YOUR-THEME/vgp/vgp-global.css
   Enqueue via functions.php (see vgp-functions.php)
   ============================================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ── Design Tokens ── */
:root {
  /* Core Palette */
  --navy:        #0B1E3D;
  --navy-mid:    #122347;
  --navy-light:  #1A3060;
  --cobalt:      #1B4FD8;
  --cobalt-mid:  #2563EB;
  --cobalt-light:#EFF4FF;
  --gold:        #C9972B;
  --gold-light:  #F4C55A;
  --gold-pale:   #FDF6E3;
  --coral:       #D94F38;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --stone:       #F0EDE8;
  --text-dark:   #1A1A2E;
  --text-body:   #3D3D4E;
  --text-muted:  #8A8AA0;
  --border:      #E2E0DC;
  --border-mid:  #CCCAC5;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* Shadows */
  --shadow-xs:  0 1px 4px rgba(11,30,61,0.06);
  --shadow-sm:  0 2px 12px rgba(11,30,61,0.08);
  --shadow-md:  0 8px 32px rgba(11,30,61,0.12);
  --shadow-lg:  0 20px 60px rgba(11,30,61,0.16);
  --shadow-xl:  0 32px 80px rgba(11,30,61,0.22);

  /* Spacing */
  --section-pad: 100px;
  --container:   1280px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-pill: 100px;

  /* Transitions */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --t-fast:   0.2s;
  --t-med:    0.35s;
  --t-slow:   0.6s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Scroll Progress ── */
#vgp-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--cobalt), var(--gold));
  width: 0%; z-index: 9999; transition: width 0.1s linear;
}

/* ── Container ── */
.vgp-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .vgp-wrap { padding: 0 24px; } }
@media (max-width: 480px) { .vgp-wrap { padding: 0 16px; } }

/* ── Typography System ── */
.vgp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cobalt);
}
.vgp-eyebrow::before {
  content: '';
  display: block; width: 24px; height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.vgp-h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em; color: var(--navy);
}
.vgp-h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--navy);
}
.vgp-h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600; line-height: 1.2;
  letter-spacing: -0.01em; color: var(--navy);
}
.vgp-h4 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  color: var(--navy);
}

.vgp-lead {
  font-family: var(--font-body);
  font-size: 18px; font-weight: 300;
  color: var(--text-body); line-height: 1.75;
}
.vgp-body {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.75;
  color: var(--text-body);
}
.vgp-small {
  font-family: var(--font-body);
  font-size: 13px; color: var(--text-muted);
}

.vgp-gold { color: var(--gold); }
.vgp-cobalt { color: var(--cobalt); }
.vgp-italic { font-style: italic; }

/* ── Button System ── */
.vgp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 32px;
  border: none; border-radius: var(--radius-pill);
  cursor: pointer; transition: all var(--t-med) var(--ease);
  white-space: nowrap;
}
.vgp-btn-navy {
  background: var(--navy);
  color: var(--white);
}
.vgp-btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(11,30,61,0.3);
}
.vgp-btn-gold {
  background: var(--gold);
  color: var(--white);
}
.vgp-btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,151,43,0.4);
}
.vgp-btn-cobalt {
  background: var(--cobalt);
  color: var(--white);
}
.vgp-btn-cobalt:hover {
  background: var(--cobalt-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,79,216,0.35);
}
.vgp-btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.vgp-btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}
.vgp-btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.vgp-btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.vgp-btn-lg { padding: 18px 44px; font-size: 15px; }
.vgp-btn-sm { padding: 10px 22px; font-size: 13px; }

/* ── Cards ── */
.vgp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 32px;
  transition: all var(--t-med) var(--ease);
}
.vgp-card:hover {
  border-color: var(--cobalt);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.vgp-card-gold-bar {
  border-top: 3px solid var(--gold);
}
.vgp-card-navy-bar {
  border-top: 3px solid var(--navy);
}
.vgp-card-left-bar {
  border-left: 4px solid var(--cobalt);
}
.vgp-card-left-bar:hover {
  border-left-color: var(--gold);
}

/* ── Section Hero Band ── */
.vgp-page-hero {
  background: var(--navy);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.vgp-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.vgp-page-hero-inner {
  position: relative; z-index: 1;
}
.vgp-page-hero .vgp-eyebrow { color: var(--gold); }
.vgp-page-hero .vgp-eyebrow::before { background: var(--gold); }
.vgp-page-hero .vgp-h1,
.vgp-page-hero .vgp-h2 { color: var(--white); }
.vgp-page-hero .vgp-lead { color: rgba(255,255,255,0.72); }
.vgp-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.vgp-breadcrumb a { color: var(--gold); transition: opacity 0.2s; }
.vgp-breadcrumb a:hover { opacity: 0.8; }
.vgp-breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── Dividers ── */
.vgp-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cobalt));
  margin: 20px 0;
}
.vgp-divider-center { margin: 20px auto; }

/* ── Tags / Badges ── */
.vgp-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.vgp-tag-cobalt { background: var(--cobalt-light); color: var(--cobalt); }
.vgp-tag-gold   { background: var(--gold-pale);    color: var(--gold); }
.vgp-tag-navy   { background: rgba(11,30,61,0.08); color: var(--navy); }

/* ── Stars ── */
.vgp-stars {
  display: flex; gap: 3px; align-items: center;
  color: var(--gold); font-size: 14px;
}

/* ── Section Spacing ── */
.vgp-section       { padding: var(--section-pad) 0; }
.vgp-section-sm    { padding: 64px 0; }
.vgp-section-lg    { padding: 120px 0; }
.vgp-bg-white      { background: var(--white); }
.vgp-bg-off-white  { background: var(--off-white); }
.vgp-bg-stone      { background: var(--stone); }
.vgp-bg-navy       { background: var(--navy); }
.vgp-bg-cobalt-light { background: var(--cobalt-light); }

/* ── Section Header ── */
.vgp-section-header { margin-bottom: 60px; }
.vgp-section-header.center { text-align: center; }
.vgp-section-header.center .vgp-eyebrow { justify-content: center; }
.vgp-section-header.center .vgp-divider { margin: 20px auto; }
.vgp-section-header .vgp-h2 { margin: 12px 0 16px; }
.vgp-section-header .vgp-lead { max-width: 600px; }
.vgp-section-header.center .vgp-lead { margin: 0 auto; }

/* ── Animations ── */
@keyframes vgp-fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes vgp-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes vgp-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes vgp-shine {
  0%   { left: -100%; }
  100% { left: 200%; }
}

.vgp-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.vgp-reveal.vgp-visible { opacity: 1; transform: translateY(0); }
.vgp-reveal-delay-1 { transition-delay: 0.1s; }
.vgp-reveal-delay-2 { transition-delay: 0.2s; }
.vgp-reveal-delay-3 { transition-delay: 0.3s; }
.vgp-reveal-delay-4 { transition-delay: 0.4s; }

/* ── Back to Top ── */
#vgp-back-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px);
  transition: all var(--t-med) var(--ease);
  z-index: 800; box-shadow: var(--shadow-md);
}
#vgp-back-top.show { opacity: 1; transform: translateY(0); }
#vgp-back-top:hover { background: var(--cobalt); transform: translateY(-3px); }

/* ── Form Styles ── */
.vgp-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.vgp-form-group label {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-body);
}
.vgp-form-group input,
.vgp-form-group select,
.vgp-form-group textarea {
  font-family: var(--font-body); font-size: 15px;
  color: var(--text-dark); background: var(--white);
  border: 1.5px solid var(--border);
  padding: 12px 16px; outline: none; width: 100%;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.vgp-form-group input:focus,
.vgp-form-group select:focus,
.vgp-form-group textarea:focus {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(27,79,216,0.1);
}
.vgp-form-group textarea { resize: vertical; min-height: 110px; }
.vgp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .vgp-form-row { grid-template-columns: 1fr; } }

/* ── Table ── */
.vgp-table { width: 100%; border-collapse: collapse; }
.vgp-table th {
  background: var(--navy); color: var(--white);
  font-family: var(--font-body); font-size: 12px;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 20px; text-align: left;
}
.vgp-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--text-body);
}
.vgp-table tr:hover td { background: var(--cobalt-light); }

/* ── CTA Band ── */
.vgp-cta-band {
  background: var(--navy); padding: 80px 0;
  text-align: center; position: relative; overflow: hidden;
}
.vgp-cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(27,79,216,0.3), transparent 70%);
}
.vgp-cta-band .vgp-wrap { position: relative; z-index: 1; }
.vgp-cta-band .vgp-h2 { color: var(--white); margin-bottom: 16px; }
.vgp-cta-band .vgp-lead { color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.vgp-cta-band .vgp-btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Utility ── */
.vgp-flex { display: flex; }
.vgp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.vgp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.vgp-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.vgp-items-center { align-items: center; }
.vgp-gap-sm { gap: 16px; }
.vgp-gap-md { gap: 24px; }
.vgp-gap-lg { gap: 40px; }
.vgp-mb-sm { margin-bottom: 16px; }
.vgp-mb-md { margin-bottom: 32px; }
.vgp-mb-lg { margin-bottom: 48px; }
.vgp-text-center { text-align: center; }
.vgp-hidden { display: none !important; }

@media (max-width: 1024px) {
  .vgp-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .vgp-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .vgp-grid-2, .vgp-grid-3 { grid-template-columns: 1fr; }
  .vgp-grid-4 { grid-template-columns: repeat(2, 1fr); }
  :root { --section-pad: 64px; }
}
@media (max-width: 480px) {
  .vgp-grid-4 { grid-template-columns: 1fr; }
  :root { --section-pad: 48px; }
}
