@charset "UTF-8";

/* =============================================================================
   LICENSE MASTERS — GLOBAL STYLESHEET
   Version: 3.0  |  PHP 8.2 Build
   
   TABLE OF CONTENTS
   -----------------
   01. Google Fonts Import
   02. CSS Custom Properties (Design Tokens)
   03. Modern Reset
   04. Base Typography
   05. Body & Page Shell
   06. Links
   07. Utility Classes
   08. Layout & Container
   09. Buttons
   10. Forms & Inputs
   11. Tables
   12. Cards (shared card patterns)
   13. Section Patterns (tags, headings, full-spread sections)
   14. Scroll Reveal Animation
   15. reCAPTCHA
   16. Responsive Breakpoints
   ============================================================================= */


/* =============================================================================
   01. GOOGLE FONTS
   ============================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&family=Montserrat:wght@300;400;500;600;700&display=swap');


/* =============================================================================
   02. CSS CUSTOM PROPERTIES — DESIGN TOKENS
   All colors, spacing, and scale live here.
   Reference with var(--token-name) throughout this file and all page CSS.
   ============================================================================= */
:root {

     /* --- Brand Colors --- */
    --color-blue:          #0099FF;   /* Primary action — buttons, links, highlights */
    --color-blue-dark:     #0077CC;   /* Hover state for blue */
    --color-blue-light:    #66CCFF;   /* Accent, trust badges on dark backgrounds */
    --color-blue-pale:     #E8F4FF;   /* Light tint for tags, selected states */
    --color-navy:          #1F4E8C;   /* Primary dark — hero backgrounds, footer, headings */
    --color-navy-deep:     #2558A0;   /* Deeper navy — gradient endpoint, footer CTA */
    --color-orange:        #FF9900;   /* Primary CTA — the most important button on any page */
    --color-orange-dark:   #E08800;   /* Hover state for orange */
    --color-orange-pale:   #FFF3E0;   /* Light tint for orange tags */

    /* --- Neutral Palette --- */
    --color-white:         #FFFFFF;
    --color-bg:            #FAFAF9;   /* Page background — off-white, not stark */
    --color-surface:       #F4F7FC;   /* Card and section backgrounds */
    --color-border:        #E8EEF6;   /* Default border */
    --color-border-mid:    #D8E4F0;   /* Slightly stronger border */
    --color-gray-light:    #F4F7FC;   /* Same as surface — alias for clarity */

    /* --- Text Colors --- */
    --color-text:          #1F3D6B;   /* Primary text — dark navy (lightened from #0A1F44) */
    --color-text-mid:      #3A5070;   /* Body copy, secondary headings */
    --color-text-muted:    #6A8098;   /* Captions, helper text, placeholders */
    --color-text-light:    #D6E8FF;   /* Body text on dark/navy backgrounds (was #8AAFCC — too dim) */
    --color-text-faint:    #8AAFCC;   /* Footer col headers, legal lines on dark (was #4A6A8A — invisible) */

    /* --- Semantic Colors --- */
    --color-success:       #2E7D32;
    --color-success-bg:    #E8F5E9;
    --color-error:         #E90003;
    --color-error-bg:      #FEECEC;
    --color-warning:       #BF6000;
    --color-warning-bg:    #FFF3E0;

    /* --- Typography Scale --- */
    --font-display:        'Comfortaa', sans-serif;   /* All headings h1–h3, logo text */
    --font-body:           'Montserrat', sans-serif;  /* All body, nav, buttons, labels */

    --text-xs:             0.7rem;     /* 11.2px — labels, tags, legal */
    --text-sm:             0.8125rem;  /* 13px  — captions, helper */
    --text-base:           0.9375rem;  /* 15px  — body copy */
    --text-md:             1rem;       /* 16px  — standard body */
    --text-lg:             1.125rem;   /* 18px  — large body */
    --text-xl:             1.25rem;    /* 20px  — small headings */
    --text-2xl:            1.5rem;     /* 24px  — h3 range */
    --text-3xl:            1.875rem;   /* 30px  — h2 range */
    --text-4xl:            2.25rem;    /* 36px  — h1 range */
    --text-5xl:            3rem;       /* 48px  — hero headline */

    /* --- Font Weights --- */
    --weight-light:        300;
    --weight-normal:       400;
    --weight-medium:       500;
    --weight-semibold:     600;
    --weight-bold:         700;

    /* --- Line Heights --- */
    --leading-tight:       1.2;
    --leading-snug:        1.35;
    --leading-normal:      1.5;
    --leading-relaxed:     1.65;
    --leading-loose:       1.8;

    /* --- Spacing Scale (use for padding/margin/gap) --- */
    --space-1:             4px;
    --space-2:             8px;
    --space-3:             12px;
    --space-4:             16px;
    --space-5:             20px;
    --space-6:             24px;
    --space-8:             32px;
    --space-10:            40px;
    --space-12:            48px;
    --space-16:            64px;
    --space-20:            80px;

    /* --- Border Radius --- */
    --radius-sm:           4px;
    --radius-md:           8px;
    --radius-lg:           12px;
    --radius-xl:           16px;
    --radius-pill:         999px;

    /* --- Shadows --- */
    --shadow-sm:           0 1px 4px rgba(10, 31, 68, 0.06);
    --shadow-md:           0 2px 16px rgba(10, 31, 68, 0.08);
    --shadow-lg:           0 6px 32px rgba(10, 31, 68, 0.12);
    --shadow-xl:           0 12px 48px rgba(10, 31, 68, 0.16);

    /* --- Transitions --- */
    --transition-fast:     0.12s ease;
    --transition-base:     0.2s ease;
    --transition-slow:     0.35s ease;

    /* --- Z-Index Scale --- */
    --z-base:              1;
    --z-dropdown:          100;
    --z-sticky:            200;
    --z-header:            1000;
    --z-overlay:           1999;
    --z-drawer:            2000;
    --z-modal:             3000;
    --z-toast:             4000;
    --z-chat:              9000;

    /* --- Layout --- */
    --container-max:       1200px;    /* Max page width */
    --container-narrow:    780px;     /* Articles, FAQs, forms */
    --container-wide:      1400px;    /* Full-bleed wide layouts */
    --section-padding-y:   var(--space-20);  /* Default section vertical padding */
}


