/* =========================================================
   RKNICA CENTRAL DESIGN/ TOKENS rknica-theme.css
   Edit values here to update matching components.
========================================================= */

:root {
    /* =========================================================
   RKNICA MODERN TYPOGRAPHY TOKENS
========================================================= */

/* Font Families */
--rknica-font-body: 'DM Sans', 'Hind Siliguri', sans-serif;
--rknica-font-heading: 'Manrope', 'Hind Siliguri', sans-serif;
--rknica-font-bengali: 'Hind Siliguri', sans-serif;

/* Font Sizes */
--rknica-font-xs: 12px;
--rknica-font-sm: 14px;
--rknica-font-base: 16px;
--rknica-font-lg: 18px;
--rknica-font-xl: 20px;
--rknica-font-2xl: 24px;
--rknica-font-3xl: 30px;
--rknica-font-4xl: 36px;
--rknica-font-5xl: 44px;

/* Font Weights */
--rknica-weight-normal: 400;
--rknica-weight-medium: 500;
--rknica-weight-semibold: 600;
--rknica-weight-bold: 700;
--rknica-weight-extra: 800;

/* Line Heights */
--rknica-line-tight: 1.25;
--rknica-line-normal: 1.5;
--rknica-line-relaxed: 1.75;

    /* -----------------------------------------------------
       1. Core Brand Colors
    ----------------------------------------------------- */

    --rknica-navy: #010d40;
    --rknica-deep: #003b2b;
    --rknica-dark: #004734;
    --rknica-green: #008a45;
    --rknica-light-green: #16a04f;

    --rknica-yellow: #ffcf0a;
    --rknica-yellow-light: #ffe76b;
    --rknica-white: #fff;

    /* -----------------------------------------------------
       2. Text, Radius and Shadow
    ----------------------------------------------------- */

    --rknica-text: #15304a;
    --rknica-muted: #58706d;

    --rknica-radius: 18px;
    --rknica-shadow: 0 10px 30px rgba(0,42,28,.13);

    /* -----------------------------------------------------
       3. Topbar Colors
    ----------------------------------------------------- */

    --rknica-topbar-start: #004431;
    --rknica-topbar-end: #003b2b;

    /* -----------------------------------------------------
       4. Navigation Colors
    ----------------------------------------------------- */

    --rknica-nav-start: #004633;
    --rknica-nav-end: #003526;
    --rknica-nav-accent: #ffce08;
    --rknica-nav-bg: #ffeb3b;

    /* -----------------------------------------------------
       5. Brand Identity Colors
    ----------------------------------------------------- */

    --rknica-brand-green: #006137;
    --rknica-brand-navy: #112f4c;

    /* -----------------------------------------------------
       6. Mobile Navigation Colors
    ----------------------------------------------------- */

    --rknica-mobile-panel-bg: #174b35;
    --rknica-mobile-tile-bg: #2c634b;
    --rknica-mobile-tile-hover: #337254;
    --rknica-mobile-heading-bg: #255a40;

    /* -----------------------------------------------------
       7. Hero Section Gradient Colors
    ----------------------------------------------------- */

    --rknica-hero-start: #003a2b;
    --rknica-hero-mid: #00523b;
    --rknica-hero-end: #007449;

    /* -----------------------------------------------------
       8. Reference Design: Mint Colors
    ----------------------------------------------------- */

    --rknica-reference-mint: #e6f6ee;
    --rknica-reference-mint-mid: #d0e9db;
    --rknica-reference-mint-end: #f7fcf8;

    /* -----------------------------------------------------
       9. Reference Design: Gold Colors
    ----------------------------------------------------- */

    --rknica-reference-gold: #ffcb05;
    --rknica-reference-gold-light: #ffe976;
    --rknica-reference-gold-mid: #f6be00;

    /* -----------------------------------------------------
       10. Reference Design: Green Colors
    ----------------------------------------------------- */

    --rknica-reference-green: #00713c;
    --rknica-reference-green-dark: #004b34;
    --rknica-reference-green-bright: #008a44;

    /* -----------------------------------------------------
       11. Reference Design: Overlay
    ----------------------------------------------------- */

    --rknica-reference-mint-overlay: rgba(189,228,203,.65);

    /* -----------------------------------------------------
       12. Reference Design: Navigation Styling
    ----------------------------------------------------- */

    --rknica-reference-nav-outline:rgb(89 255 250);
    --rknica-reference-nav-gradient-start: rgba(0,104,68,.15);
    --rknica-reference-nav-gradient-end: rgba(0,112,72,.38);
    --rknica-reference-nav-text: #ffdb28;


/* Desktop Dropdown Theme Colors */

    --rknica-dropdown-bg: #073e2e;
    --rknica-dropdown-bg-end: #0b5a3c;
    --rknica-dropdown-text: #f2fff8;
    --rknica-dropdown-border: rgba(255,255,255,.13);
    --rknica-dropdown-hover: var(--rknica-yellow);
    --rknica-dropdown-hover-text: #073e2e;
}

