/* =====================================================================
   VIDHYAM – THEME COLOURS (single source of truth)
   ---------------------------------------------------------------------
   Every colour used by the website, the admin panel and the home page
   comes from the variables below. Change a value here and it changes
   everywhere.

   Easiest way: Admin > Theme & Colours (no code needed). Values saved
   there are printed after this file and override these defaults.

   --navy      = primary brand colour   (header text, headings, dark sections)
   --saffron   = accent brand colour    (buttons, highlights, icons)
   The *-rgb versions are the same colours as "R, G, B" so they can be
   used with transparency:  rgba(var(--navy-rgb), .35)
   ===================================================================== */
:root {
    /* ---- Primary (navy) ---- */
    --navy: #13215c;
    --navy-2: #1c2f7a;          /* lighter primary – gradients            */
    --navy-3: #2c3f97;          /* lightest primary – charts, gradients   */
    --navy-dark: #0b1440;       /* darkest primary – top bar, footer      */
    --navy-rgb: 19, 33, 92;
    --navy-dark-rgb: 11, 20, 64;

    /* ---- Accent (saffron / orange) ---- */
    --saffron: #f7931e;
    --saffron-2: #f26a1b;       /* deeper accent – gradient end, links    */
    --gold: #ffc35c;            /* highlight text on dark backgrounds     */
    --saffron-rgb: 247, 147, 30;
    --saffron-2-rgb: 242, 106, 27;
    --gold-rgb: 255, 195, 92;

    /* ---- Neutrals ---- */
    --ink: #121a3a;             /* main text                               */
    --body-text: #3d4566;       /* long-form paragraph text                */
    --muted: #5d6585;           /* secondary text                          */
    --ivory: #fff8ef;           /* light section background                */
    --cream: #fdf2e3;           /* icon chips, soft fills                  */
    --accent-soft: #fff1de;     /* very light accent tint                  */
    --surface: #faf8f5;         /* input / table header background         */
    --line: #e9e4dc;            /* borders                                 */
    --white: #ffffff;

    /* ---- Text on dark (navy) backgrounds ---- */
    --on-dark: #cbd2ee;
    --on-dark-muted: #aab3db;

    /* ---- Status colours (used in admin) ---- */
    --success: #13803f;
    --success-soft: #e3f6ea;
    --danger: #b91c1c;
    --danger-soft: #fde8e8;
    --whatsapp: #25d366;

    /* ---- Gradients (built from the colours above) ---- */
    --grad: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-2) 100%);
    --grad-navy: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-2) 100%);

    /* ---- Shape & type ---- */
    --radius: 18px;
    --shadow: 0 18px 50px -22px rgba(var(--navy-rgb), .35);
    --shadow-sm: 0 8px 24px -12px rgba(var(--navy-rgb), .25);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --serif: 'Fraunces', Georgia, serif;
}