/* =============================================================================
   03. MODERN RESET
   ============================================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body, h1, h2, h3, h4, h5, h6,
p, ol, ul, li,
pre, code, address,
fieldset, blockquote,
figure, figcaption {
    margin: 0;
    padding: 0;
    font-weight: var(--weight-normal);
}

/* Remove list styling — re-apply semantically per component */
ol, ul {
    list-style: none;
    padding-left: 0;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

td, th, caption {
    font-weight: var(--weight-normal);
    text-align: left;
}

/* Media */
img, video, svg {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

/* Form elements inherit font */
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Remove default fieldset styling */
fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

/* Quotes */
q::before, q::after {
    content: '';
}

/* Hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =============================================================================
   04. BASE TYPOGRAPHY
   ============================================================================= */

/* --- Headings --- */
h1 {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: var(--weight-bold);
    color: var(--color-text);
    line-height: var(--leading-tight);
    letter-spacing: -0.5px;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
    font-weight: var(--weight-bold);
    color: var(--color-text);
    line-height: var(--leading-tight);
    letter-spacing: -0.3px;
}

h3, .divTitle {
    font-family: var(--font-display);
    font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
    font-weight: var(--weight-bold);
    color: var(--color-text);
    line-height: var(--leading-snug);
    letter-spacing: 0;
}

h4, .titleText {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    color: var(--color-text);
    line-height: var(--leading-snug);
    letter-spacing: 0;
}

h5 {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: var(--color-text);
    line-height: var(--leading-normal);
}

h6 {
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: var(--weight-semibold);
    color: var(--color-text);
    line-height: var(--leading-normal);
}

/* --- Body Copy --- */
p {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    color: var(--color-text-mid);
    line-height: var(--leading-relaxed);
}

/* --- Inline Text --- */
strong, b       { font-weight: var(--weight-bold); }
em, i           { font-style: italic; }
small           { font-size: var(--text-sm); }
code            { font-family: 'Courier New', monospace; font-size: 0.9em; background: var(--color-surface); padding: 2px 5px; border-radius: var(--radius-sm); }
address         { font-style: normal; }


/* =============================================================================
   05. BODY & PAGE SHELL
   ============================================================================= */
body {
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: var(--weight-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    min-height: 70vh;
}

/* Page sections default to zero horizontal overflow */
main, section, aside {
    padding: 0;
    overflow-x: hidden;
}


/* =============================================================================
   06. LINKS
   ============================================================================= */
a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-blue-dark);
    text-decoration: none;
}

/* Inline text links (inside paragraphs) */
p a, li a, td a {
    color: var(--color-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

p a:hover, li a:hover, td a:hover {
    color: var(--color-blue-dark);
}


/* =============================================================================
   07. UTILITY CLASSES
   Keep these minimal — one job each.
   ============================================================================= */

/* --- Text Alignment --- */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

/* Legacy aliases (used in existing PHP templates — do not remove) */
.center       { text-align: center; }
.alignLeft    { float: left; }
.alignRight   { float: right; }
.clear        { clear: both; }

/* --- Text Color Helpers --- */
.text-blue    { color: var(--color-blue); }
.text-navy    { color: var(--color-navy); }
.text-orange  { color: var(--color-orange); }
.text-muted   { color: var(--color-text-muted); }
.text-error   { color: var(--color-error); }
.text-success { color: var(--color-success); }

/* Legacy aliases */
.addBlue  { color: var(--color-blue); }
.addRed   { color: var(--color-error); }

/* --- Text Weight & Size --- */
.font-bold      { font-weight: var(--weight-bold); }
.font-semibold  { font-weight: var(--weight-semibold); }
.font-medium    { font-weight: var(--weight-medium); }

.text-sm  { font-size: var(--text-sm); }
.text-lg  { font-size: var(--text-lg); }
.text-xl  { font-size: var(--text-xl); }

/* Legacy aliases */
.boldBlack  { font-size: var(--text-xl); font-weight: var(--weight-bold); color: var(--color-text); }
.smlText    { font-size: var(--text-md); color: var(--color-text-muted); }
.smallText  { font-size: var(--text-md); color: var(--color-text-muted); }

/* --- Decorative --- */
.strike { text-decoration: line-through; }

/* --- Pricing Display --- */
.ctaPrice {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    color: var(--color-blue);
    line-height: 1;
    margin-bottom: var(--space-4);
}

/* --- Visibility --- */
.hidden         { display: none !important; }
.show-mobile    { display: none; }

/* --- Spacing Helpers --- */
.mt-auto        { margin-top: auto; }
.mb-0           { margin-bottom: 0; }
.mx-auto        { margin-left: auto; margin-right: auto; }


/* =============================================================================
   08. LAYOUT & CONTAINER
   ============================================================================= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-8);
    padding-right: var(--space-8);
}

.container--narrow {
    max-width: var(--container-narrow);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-8);
    padding-right: var(--space-8);
}

.container--wide {
    max-width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-8);
    padding-right: var(--space-8);
}

/* Two-column grid (commonly used in content + sidebar pages) */
.layout-two-col {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-10);
    align-items: start;
}

/* Three-column grid */
.layout-three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* Auto-fit grid — cards that wrap cleanly */
.layout-auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-5);
}