/* =========================================================
   SHORT SHARED PALETTE — Homepage + future pages
   Change these colors centrally. Existing brand tokens above
   are preserved for backwards compatibility.
   ========================================================= */
:root {
    --rknica-mint: #e6f6ee;
    --rknica-mint-light: #f7fcf8;
    --rknica-mint-mid: #d0e9db;
    --rknica-gold: #ffcb05;
    --rknica-gold-light: #ffe976;
    --rknica-cream: #fff7d6;
    --rknica-pale-gold: #fff1bd;
    --rknica-forest: #006137;
    --rknica-teal: #007449;
    --rknica-blue: #1162b9;
    --rknica-sky: #e8f4ff;
    --rknica-gray: #eef2f2;
    --rknica-black: #000000;
}

/* RKNICA size / spacing tokens — edit centrally */
:root{
  --rknica-space-1: 4px;
  --rknica-space-2: 8px;
  --rknica-space-3: 12px;
  --rknica-space-4: 16px;
  --rknica-space-5: 20px;
  --rknica-space-6: 24px;
  --rknica-space-8: 32px;
  --rknica-space-10: 40px;
  --rknica-space-12: 48px;
  --rknica-space-16: 64px;
  --rknica-font-xs: 12px;
  --rknica-font-sm: 14px;
  --rknica-font-base: 16px;
  --rknica-font-lg: 18px;
  --rknica-font-xl: 20px;
  --rknica-font-2xl: 24px;
  --rknica-font-3xl: 30px;
  --rknica-control-sm: 36px;
  --rknica-control-md: 44px;
  --rknica-control-lg: 52px;
  --rknica-container-max: 1450px;
  --rknica-gutter: 22px;
  --rknica-radius-sm: 8px;
  --rknica-radius-md: 14px;
  --rknica-radius-lg: 22px;
  --rknica-border-color: #dce8e1;
}


/* ==============================================================
   RKNICA FRAMEWORK v3 — ADDITIVE DESIGN TOKENS
   Existing variables above are intentionally preserved.
   ============================================================== */
:root {
  --rknica-space-0: 0px;
  --rknica-space-7: 28px;
  --rknica-space-14: 56px;
  --rknica-space-20: 80px;
  --rknica-font-4xl: 36px;
  --rknica-font-5xl: 44px;
  --rknica-line-tight: 1.2;
  --rknica-line-normal: 1.5;
  --rknica-line-relaxed: 1.75;
  --rknica-weight-normal: 400;
  --rknica-weight-medium: 500;
  --rknica-weight-semibold: 600;
  --rknica-weight-bold: 700;
  --rknica-weight-extra: 800;
  --rknica-radius-pill: 999px;
  --rknica-shadow-sm: 0 3px 12px rgba(0,42,28,.09);
  --rknica-shadow-lg: 0 16px 40px rgba(0,42,28,.17);
  --rknica-duration-fast: 150ms;
  --rknica-duration-normal: 250ms;
  --rknica-duration-slow: 400ms;
  --rknica-ease-standard: ease;
  --rknica-content-narrow: 760px;
  --rknica-content-medium: 1100px;
  --rknica-control-xl: 60px;
  --rknica-focus-ring: 0 0 0 3px rgba(0,138,69,.2);
  --rknica-danger: #c0392b;
  --rknica-warning: #a35a00;
  --rknica-info: #1162b9;
  --rknica-success: var(--rknica-green);
  --rknica-surface: var(--rknica-white);
  --rknica-surface-soft: var(--rknica-mint-light);
}


