:root {
    --grms-primary: #0f4c81;
    --grms-primary-strong: #083b66;
    --grms-accent: #f4b400;
    --grms-ink: #102a43;
    --grms-muted: #627d98;
    --grms-surface: #ffffff;
    --grms-surface-soft: #f4f8fb;
    --grms-border: #d9e2ec;
    --grms-dark: #0b1f33;
    --grms-shadow: 0 18px 50px rgba(16, 42, 67, .10);
    --grms-radius: 1rem;
    --bs-primary: var(--grms-primary);
    --bs-primary-rgb: 15, 76, 129;
    --bs-body-color: var(--grms-ink);
    --bs-body-bg: #f8fbfd;
    --bs-link-color: var(--grms-primary);
    --bs-link-hover-color: var(--grms-primary-strong);
}

html { min-height: 100%; scroll-behavior: smooth; }
html[data-theme="dark"] {
    --grms-ink: #e7f0f7;
    --grms-muted: #a8bfd1;
    --grms-surface: #132b40;
    --grms-surface-soft: #102437;
    --grms-border: #2b4a63;
    --grms-shadow: 0 18px 50px rgba(0, 0, 0, .24);
    --bs-body-color: var(--grms-ink);
    --bs-body-bg: #0b1f33;
    --bs-secondary-color: var(--grms-muted);
    --bs-tertiary-bg: #17364f;
    --bs-border-color: var(--grms-border);
    --bs-link-color: #8bc5ef;
    --bs-link-hover-color: #b8def5;
}