/* =============================================================================
   09. BUTTONS
   All shared button patterns. Page-specific sizing overrides go in page CSS.
   ============================================================================= */

/* --- Base Button Reset & Foundation --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    padding: 13px 24px;
    cursor: pointer;
    transition:
        background-color var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base),
        transform var(--transition-fast),
        box-shadow var(--transition-base);
    white-space: nowrap;
    user-select: none;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 3px solid var(--color-blue);
    outline-offset: 3px;
}

/* --- Button Sizes --- */
.btn--sm  { font-size: var(--text-sm);  padding: 8px 16px; }
.btn--lg  { font-size: var(--text-md);  padding: 16px 32px; }
.btn--xl  { font-size: var(--text-lg);  padding: 18px 36px; }
.btn--full { width: 100%; }

/* --- Button Variants --- */

/* Primary — Orange (highest-intent CTAs only) */
.btn--orange,
#buttonStyleHighlight {
    background-color: var(--color-orange);
    color: #fff;
}
.btn--orange:hover,
#buttonStyleHighlight:hover {
    background-color: var(--color-orange-dark);
    color: #fff;
}

/* Standard Action — Blue */
.btn--blue,
.buttonStyle,
button,
input[type="submit"] {
    background-color: var(--color-blue);
    color: #fff;
    font-weight: var(--weight-bold);
    padding: 13px 24px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--text-base);
}
.btn--blue:hover,
.buttonStyle:hover,
button:hover,
input[type="submit"]:hover {
    background-color: var(--color-blue-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* Outline — Blue border, transparent fill */
.btn--outline,
.buttonStyleClear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1.5px solid var(--color-blue);
    color: var(--color-blue);
    padding: 12px 23px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    cursor: pointer;
    text-decoration: none;
    transition:
        background-color var(--transition-base),
        color var(--transition-base),
        transform var(--transition-fast);
}
.btn--outline:hover,
.buttonStyleClear:hover {
    background-color: var(--color-blue);
    color: #fff;
    transform: translateY(-1px);
}

/* Outline — White (for dark/navy backgrounds) */
.btn--outline-white {
    background-color: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 12px 23px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    cursor: pointer;
    text-decoration: none;
    transition:
        background-color var(--transition-base),
        border-color var(--transition-base),
        transform var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn--outline-white:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    transform: translateY(-1px);
}

/* Login Button (student portal entry) */
.buttonStyle-Login {
    display: block;
    width: 80%;
    max-width: 400px;
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: var(--weight-semibold);
    text-align: center;
    padding: 12px var(--space-4);
    margin: var(--space-2) auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    background-color: var(--color-blue);
    text-decoration: none;
    transition: background-color var(--transition-base), color var(--transition-base);
}
.buttonStyle-Login:hover {
    background-color: var(--color-blue-dark);
    color: #fff;
}

/* Button group — horizontal set of two buttons */
.btn-group {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}


/* =============================================================================
   10. FORMS & INPUTS
   ============================================================================= */

/* --- Text Inputs --- */
input[type="email"],
input[type="text"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"] {
    width: 100%;
    max-width: 480px;
    height: 48px;
    padding: 10px var(--space-4);
    border: 1px solid var(--color-border-mid);
    border-radius: var(--radius-md);
    background-color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    color: var(--color-text);
    transition: border-color var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="email"]:hover,
input[type="text"]:hover,
input[type="tel"]:hover,
input[type="password"]:hover {
    border-color: var(--color-blue);
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.12);
    background-color: var(--color-white);
}