/* RKNICA documented responsive breakpoints (reference values only).
   Native @media cannot use var() in standard CSS. */
:root{
  --rknica-breakpoint-sm:576px;
  --rknica-breakpoint-md:768px;
  --rknica-breakpoint-lg:992px;
  --rknica-breakpoint-xl:1200px;
}

/* RKNICA v4 additional accent tokens (existing variables untouched) */
:root{
  --rknica-accent-purple:#7344bb;
  --rknica-accent-rose:#d83e73;
  --rknica-accent-orange:#e87519;
  --rknica-accent-cyan:#087e9e;
  --rknica-accent-blue:#2363bb;
  --rknica-accent-teal:#087b6a;
  --rknica-accent-slate:#475569;
  --rknica-motion-fast:160ms;
  --rknica-motion-normal:280ms;
  --rknica-motion-slow:450ms;
}

/* v5: RGB-mix-inspired extended palette; existing tokens remain unchanged */
:root{
  --rknica-palette-red: #E53935;
  --rknica-palette-coral: #FF6B6B;
  --rknica-palette-orange: #F97316;
  --rknica-palette-amber: #F59E0B;
  --rknica-palette-yellow: #FACC15;
  --rknica-palette-lime: #84CC16;
  --rknica-palette-emerald: #10B981;
  --rknica-palette-green: #16A34A;
  --rknica-palette-teal: #0D9488;
  --rknica-palette-cyan: #06B6D4;
  --rknica-palette-sky: #0EA5E9;
  --rknica-palette-blue: #2563EB;
  --rknica-palette-indigo: #4F46E5;
  --rknica-palette-violet: #7C3AED;
  --rknica-palette-purple: #9333EA;
  --rknica-palette-magenta: #D946EF;
  --rknica-palette-pink: #EC4899;
  --rknica-palette-rose: #F43F5E;
}

/* =========================================================
   FIX PACK — missing aliases + legacy RGB replacements
   ========================================================= */
:root{
  /* Aliases that common.css references but were never defined */
  --rknica-space-xs: 4px;
  --rknica-space-sm: 8px;
  --rknica-space-lg: 24px;
  --rknica-font-md: 16px;
  --rknica-ease: ease;

  /* Legacy hashed RGB names → real colours */
  --rknica-home-rgb-54a4beca: rgba(0,42,28,.13);
  --rknica-home-rgb-64aa1516: rgba(0,42,28,.15);
  --rknica-home-rgb-8a2dea80: rgba(0,0,0,.05);
  --rknica-home-rgb-09884d7f: rgba(0,0,0,.08);
  --rknica-home-rgb-b95d02d8: rgba(255,255,255,.45);
  --rknica-home-rgb-bdbe0bae: rgba(255,255,255,.12);
  --rknica-home-rgb-0e6b7be3: rgba(255,255,255,.22);
  --rknica-home-rgb-234000cb: rgba(0,0,0,.10);
  --rknica-home-rgb-c7c357d5: rgba(0,0,0,.16);
  --rknica-home-rgb-da14ea5d: rgba(0,42,28,.22);

  /* Nav outline was cyan; align to brand gold */
  --rknica-reference-nav-outline: var(--rknica-yellow);
}

/* =========================================================
   RKNICA MODERN GLOBAL TYPOGRAPHY SYSTEM
   Version: 1.0

   BODY       : DM Sans
   HEADINGS   : Manrope
   BENGALI    : Hind Siliguri
   FONT SOURCE: Google Fonts
========================================================= */


/* =========================================================
   01. BODY DEFAULT
========================================================= */