body { min-height: 100vh; background: var(--bs-body-bg); color: var(--grms-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; transition: background-color .25s ease, color .25s ease; }
main { min-height: calc(100vh - 140px); }
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
:focus-visible { outline: 3px solid var(--grms-accent); outline-offset: 3px; }
.skip-link { z-index: 2000; position: fixed; top: .5rem; left: .5rem; }
.section-padding { padding: 5.5rem 0; }
.section-soft { background: var(--grms-surface-soft); }
.section-dark { background: linear-gradient(135deg, var(--grms-dark), #145b87); color: #fff; }
.section-dark .text-secondary, .section-dark p { color: rgba(255,255,255,.76) !important; }
.section-heading { max-width: 760px; }
.section-heading.text-center { margin-inline: auto; }
.section-heading > p:not(.section-eyebrow) { color: var(--grms-muted); }
.section-heading.light > p:not(.section-eyebrow), .section-dark .section-eyebrow { color: rgba(255,255,255,.72); }
.section-title { color: var(--grms-ink); font-size: clamp(2rem, 4vw, 3rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.15; }
.section-dark .section-title, .section-heading.light .section-title { color: #fff; }
.section-eyebrow { color: var(--grms-primary); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.site-header { box-shadow: 0 4px 20px rgba(16,42,67,.06); }
.topbar { background: var(--grms-dark); color: rgba(255,255,255,.8); padding: .45rem 0; }
.navbar { background: color-mix(in srgb, var(--grms-surface) 94%, transparent); backdrop-filter: blur(12px); }
.navbar-brand { color: var(--grms-ink); line-height: 1; }
.navbar-brand:hover { color: var(--grms-primary); }
.navbar-brand strong { display: block; font-size: 1.35rem; letter-spacing: .08em; }
.navbar-brand small { display: block; color: var(--grms-muted); font-size: .62rem; letter-spacing: .04em; margin-top: .3rem; }
.brand-mark { align-items: center; background: var(--grms-primary); border-radius: .7rem; color: #fff; display: inline-flex; height: 2.65rem; justify-content: center; width: 2.65rem; }
.nav-link { color: var(--grms-ink); font-weight: 650; padding-inline: .7rem !important; }
.nav-link:hover, .nav-link.active { color: var(--grms-primary); }
.theme-toggle { border: 0; background: transparent; }
.portal-header-notifications .portal-notification-menu { width: min(22rem, calc(100vw - 1.5rem)); }
.portal-user-menu-trigger { display: flex; align-items: center; gap: .5rem; max-width: 13rem; }
.portal-user-avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; color: #fff; background: var(--grms-primary); border-radius: 50%; font-size: .78rem; font-weight: 700; }
.portal-user-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown-menu { background: var(--grms-surface); border-color: var(--grms-border); box-shadow: var(--grms-shadow); }
.dropdown-item { color: var(--grms-ink); }
.dropdown-item:hover { background: var(--grms-surface-soft); color: var(--grms-primary); }

.btn { border-radius: .65rem; font-weight: 700; }
.btn-primary { --bs-btn-bg: var(--grms-primary); --bs-btn-border-color: var(--grms-primary); --bs-btn-hover-bg: var(--grms-primary-strong); --bs-btn-hover-border-color: var(--grms-primary-strong); }
.btn-outline-primary { --bs-btn-color: var(--grms-primary); --bs-btn-border-color: var(--grms-primary); --bs-btn-hover-bg: var(--grms-primary); --bs-btn-hover-border-color: var(--grms-primary); }
.icon-box { align-items: center; background: rgba(15,76,129,.1); border-radius: .8rem; color: var(--grms-primary); display: inline-flex; height: 3.1rem; justify-content: center; width: 3.1rem; }

.hero-section { background: radial-gradient(circle at 90% 10%, rgba(244,180,0,.18), transparent 28%), linear-gradient(135deg, #edf7fc, var(--grms-surface)); min-height: 620px; }
html[data-theme="dark"] .hero-section { background: radial-gradient(circle at 90% 10%, rgba(244,180,0,.12), transparent 28%), linear-gradient(135deg, #102d45, var(--grms-surface)); }
.py-lg-6 { padding-bottom: 7rem !important; padding-top: 7rem !important; }
.hero-title { color: var(--grms-ink); font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 800; letter-spacing: -.065em; line-height: 1.03; }
.hero-title span { color: var(--grms-primary); }
.hero-copy { color: var(--grms-muted); font-size: 1.15rem; max-width: 650px; }
.hero-trust { color: var(--grms-muted); display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .85rem; font-weight: 700; }
.hero-trust i { color: var(--grms-primary); margin-right: .35rem; }
.hero-art-wrap { position: relative; }
.hero-art { display: block; filter: drop-shadow(0 25px 25px rgba(15,76,129,.17)); margin-inline: auto; max-height: 390px; width: 100%; }
.floating-note { align-items: center; background: var(--grms-surface); border: 1px solid var(--grms-border); border-radius: .9rem; box-shadow: var(--grms-shadow); display: flex; gap: .65rem; padding: .7rem .85rem; position: absolute; z-index: 1; }
.floating-note i { color: var(--grms-primary); font-size: 1.25rem; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { line-height: 1.1; }
.floating-note small { color: var(--grms-muted); font-size: .7rem; }
.note-one { left: -1rem; top: 18%; } .note-two { bottom: 15%; right: -1rem; }
.page-hero { background: linear-gradient(135deg, var(--grms-primary-strong), var(--grms-primary)); color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 720px; }
.page-hero .section-eyebrow { color: var(--grms-accent); }

.stats-section { background: var(--grms-surface); padding: 2rem 0; }
.stat-card, .feature-card, .value-card, .category-card, .announcement-card, .testimonial-card, .quote-panel, .about-panel { background: var(--grms-surface); border: 1px solid var(--grms-border); border-radius: var(--grms-radius); box-shadow: var(--grms-shadow); padding: 1.5rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.stat-card { box-shadow: none; border: 0; padding: .5rem 1rem; text-align: center; }
.stat-value { color: var(--grms-primary); display: block; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.1; }
.stat-label { color: var(--grms-muted); display: block; font-size: .82rem; margin-top: .35rem; }
.feature-card:hover, .category-card:hover, .announcement-card:hover, .testimonial-card:hover { border-color: rgba(15,76,129,.35); box-shadow: 0 22px 55px rgba(16,42,67,.15); transform: translateY(-5px); }
.feature-card p, .category-card p, .announcement-card p, .testimonial-card small { color: var(--grms-muted); }
.icon-large { color: var(--grms-primary); font-size: 2rem; }
.about-panel, .quote-panel { background: linear-gradient(145deg, var(--grms-primary), #2587b8); color: #fff; border: 0; }
.about-panel-icon { color: var(--grms-accent); font-size: 2.2rem; margin-bottom: 1rem; }
.mini-points { display: flex; flex-wrap: wrap; gap: .6rem; }.mini-points span { background: rgba(255,255,255,.13); border-radius: 99px; font-size: .8rem; padding: .4rem .7rem; }.mini-points i { color: var(--grms-accent); margin-right: .3rem; }
.quote-panel i { color: var(--grms-accent); font-size: 2rem; margin-bottom: 1.25rem; }

.category-card { height: 100%; padding: 1.4rem; }.category-card .category-count { color: var(--grms-muted); font-size: .8rem; }.category-card h3 a, .announcement-card h2 a { color: var(--grms-ink); text-decoration: none; }.category-card h3 a:hover, .announcement-card h2 a:hover { color: var(--grms-primary); }
.card-link { font-weight: 750; text-decoration: none; }.badge { background: rgba(244,180,0,.18); color: #855f00; font-weight: 750; }.announcement-date { color: var(--grms-primary); font-size: .8rem; font-weight: 800; }.announcement-date.large { font-size: .9rem; }.announcement-item { border-bottom: 1px solid var(--grms-border); display: flex; gap: 1rem; padding: 1rem 0; }.announcement-item:last-child { border-bottom: 0; }.announcement-item h3 { margin-bottom: .35rem; }

.process-timeline { display: grid; gap: 1.5rem; grid-template-columns: repeat(7, 1fr); position: relative; }.process-timeline::before { background: rgba(255,255,255,.25); content: ""; height: 2px; left: 7%; position: absolute; right: 7%; top: 1.55rem; }.process-step { position: relative; text-align: center; z-index: 1; }.process-number { align-items: center; background: var(--grms-accent); border: 5px solid var(--grms-primary); border-radius: 50%; color: var(--grms-dark); display: flex; font-weight: 800; height: 3.1rem; justify-content: center; margin: 0 auto 1rem; width: 3.1rem; }.process-step h3 { color: #fff; font-size: .95rem; }.process-step p { color: rgba(255,255,255,.7); font-size: .78rem; }

.testimonial-slider { overflow: hidden; }.testimonial-slider .swiper-slide { height: auto; }.stars { color: var(--grms-accent); }.avatar { align-items: center; background: rgba(15,76,129,.12); border-radius: 50%; color: var(--grms-primary); display: inline-flex; font-weight: 800; height: 2.7rem; justify-content: center; width: 2.7rem; }.testimonial-card blockquote { color: var(--grms-ink); font-size: 1.05rem; }.swiper-button-next, .swiper-button-prev { color: var(--grms-primary); }.swiper-pagination-bullet-active { background: var(--grms-primary); }

.breadcrumb-wrap { background: var(--grms-surface-soft); border-bottom: 1px solid var(--grms-border); }.breadcrumb { margin: 0; padding: 1rem 0; }.breadcrumb-item, .breadcrumb-item a { color: var(--grms-muted); font-size: .88rem; text-decoration: none; }.breadcrumb-item.active { color: var(--grms-ink); }
.policy-layout { display: grid; gap: 3rem; grid-template-columns: 220px minmax(0, 1fr); }.policy-nav { align-self: start; position: sticky; top: 6rem; }.policy-nav a { border-left: 2px solid var(--grms-border); color: var(--grms-muted); display: block; padding: .5rem 1rem; text-decoration: none; }.policy-nav a:hover { border-color: var(--grms-primary); color: var(--grms-primary); }.policy-content { max-width: 820px; }.policy-content h2 { border-top: 1px solid var(--grms-border); margin-top: 2.25rem; padding-top: 1.5rem; }.policy-content p { color: var(--grms-muted); }
.search-panel { background: var(--grms-surface-soft); border: 1px solid var(--grms-border); border-radius: var(--grms-radius); padding: 1.25rem; }.form-control, .form-select, .input-group-text { background-color: var(--grms-surface); border-color: var(--grms-border); color: var(--grms-ink); }.form-control::placeholder { color: var(--grms-muted); }.form-control:focus, .form-select:focus { background-color: var(--grms-surface); border-color: var(--grms-primary); box-shadow: 0 0 0 .25rem rgba(15,76,129,.16); color: var(--grms-ink); }.input-group-text { color: var(--grms-muted); }
.accordion-item { background: var(--grms-surface); border-color: var(--grms-border); }.accordion-button { background: var(--grms-surface); color: var(--grms-ink); font-weight: 700; }.accordion-button:not(.collapsed) { background: rgba(15,76,129,.08); color: var(--grms-primary); }.accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(15,76,129,.16); }.accordion-body { color: var(--grms-muted); }

.auth-section { background: var(--grms-surface-soft); }.auth-shell { border: 1px solid var(--grms-border); border-radius: 1.25rem; box-shadow: var(--grms-shadow); max-width: 1060px; overflow: hidden; }.auth-shell-compact { max-width: 560px; }.auth-visual { align-items: center; background: linear-gradient(145deg, var(--grms-primary-strong), var(--grms-primary)); padding: 3rem; }.auth-visual-icon, .auth-heading-icon { align-items: center; background: rgba(244,180,0,.18); border-radius: 1rem; color: var(--grms-accent); display: inline-flex; font-size: 2rem; height: 4.2rem; justify-content: center; margin-bottom: 1.5rem; width: 4.2rem; }.auth-visual p { color: rgba(255,255,255,.8); }.auth-benefits { color: rgba(255,255,255,.86); margin-top: 2rem; }.auth-benefits li { margin-top: .8rem; }.auth-benefits i { color: var(--grms-accent); margin-right: .5rem; }.auth-form-panel { background: var(--grms-surface); padding: clamp(1.5rem, 5vw, 3.25rem); }.auth-heading-icon { background: rgba(15,76,129,.1); color: var(--grms-primary); height: 3.5rem; width: 3.5rem; }.password-toggle { border-color: var(--grms-border); }
.site-footer { background: var(--grms-dark); color: rgba(255,255,255,.75); }.footer-brand { align-items: center; color: #fff; display: inline-flex; font-size: 1.4rem; font-weight: 800; gap: .7rem; text-decoration: none; }.footer-brand .brand-mark { background: var(--grms-accent); color: var(--grms-dark); }.social-links { display: flex; gap: .6rem; }.social-links a, .social-links > span { align-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; display: inline-flex; height: 2.3rem; justify-content: center; text-decoration: none; width: 2.3rem; }.social-links a:hover { background: var(--grms-accent); border-color: var(--grms-accent); color: var(--grms-dark); }.social-links > span { cursor: default; opacity: .62; }.footer-links { list-style: none; margin: 0; padding: 0; }.footer-links li { margin-top: .65rem; }.footer-links a, .footer-links span { color: rgba(255,255,255,.65); font-size: .9rem; text-decoration: none; }.footer-links a:hover { color: #fff; }.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); font-size: .78rem; padding: 1rem 0; }

@media (max-width: 1199.98px) { .portal-user-menu-trigger { max-width: 100%; } }
@media (max-width: 991.98px) { .section-padding { padding: 4rem 0; }.process-timeline { grid-template-columns: repeat(2, 1fr); }.process-timeline::before { display: none; }.policy-layout { grid-template-columns: 1fr; }.policy-nav { position: static; }.policy-nav a { display: inline-block; margin: .2rem; border: 1px solid var(--grms-border); border-radius: 99px; padding: .4rem .75rem; } }
@media (max-width: 575.98px) { .hero-section { min-height: auto; }.py-lg-6 { padding-bottom: 4rem !important; padding-top: 4rem !important; }.hero-title { font-size: 2.8rem; }.floating-note { position: static; margin: .75rem auto; width: max-content; }.hero-art-wrap { display: flex; flex-direction: column; }.hero-art { order: 1; }.note-one { order: 0; }.note-two { order: 2; }.process-timeline { grid-template-columns: 1fr; }.process-step { text-align: left; }.process-number { margin-left: 0; }.section-title { font-size: 2.15rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