input[type="email"]::placeholder,
input[type="text"]::placeholder,
input[type="tel"]::placeholder,
input[type="password"]::placeholder {
    color: var(--color-text-muted);
}

/* --- Textarea --- */
textarea {
    width: 100%;
    max-width: 600px;
    min-height: 160px;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-border-mid);
    border-radius: var(--radius-md);
    background-color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    color: var(--color-text);
    resize: vertical;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    outline: none;
}

textarea:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.12);
}

/* --- Select --- */
select {
    height: 48px;
    max-width: 480px;
    width: 100%;
    padding: 10px var(--space-10) 10px var(--space-4);
    border: 1px solid var(--color-border-mid);
    border-radius: var(--radius-md);
    background-color: var(--color-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236A8098' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    color: var(--color-text);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    outline: none;
}

select:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.12);
}

/* --- Form Labels --- */
label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

/* --- Form Group --- */
.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    margin-bottom: var(--space-2);
}

/* --- Checkboxes & Radios (custom styled) --- */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text-mid);
    line-height: var(--leading-normal);
    padding: var(--space-2) 0;
    user-select: none;
    position: relative;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1.5px solid var(--color-border-mid);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color var(--transition-base), background-color var(--transition-base);
    outline: none;
    margin-top: 1px;
    padding: 0;
}

.form-check input[type="radio"] {
    border-radius: 50%;
}

.form-check input[type="checkbox"]:checked,
.form-check input[type="radio"]:checked {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 8l3.5 3.5L13 5'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.form-check input[type="radio"]:checked {
    background-image: none;
    box-shadow: inset 0 0 0 4px var(--color-white);
}

.form-check:hover input[type="checkbox"],
.form-check:hover input[type="radio"] {
    border-color: var(--color-blue);
}

/* --- Form Helper Text --- */
.form-hint {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-2);
}

.form-error {
    font-size: var(--text-sm);
    color: var(--color-error);
    margin-top: var(--space-2);
}

/* --- Input Error State --- */
.has-error input,
.has-error textarea,
.has-error select {
    border-color: var(--color-error);
}

.has-error input:focus,
.has-error textarea:focus,
.has-error select:focus {
    box-shadow: 0 0 0 3px rgba(233, 0, 3, 0.12);
}


/* =============================================================================
   11. TABLES
   ============================================================================= */
.tableClass {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-2) auto;
    font-family: var(--font-body);
    font-size: var(--text-base);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tableClass thead tr {
    background-color: var(--color-blue);
    color: #fff;
    text-align: left;
}

.tableClass thead tr th,
.tableClass thead tr .tableHead {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    padding: var(--space-4) var(--space-5);
    color: #fff;
}

.tableClass .tableHead {
    text-align: center;
}

.tableClass th,
.tableClass td {
    padding: var(--space-3) var(--space-5);
    border-bottom: 1px solid var(--color-border);
}

.tableClass tbody tr {
    transition: background-color var(--transition-fast);
}

.tableClass tbody tr:nth-of-type(even) {
    background-color: var(--color-surface);
}

.tableClass tbody tr:hover {
    background-color: var(--color-blue-pale);
}

.tableClass tbody tr:last-of-type {
    border-bottom: 2px solid var(--color-blue);
}


/* =============================================================================
   12. CARDS
   Shared card patterns used across multiple pages.
   ============================================================================= */

/* Base card */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-6);
    transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--color-blue);
}