body {
    font-family: var(--rknica-font-body);
    font-size: var(--rknica-font-base, 16px);
    font-weight: var(--rknica-weight-normal, 400);
    line-height: var(--rknica-line-normal, 1.5);
    color: var(--rknica-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


/* =========================================================
   02. GLOBAL HEADING
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--rknica-font-heading);
    font-weight: var(--rknica-weight-bold, 700);
    line-height: var(--rknica-line-tight, 1.25);
    color: var(--rknica-navy);
    margin-top: 0;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}


/* H1 */

h1 {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: var(--rknica-weight-extra, 800);
}


/* H2 */

h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: var(--rknica-weight-bold, 700);
}


/* H3 */

h3 {
    font-size: clamp(23px, 2.8vw, 30px);
    font-weight: var(--rknica-weight-bold, 700);
}


/* H4 */

h4 {
    font-size: 22px;
    font-weight: var(--rknica-weight-semibold, 600);
}


/* H5 */

h5 {
    font-size: 19px;
    font-weight: var(--rknica-weight-semibold, 600);
}


/* H6 */

h6 {
    font-size: 16px;
    font-weight: var(--rknica-weight-semibold, 600);
}


/* =========================================================
   03. PARAGRAPH
========================================================= */

p {
    font-family: var(--rknica-font-body);
    font-size: var(--rknica-font-base, 16px);
    font-weight: var(--rknica-weight-normal, 400);
    line-height: var(--rknica-line-relaxed, 1.75);
    color: var(--rknica-text);
    margin-top: 0;
    margin-bottom: 16px;
}


/* =========================================================
   04. LINKS
========================================================= */

a {
    font-family: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

a:hover {
    color: var(--rknica-green);
}

a:focus-visible {
    outline: 2px solid var(--rknica-yellow);
    outline-offset: 3px;
}


/* =========================================================
   05. TEXT FORMATTING
========================================================= */

strong,
b {
    font-weight: var(--rknica-weight-bold, 700);
}

em,
i {
    font-style: italic;
}

small {
    font-size: .875em;
}

mark {
    background: var(--rknica-yellow-light);
    color: var(--rknica-navy);
}


/* =========================================================
   06. LIST TYPOGRAPHY
========================================================= */

ul,
ol {
    font-family: var(--rknica-font-body);
    line-height: var(--rknica-line-relaxed, 1.75);
}

li {
    font-size: inherit;
}


/* =========================================================
   07. FORM TYPOGRAPHY
========================================================= */

button,
input,
select,
textarea,
option {
    font-family: var(--rknica-font-body);
}

button {
    font-weight: var(--rknica-weight-semibold, 600);
}

label {
    font-family: var(--rknica-font-body);
    font-weight: var(--rknica-weight-medium, 500);
}

input,
select,
textarea {
    font-size: var(--rknica-font-base, 16px);
}


/* =========================================================
   08. TABLE TYPOGRAPHY
========================================================= */

table {
    font-family: var(--rknica-font-body);
    font-size: var(--rknica-font-base, 16px);
}

th {
    font-family: var(--rknica-font-heading);
    font-weight: var(--rknica-weight-semibold, 600);
}

td {
    font-family: var(--rknica-font-body);
}


/* =========================================================
   09. BLOCKQUOTE
========================================================= */

blockquote {
    font-family: var(--rknica-font-body);
    font-size: var(--rknica-font-lg, 18px);
    line-height: var(--rknica-line-relaxed, 1.75);
    color: var(--rknica-muted);
}


/* =========================================================
   10. INLINE CODE
========================================================= */

code,
kbd,
samp,
pre {
    font-family: monospace;
}


/* =========================================================
   11. EXISTING RKNICA COMPONENT FONT UPDATE
========================================================= */

.rknica-site-header,
.rknica-home-hero,
.rknica-features {
    font-family: var(--rknica-font-body);
}


/* =========================================================
   12. SPECIAL DECORATIVE FONT
========================================================= */

.rknica-brand-slogan,
.rknica-hero-image-note {
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
}


/* =========================================================
   13. RESPONSIVE TYPOGRAPHY
========================================================= */

@media (max-width: 767px) {

    h1 {
        line-height: 1.2;
    }

    h2 {
        line-height: 1.25;
    }

    h3,
    h4,
    h5,
    h6 {
        line-height: 1.3;
    }

    p {
        line-height: 1.7;
    }
}


/* =========================================================
   14. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    a {
        transition: none;
    }

}