/* Card with featured/highlighted border */
.card--featured {
    border-color: var(--color-blue);
    border-width: 2px;
}

/* Card without hover effect (static informational) */
.card--static {
    pointer-events: none;
}
.card--static:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--color-border);
}

/* Card icon block (emoji or SVG icon in a rounded square) */
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    font-size: 1.5rem;
}
.card-icon--blue   { background: var(--color-blue-pale); }
.card-icon--orange { background: var(--color-orange-pale); }
.card-icon--green  { background: #E8F5E9; }
.card-icon--purple { background: #EDE7F6; }

/* Card badge (e.g., "Most Popular") */
.card-badge {
    position: absolute;
    top: 0;
    right: var(--space-5);
    background: var(--color-blue);
    color: #fff;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--space-1) var(--space-3);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}


/* =============================================================================
   13. SECTION PATTERNS
   Shared section-level UI patterns used on multiple pages.
   ============================================================================= */

/* --- Section Tag (eyebrow label above headings) --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-4);
}

.section-tag--blue {
    background: var(--color-blue-pale);
    color: #0060B3;
}

.section-tag--orange {
    background: var(--color-orange-pale);
    color: var(--color-warning);
}

.section-tag--navy {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Default (no modifier) — blue */
.section-tag:not([class*="--"]) {
    background: var(--color-blue-pale);
    color: #0060B3;
}

/* --- Section Head (centered title block) --- */
.section-head {
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-head h2 {
    margin-bottom: var(--space-3);
}

.section-head p {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Dark-background variants */
.section-head h2.on-dark  { color: #fff; }
.section-head p.on-dark   { color: var(--color-text-light); }

/* --- Standard Section Spacing --- */
.section {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}

.section--white  { background-color: var(--color-white); }
.section--bg     { background-color: var(--color-bg); }
.section--surface { background-color: var(--color-surface); }
.section--navy   { background-color: var(--color-navy); }

/* --- Proof / Stats Bar Pattern --- */
.proof-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.proof-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--space-5);
    padding: var(--space-6) var(--space-8);
    max-width: var(--container-max);
    margin: 0 auto;
}

.proof-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.proof-bar__num {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    color: var(--color-blue);
    line-height: 1;
}

.proof-bar__label {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text-mid);
    line-height: var(--leading-snug);
    max-width: 90px;
}

.proof-bar__divider {
    width: 1px;
    height: 36px;
    background: var(--color-border-mid);
    flex-shrink: 0;
}

/* --- Trust Badges (inline row of badges) --- */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--color-text-mid);
}

.trust-badge svg {
    color: var(--color-blue-light);
    flex-shrink: 0;
}

/* Trust badges on dark bg */
.trust-badge--light {
    color: #C0D8EE;
}
.trust-badge--light svg {
    color: var(--color-blue-light);
}

/* --- Check List (guarantee / feature lists) --- */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text-mid);
    line-height: var(--leading-normal);
}

.check-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--color-success-bg);
    color: var(--color-success);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: var(--weight-bold);
    margin-top: 2px;
    flex-shrink: 0;
}

/* --- Inline Pill Tags (e.g., course metadata) --- */
.tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    padding: 4px var(--space-2);
    border-radius: var(--radius-sm);
    line-height: 1.4;
}

.tag--blue   { background: var(--color-blue-pale); color: #0060B3; }
.tag--orange { background: var(--color-orange-pale); color: var(--color-warning); }
.tag--gray   { background: var(--color-surface); color: var(--color-text-mid); }
.tag--green  { background: #E8F5E9; color: var(--color-success); }


/* =============================================================================
   14. SCROLL REVEAL ANIMATION
   Applied via JS IntersectionObserver — see global.js
   ============================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s ease-out,
        transform 0.65s ease-out;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* =============================================================================
   15. RECAPTCHA
   ============================================================================= */
.grecaptcha-badge {
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    z-index: var(--z-toast);
}


/* =============================================================================
   16. RESPONSIVE BREAKPOINTS
   Mobile-first. Breakpoints match our component breakpoints in header/footer.
   
   --breakpoint-xs:  480px   (small phones)
   --breakpoint-sm:  640px   (large phones)
   --breakpoint-md:  768px   (tablets portrait)
   --breakpoint-lg:  960px   (tablets landscape / small desktop)
   --breakpoint-xl:  1200px  (desktop)
   ============================================================================= */

/* --- 1200px and below: constrained desktop --- */
@media screen and (max-width: 1200px) {
    .container,
    .container--narrow,
    .container--wide {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }
}

/* --- 960px and below: tablet landscape, collapse to mobile nav --- */
@media screen and (max-width: 960px) {
    :root {
        --section-padding-y: 56px;
    }

    .layout-two-col {
        grid-template-columns: 1fr;
    }

    .layout-three-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof-bar__divider {
        display: none;
    }

    .show-mobile {
        display: block;
    }
}

/* --- 768px and below: tablet portrait --- */
@media screen and (max-width: 768px) {
    :root {
        --section-padding-y: 48px;
    }

    h1 { letter-spacing: -0.25px; }
    h2 { letter-spacing: 0; }

    .ctaPrice {
        font-size: var(--text-3xl);
    }

    .btn--xl {
        font-size: var(--text-base);
        padding: 14px 24px;
    }

    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-group .btn,
    .btn-group .buttonStyle,
    .btn-group .buttonStyleClear {
        width: 100%;
        text-align: center;
    }

    .proof-bar__inner {
        gap: var(--space-6);
        padding: var(--space-5) var(--space-5);
    }

    input[type="email"],
    input[type="text"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        max-width: 100%;
    }
}

/* --- 640px and below: large phones --- */
@media screen and (max-width: 640px) {
    .layout-three-col {
        grid-template-columns: 1fr;
    }

    .section-head {
        margin-bottom: var(--space-8);
    }
}

/* --- 480px and below: small phones --- */
@media screen and (max-width: 480px) {
    :root {
        --section-padding-y: 40px;
    }

    .container,
    .container--narrow,
    .container--wide {
        padding-left: var(--space-5);
        padding-right: var(--space-5);
    }

    h4, h5, h6, .titleText {
        font-size: var(--text-lg);
        font-weight: var(--weight-semibold);
        padding: 0;
    }

    .boldBlack {
        font-size: var(--text-lg);
    }

    .smallText, .smlText {
        font-size: var(--text-sm);
    }

    .proof-bar__num {
        font-size: var(--text-2xl);
    }
}


/* =============================================================================
   17. OFFER BAR
   ============================================================================= */
#offerBar {
    background: var(--color-orange);
    color: var(--color-white);
    text-align: center;
    padding: var(--space-2) var(--space-5);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.3px;
    line-height: var(--leading-normal);
}

#offerBar p {
    margin: 0;
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}


/* =============================================================================
   18. SITE HEADER
   ============================================================================= */
#siteHeader {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

#headerInner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 0 28px;
    height: 68px;
    max-width: var(--container-wide);
    margin: 0 auto;
}

/* --- Logo --- */
#headerLogo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}

#headerLogo img {
    height: 40px;
    width: auto;
    display: block;
}

/* --- Desktop Navigation --- */
#desktopNav {
    flex: 1;
    display: flex;
    justify-content: center;
}

#desktopNav ul {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.navItem {
    position: relative;
}

.navBtn {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    background: none;
    border: none;
    padding: var(--space-2) var(--space-3);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
    /* Reset button defaults that global button rule sets */
    background-color: transparent;
    transform: none;
}

.navBtn:hover,
.navItem:hover .navBtn {
    background-color: var(--color-blue-pale);
    color: var(--color-blue);
    transform: none;
}

.navBtn:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

.navItem.is-active .navBtn {
    color: var(--color-blue);
}

/* Caret arrow indicator */
.navCaret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform var(--transition-base);
    margin-top: 1px;
    flex-shrink: 0;
}

.navItem:hover .navCaret,
.navBtn[aria-expanded="true"] .navCaret {
    transform: rotate(180deg);
}

/* --- Dropdown Panel --- */
.navDrop {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    padding-top: var(--space-2); /* bridges the visual gap without a hover dead zone */
    min-width: 220px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: var(--space-2) 0;
    margin: 0;
    z-index: var(--z-dropdown);
    transition:
        opacity var(--transition-base),
        transform var(--transition-base),
        visibility var(--transition-base);
}

/* Arrow pointer on dropdown — sits at top of visible panel, above the padding bridge */
.navDrop::before {
    content: '';
    position: absolute;
    top: calc(var(--space-2) - 6px);
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--color-white);
    border-left: 1px solid var(--color-border);
    border-top: 1px solid var(--color-border);
}

.navItem:hover .navDrop,
.navItem:focus-within .navDrop {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.navDrop li a {
    display: block;
    padding: 9px 18px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-normal);
    color: var(--color-text);
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    line-height: var(--leading-normal);
}

.navDrop li a:hover {
    background-color: var(--color-blue-pale);
    color: var(--color-blue);
}

/* --- Header Right (Login + CTA) --- */
#headerRight {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.loginLink {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    text-decoration: none;
    padding: 7px var(--space-3);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-mid);
    white-space: nowrap;
    transition: border-color var(--transition-fast), color var(--transition-fast);
    line-height: 1;
}

.loginLink:hover {
    border-color: var(--color-blue);
    color: var(--color-blue);
}

.loginLink svg {
    flex-shrink: 0;
}

/* Header CTA button — distinct class to avoid conflict with page .ctaBtn uses */
.headerCtaBtn {
    display: inline-flex;
    align-items: center;
    background: var(--color-blue);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    padding: 9px 18px;
    border-radius: var(--radius-md);
    text-decoration: none;
    white-space: nowrap;
    border: none;
    transition: background-color var(--transition-base), transform var(--transition-fast);
    line-height: 1;
}

.headerCtaBtn:hover {
    background: var(--color-blue-dark);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* --- Mobile Hamburger Button --- */
#mobileToggle {
    display: none; /* shown via media query */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none !important;
    background-color: transparent !important;
    border: 1px solid var(--color-border-mid);
    border-radius: var(--radius-md);
    padding: var(--space-2) 10px;
    cursor: pointer;
    color: var(--color-text);
    font-size: inherit;
    transform: none !important;
    box-shadow: none;
}

#mobileToggle:hover {
    background-color: var(--color-surface) !important;
    color: var(--color-text);
    transform: none !important;
}

.bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: all 0.25s ease;
}


/* =============================================================================
   19. MOBILE NAV DRAWER
   ============================================================================= */
#mobileNav {
    display: none; /* shown via JS after media query triggers */
    position: fixed;
    top: 0;
    left: 0;
    width: min(340px, 90vw);
    height: 100dvh;
    background: var(--color-white);
    z-index: var(--z-drawer);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(10, 31, 68, 0.12);
}

#mobileNav.is-open {
    transform: translateX(0);
}

#mobileNavInner {
    padding: 0 0 var(--space-10);
}

#mobileNavHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--space-5);
    border-bottom: 1px solid var(--color-border);
}

#mobileClose {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-1);
    color: var(--color-navy);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    transition: background-color var(--transition-fast);
    /* Reset global button */
    background-color: transparent;
    font-size: inherit;
    transform: none;
}

#mobileClose:hover {
    background-color: var(--color-blue-pale);
    transform: none;
}

.mobileLoginBtn {
    display: block;
    margin: var(--space-4) var(--space-4);
    padding: 10px var(--space-4);
    text-align: center;
    border: 1.5px solid var(--color-border-mid);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--color-navy);
    text-decoration: none;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.mobileLoginBtn:hover {
    border-color: var(--color-blue);
    color: var(--color-blue);
}

.mobileSection {
    padding: var(--space-4) var(--space-5) var(--space-2);
    border-top: 1px solid var(--color-border);
}

.mobileSectionHead {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
    line-height: 1;
}

.mobileSection a {
    display: block;
    padding: var(--space-2) 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: color var(--transition-fast);
    line-height: var(--leading-normal);
}

.mobileSection a:hover {
    color: var(--color-blue);
}

.mobileCTA {
    display: block;
    margin: var(--space-5) var(--space-4) 0;
    padding: 13px var(--space-5);
    background: var(--color-blue);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    text-align: center;
    text-decoration: none;
    transition: background-color var(--transition-base);
}

.mobileCTA:hover {
    background: var(--color-blue-dark);
    color: var(--color-white);
}

/* Mobile overlay backdrop */
#mobileOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 68, 0.45);
    z-index: var(--z-overlay);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* --- Header Responsive --- */
@media (max-width: 960px) {
    #desktopNav {
        display: none;
    }

    #headerRight .headerCtaBtn {
        display: none;
    }

    #mobileToggle {
        display: flex;
    }

    #mobileNav {
        display: block;
    }
}

@media (max-width: 480px) {
    #headerInner {
        padding: 0 var(--space-4);
    }

    #headerLogo img {
        height: 34px;
    }

    .loginLink {
        display: none;
    }
}


/* =============================================================================
   20. LIVE CHAT BUBBLE
   ============================================================================= */
#liveChatBubble {
    position: fixed;
    bottom: var(--space-5);
    right: var(--space-5);
    z-index: var(--z-chat);
    background: var(--color-white);
    border: 1.5px solid var(--color-blue);
    border-radius: var(--radius-xl);
    box-shadow: 0 6px 24px rgba(0, 120, 255, 0.15);
    padding: var(--space-3) var(--space-4) var(--space-3) var(--space-4);
    max-width: 220px;
    animation: chatPulse 3s ease-in-out infinite;
}

@keyframes chatPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(0, 120, 255, 0.15); }
    50%       { box-shadow: 0 6px 28px rgba(0, 120, 255, 0.28); }
}

@media (prefers-reduced-motion: reduce) {
    #liveChatBubble {
        animation: none;
    }
}

#liveChatClose {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    padding: var(--space-1);
    line-height: 1;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    transition: color var(--transition-fast), background-color var(--transition-fast);
    /* Reset global button */
    background-color: transparent;
    font-size: inherit;
    transform: none;
}

#liveChatClose:hover {
    color: var(--color-blue);
    background-color: var(--color-blue-pale);
    transform: none;
}

.liveChatLink {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--color-text);
}

.liveChatIcon {
    flex-shrink: 0;
    color: var(--color-blue);
    display: flex;
    align-items: center;
}

.liveChatText strong {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    line-height: var(--leading-snug);
}

.liveChatText em {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-style: normal;
    color: var(--color-blue);
    font-weight: var(--weight-medium);
    line-height: var(--leading-snug);
}

@media (max-width: 600px) {
    #liveChatBubble {
        bottom: var(--space-3);
        right: var(--space-3);
    }
}


/* =============================================================================
   21. FOOTER
   ============================================================================= */
#siteFooter {
    background: var(--color-navy);
    font-family: var(--font-body);
}

/* --- Footer CTA Strip --- */
#footerCTA {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    padding: 28px 48px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footerCTAInner {
    flex: 1;
    min-width: 240px;
}

.footerCTAHead {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-white);
    margin-bottom: var(--space-1);
    line-height: var(--leading-snug);
}

.footerCTASub {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-normal);
    color: var(--color-text-light);
    line-height: var(--leading-normal);
    margin: 0;
}

.footerCTABtn {
    display: inline-flex;
    align-items: center;
    background: var(--color-orange);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color var(--transition-base), transform var(--transition-fast);
    border: none;
}

.footerCTABtn:hover {
    background: var(--color-orange-dark);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* --- Footer Main Grid --- */
#footerGrid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: var(--space-10);
    padding: 48px 48px 36px;
    max-width: var(--container-wide);
    margin: 0 auto;
}

/* Brand column */
.footerBrand img {
    margin-bottom: var(--space-3);
}

.footerBrandName {
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    color: var(--color-white);
    margin-bottom: var(--space-1);
    line-height: 1;
}

.footerTagline {
    font-size: var(--text-xs);
    color: var(--color-text-faint);
    margin-bottom: var(--space-4);
    letter-spacing: 0.4px;
    line-height: 1;
}

.footerAddress {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.footerAddress span,
.footerAddress a {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
    line-height: var(--leading-snug);
}

.footerAddress a:hover {
    color: var(--color-blue-light);
}

/* Social icon row */
.footerSocial {
    display: flex;
    gap: var(--space-3);
}

.footerSocial a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-text-light);
    text-decoration: none;
    transition:
        background-color var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base);
}

.footerSocial a:hover {
    background: rgba(0, 153, 255, 0.15);
    color: var(--color-blue-light);
    border-color: rgba(0, 153, 255, 0.3);
}

/* Nav columns */
.footerColHead {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-faint);
    margin-bottom: var(--space-4);
    line-height: 1;
}

.footerCol ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footerCol ul li a {
    font-size: var(--text-sm);
    font-weight: var(--weight-normal);
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
    line-height: var(--leading-snug);
}

.footerCol ul li a:hover {
    color: var(--color-white);
}

/* --- Footer Bottom Bar --- */
#footerBottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
    padding: 18px 48px;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.footerLegal {
    font-family: var(--font-body);
    font-size: 0.775rem;
    color: var(--color-text-faint);
    line-height: var(--leading-normal);
    margin: 0;
}

.footerBottomNav {
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
}

.footerBottomNav a {
    font-family: var(--font-body);
    font-size: 0.775rem;
    color: var(--color-text-faint);
    text-decoration: none;
    transition: color var(--transition-fast);
    line-height: var(--leading-normal);
}

.footerBottomNav a:hover {
    color: var(--color-blue-light);
}

/* --- Footer Responsive --- */
@media (max-width: 960px) {
    #footerGrid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
        padding: 36px 32px 28px;
    }

    #footerCTA {
        padding: 24px 32px;
    }

    #footerBottom {
        padding: 16px 32px;
    }
}

@media (max-width: 600px) {
    #footerGrid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        padding: 32px 24px 24px;
    }

    #footerCTA {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-6);
        gap: var(--space-4);
    }

    .footerCTABtn {
        width: 100%;
        justify-content: center;
    }

    #footerBottom {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-4) 24px;
    }
}
