/* ============================================================
   SHRIMAT SCHOLARSHIPS — CORE DESIGN SYSTEM
   Phase 1 Frontend
   ============================================================ */

:root {

  /* ----------------------------------------------------------
     BRAND COLORS
  ---------------------------------------------------------- */

  --purple-deep: #611F63;
  --purple-primary: #A1328F;
  --orange: #E47527;

  --blue: #1556A0;
  --pink: #D81B70;
  --green: #68B447;
  --gold: #F4B51C;


  /* ----------------------------------------------------------
     NEUTRALS
  ---------------------------------------------------------- */

  --white: #FFFFFF;
  --bg-light: #FAF8FA;
  --border-light: #E8E1E8;

  --text-dark: #252525;
  --text-secondary: #666666;


  /* ----------------------------------------------------------
     LIGHT BRAND TINTS
  ---------------------------------------------------------- */

  --purple-deep-10: rgba(97, 31, 99, 0.08);
  --purple-primary-10: rgba(161, 50, 143, 0.10);
  --orange-10: rgba(228, 117, 39, 0.10);
  --blue-10: rgba(21, 86, 160, 0.10);
  --green-10: rgba(104, 180, 71, 0.10);
  --gold-10: rgba(244, 181, 28, 0.12);

  --ink-70: rgba(37, 37, 37, 0.70);


  /* ----------------------------------------------------------
     TYPOGRAPHY
  ---------------------------------------------------------- */

  --font-display: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  --font-body: 'Inter', 'Noto Sans Devanagari', sans-serif;


  /* ----------------------------------------------------------
     LAYOUT
  ---------------------------------------------------------- */

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm:
    0 1px 3px rgba(37, 37, 37, 0.06),
    0 1px 2px rgba(37, 37, 37, 0.04);

  --shadow-md:
    0 6px 20px rgba(97, 31, 99, 0.08);

  --shadow-lg:
    0 12px 32px rgba(97, 31, 99, 0.12);

  --header-h: 76px;
  --max-w: 1240px;

}


/* ============================================================
   RESET
============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {

    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;

  }

}

h1,
h2,
h3,
h4,
h5 {

  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 600;

}

h1 {
  font-weight: 700;
}

p {
  margin: 0 0 1em;
  color: var(--text-secondary);
}

a {
  color: var(--purple-primary);
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}


/* ============================================================
   CONTAINER / SECTIONS
============================================================ */

.container {

  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;

}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-light);
}


/* ============================================================
   TYPOGRAPHY HELPERS
============================================================ */

.eyebrow {

  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--purple-primary);

  margin-bottom: 14px;

}

.eyebrow::before {

  content: "";

  width: 22px;
  height: 2px;

  background: var(--orange);

  display: inline-block;

}

.section-head {

  max-width: 640px;
  margin-bottom: 48px;

}

.section-head.center {

  max-width: 680px;

  margin-left: auto;
  margin-right: auto;

  text-align: center;

}

.section-head h2 {

  font-size: clamp(28px, 3.4vw, 38px);

}


/* ============================================================
   ACCESSIBILITY
============================================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {

  outline: 3px solid var(--gold);
  outline-offset: 2px;

  border-radius: 4px;

}

.skip-link {

  position: absolute;

  left: -999px;
  top: 0;

  background: var(--purple-deep);
  color: var(--white);

  padding: 12px 20px;

  z-index: 9999;

  border-radius: 0 0 8px 0;

}

.skip-link:focus {
  left: 0;
}


/* ============================================================
   BUTTONS
============================================================ */

.btn {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  font-family: var(--font-display);
  font-weight: 600;

  font-size: 15px;

  padding: 13px 26px;

  border-radius: var(--radius-sm);

  border: 1.5px solid transparent;

  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.1s ease;

  line-height: 1.2;

  white-space: nowrap;

}

.btn:active {
  transform: translateY(1px);
}

.btn svg {

  width: 17px;
  height: 17px;

  flex-shrink: 0;

}

.btn-primary {

  background: var(--purple-deep);
  color: var(--white);

}

.btn-primary:hover {
  background: #4d1a4f;
}

.btn-accent {

  background: var(--orange);
  color: var(--white);

}

.btn-accent:hover {
  background: #cc6620;
}

.btn-outline {

  background: transparent;

  color: var(--purple-deep);

  border-color: var(--purple-deep);

}

.btn-outline:hover {
  background: var(--purple-deep-10);
}

.btn-outline-light {

  background: transparent;

  color: var(--white);

  border-color: rgba(255,255,255,0.6);

}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
}

.btn-ghost {

  background: transparent;

  color: var(--purple-primary);

  padding: 13px 8px;

}

.btn-ghost:hover {
  color: var(--purple-deep);
}

.btn-sm {

  padding: 9px 18px;

  font-size: 13.5px;

}

.btn-block {
  width: 100%;
}

.btn:disabled {

  opacity: 0.5;
  cursor: not-allowed;

}


/* ============================================================
   HEADER
============================================================ */

.site-header {

  position: sticky;

  top: 0;

  z-index: 200;

  width: 100%;

  height: var(--header-h);

  background: rgba(255,255,255,0.97);

  backdrop-filter:
    saturate(180%)
    blur(8px);

  border-bottom: 1px solid var(--border-light);

}

.site-header .container {

  height: 100%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

}


/* ------------------------------------------------------------
   BRAND
------------------------------------------------------------ */

.brand {

  display: flex;

  align-items: center;

  gap: 11px;

  flex-shrink: 0;

  color: var(--text-dark);

}

.brand img {

  width: auto;

  height: 38px;

  max-width: 48px;

  object-fit: contain;

}

.brand-name {

  font-family: var(--font-display);

  font-size: 16px;

  font-weight: 600;

  color: var(--purple-primary);

  white-space: nowrap;

}


/* ------------------------------------------------------------
   MAIN NAV
------------------------------------------------------------ */

.main-nav {

  display: flex;

  align-items: center;

  margin-left: auto;

}

.main-nav ul {

  display: flex;

  align-items: center;

  gap: 2px;

}

.main-nav a {

  display: block;

  padding: 10px 14px;

  font-family: var(--font-display);

  font-weight: 500;

  font-size: 15px;

  color: var(--text-dark);

  border-radius: var(--radius-sm);

  transition:
    color 0.15s ease,
    background 0.15s ease;

}

.main-nav a:hover {

  color: var(--purple-deep);

  background: var(--purple-deep-10);

}

.main-nav a.active {

  color: var(--purple-deep);

  font-weight: 600;

}


/* ------------------------------------------------------------
   HEADER ACTIONS
------------------------------------------------------------ */

.header-actions {

  display: flex;

  align-items: center;

  gap: 10px;

  flex-shrink: 0;

}


/* ============================================================
   HAMBURGER
============================================================ */

.hamburger {

  display: flex;

  background: transparent;

  border: none;

  padding: 8px;

  width: 42px;
  height: 42px;

  align-items: center;
  justify-content: center;

  border-radius: var(--radius-sm);

}

.hamburger:hover {

  background: var(--purple-deep-10);

}

.hamburger span {

  display: block;

  width: 22px;
  height: 2px;

  background: var(--text-dark);

  position: relative;

  transition:
    background 0.2s ease;

}

.hamburger span::before,
.hamburger span::after {

  content: "";

  position: absolute;

  left: 0;

  width: 22px;
  height: 2px;

  background: var(--text-dark);

  transition:
    transform 0.2s ease,
    top 0.2s ease;

}

.hamburger span::before {
  top: -7px;
}

.hamburger span::after {
  top: 7px;
}

.hamburger[aria-expanded="true"] span {

  background: transparent;

}

.hamburger[aria-expanded="true"] span::before {

  top: 0;

  transform: rotate(45deg);

}

.hamburger[aria-expanded="true"] span::after {

  top: 0;

  transform: rotate(-45deg);

}


/* ============================================================
   SIDEBAR / MENU
============================================================ */

.mobile-nav {

  position: fixed;

  top: var(--header-h);

  right: 0;

  bottom: 0;

  width: 360px;

  max-width: 92vw;

  background: var(--white);

  z-index: 190;

  overflow-y: auto;

  padding: 0 0 28px;

  box-shadow:
    -12px 0 32px rgba(97,31,99,0.12);

  border-left: 1px solid var(--border-light);

  transform: translateX(105%);

  visibility: hidden;

  transition:
    transform 0.25s ease,
    visibility 0.25s ease;

}

.mobile-nav.open {

  transform: translateX(0);

  visibility: visible;

}


/* ------------------------------------------------------------
   Sidebar header
------------------------------------------------------------ */

.mobile-nav-header {

  padding: 20px 24px;

  border-bottom: 1px solid var(--border-light);

  background: var(--bg-light);

}

.mobile-nav-brand {

  display: flex;

  align-items: center;

  gap: 11px;

}

.mobile-nav-brand img {

  width: auto;

  height: 34px;

  max-width: 44px;

  object-fit: contain;

}

.mobile-nav-brand span {

  font-family: var(--font-display);

  font-size: 15px;

  font-weight: 600;

  color: var(--purple-deep);

}


/* ------------------------------------------------------------
   Sidebar navigation
------------------------------------------------------------ */

.mobile-nav > ul {

  display: flex;

  flex-direction: column;

  padding: 12px 24px;

}

.mobile-nav > ul a {

  display: block;

  padding: 13px 4px;

  font-family: var(--font-display);

  font-weight: 500;

  font-size: 15px;

  color: var(--text-dark);

  border-bottom: 1px solid var(--border-light);

}

.mobile-nav > ul a:hover {

  color: var(--purple-deep);

}

.mobile-nav > ul a.active {

  color: var(--purple-deep);

  font-weight: 600;

}


/* ============================================================
   SIDEBAR PORTALS
============================================================ */

.sidebar-portal-section {

  margin: 12px 24px 0;

  padding-top: 20px;

  border-top: 1px solid var(--border-light);

}

.sidebar-section-title {

  font-family: var(--font-display);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  color: var(--purple-primary);

  margin-bottom: 10px;

}


.sidebar-portal-link {

  display: flex;

  align-items: center;

  gap: 13px;

  padding: 12px;

  margin-bottom: 8px;

  border: 1px solid var(--border-light);

  border-left: 3px solid var(--portal-accent, var(--purple-deep));

  border-radius: var(--radius-md);

  background: var(--white);

  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;

}

.sidebar-portal-link:hover {

  background: var(--bg-light);

  transform: translateX(-2px);

}

.sidebar-portal-link.student {
  --portal-accent: var(--blue);
}

.sidebar-portal-link.school {
  --portal-accent: var(--orange);
}

.sidebar-portal-link.partner {
  --portal-accent: var(--green);
}

.sidebar-portal-link.admin {
  --portal-accent: var(--purple-deep);
}

.sidebar-portal-icon {

  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: var(--radius-sm);

  color: var(--portal-accent);

  background:
    color-mix(
      in srgb,
      var(--portal-accent) 11%,
      white
    );

}

.sidebar-portal-icon svg {

  width: 21px;
  height: 21px;

}

.sidebar-portal-link strong {

  display: block;

  font-family: var(--font-display);

  font-size: 14px;

  font-weight: 600;

  color: var(--text-dark);

}

.sidebar-portal-link small {

  display: block;

  margin-top: 2px;

  font-size: 12px;

  color: var(--text-secondary);

}

.mobile-actions {

  padding: 20px 24px 0;

}


/* ============================================================
   HERO
============================================================ */

.hero {

  position: relative;

  background: var(--bg-light);

  border-bottom: 1px solid var(--border-light);

  padding: 72px 0 88px;

  overflow: hidden;

}

.hero .container {

  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  gap: 56px;

  align-items: center;

}

.hero-copy {

  position: relative;

  z-index: 2;

}

.hero h1 {

  font-size: clamp(34px, 4.6vw, 54px);

  margin-bottom: 20px;

}

.hero h1 .accent {

  color: var(--orange);

}

.hero p.lead {

  font-size: 18px;

  max-width: 520px;

  margin-bottom: 32px;

}

.hero-ctas {

  display: flex;

  gap: 14px;

  flex-wrap: wrap;

}

.hero-badges {

  display: flex;

  gap: 14px;

  margin-top: 28px;

  flex-wrap: wrap;

}

.hero-badge {

  display: flex;

  align-items: center;

  gap: 8px;

  background: var(--white);

  border: 1px solid var(--border-light);

  border-radius: 999px;

  padding: 8px 16px;

  font-size: 13.5px;

  font-weight: 600;

  color: var(--text-dark);

  box-shadow: var(--shadow-sm);

}

.hero-badge .dot {

  width: 8px;
  height: 8px;

  border-radius: 50%;

}

.hero-visual {

  position: relative;

  z-index: 1;

}

.seal-graphic {

  width: 100%;

  max-width: 430px;

  margin: 0 auto;

}


/* ============================================================
   QUICK ACCESS
============================================================ */

.quick-access {

  position: relative;

  z-index: 3;

}


/* ============================================================
   PORTAL CARDS
============================================================ */

.portal-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 22px;

  margin-top: -40px;

  position: relative;

  z-index: 2;

}

.portal-card {

  background: var(--white);

  border: 1px solid var(--border-light);

  border-top: 4px solid
    var(--accent, var(--purple-deep));

  border-radius: var(--radius-lg);

  padding: 30px 26px;

  box-shadow: var(--shadow-md);

  display: flex;

  flex-direction: column;

}

.portal-card.student {
  --accent: var(--blue);
}

.portal-card.school {
  --accent: var(--orange);
}

/* Partner support for other pages */
.portal-card.partner {
  --accent: var(--green);
}

.portal-card.agent {
  --accent: var(--green);
}

.portal-card.admin {
  --accent: var(--purple-deep);
}

.portal-icon {

  width: 52px;
  height: 52px;

  border-radius: var(--radius-md);

  display: flex;

  align-items: center;
  justify-content: center;

  background:
    color-mix(
      in srgb,
      var(--accent) 12%,
      white
    );

  color: var(--accent);

  margin-bottom: 18px;

}

.portal-icon svg {

  width: 26px;
  height: 26px;

}

.portal-card h3 {

  font-size: 19px;

  margin-bottom: 8px;

}

.portal-card p {

  font-size: 14.5px;

  margin-bottom: 20px;

  flex-grow: 1;

}

.portal-card .portal-actions {

  display: flex;

  flex-direction: column;

  gap: 8px;

}

.portal-card .btn-primary {

  background: var(--accent);

}

.portal-card .btn-primary:hover {

  filter: brightness(0.92);

}

.portal-card .btn-outline {

  border-color: var(--accent);

  color: var(--accent);

}

.portal-card .btn-outline:hover {

  background:
    color-mix(
      in srgb,
      var(--accent) 10%,
      white
    );

}


/* ============================================================
   PROCESS TIMELINE
============================================================ */

.timeline {

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 4px;

  counter-reset: step;

}

.timeline-step {

  position: relative;

  padding: 0 16px;

  text-align: center;

}

.timeline-step::before {

  counter-increment: step;

  content: counter(step, decimal-leading-zero);

  display: flex;

  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  margin: 0 auto 18px;

  border-radius: 50%;

  background: var(--purple-deep);

  color: var(--white);

  font-family: var(--font-display);

  font-weight: 700;

  font-size: 15px;

  position: relative;

  z-index: 2;

}

.timeline-step::after {

  content: "";

  position: absolute;

  top: 24px;

  left: calc(-50% + 24px);

  right: calc(50% + 24px);

  height: 2px;

  background: var(--border-light);

  z-index: 1;

}

.timeline-step:first-child::after {

  display: none;

}

.timeline-step h4 {

  font-size: 16.5px;

  margin-bottom: 6px;

}

.timeline-step p {

  font-size: 13.5px;

  margin: 0;

}


/* ============================================================
   GENERIC CARDS
============================================================ */

.card-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 22px;

}

.card-grid.cols-3 {

  grid-template-columns: repeat(3, 1fr);

}

.card-grid.cols-2 {

  grid-template-columns: repeat(2, 1fr);

}

.info-card {

  background: var(--white);

  border: 1px solid var(--border-light);

  border-radius: var(--radius-lg);

  padding: 28px 24px;

  box-shadow: var(--shadow-sm);

}

.info-card .icon-chip {

  width: 46px;
  height: 46px;

  border-radius: var(--radius-sm);

  display: flex;

  align-items: center;
  justify-content: center;

  background: var(--purple-primary-10);

  color: var(--purple-deep);

  margin-bottom: 16px;

}

.info-card .icon-chip svg {

  width: 24px;
  height: 24px;

}

.info-card h4 {

  font-size: 17px;

  margin-bottom: 8px;

}

.info-card p {

  font-size: 14.5px;

  margin: 0;

}


/* ============================================================
   NITOME
============================================================ */

.nitome-section {

  background: var(--purple-deep);

  color: var(--white);

  border-radius: var(--radius-lg);

  padding: 56px;

  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 40px;

  align-items: center;

  position: relative;

  overflow: hidden;

}

.nitome-section::before {

  content: "";

  position: absolute;

  top: -60px;

  right: -60px;

  width: 260px;

  height: 260px;

  border-radius: 50%;

  background: var(--orange);

  opacity: 0.15;

}

.nitome-section > * {

  position: relative;

  z-index: 1;

}

.nitome-tag {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  background: rgba(255,255,255,0.12);

  border: 1px solid rgba(255,255,255,0.25);

  padding: 6px 14px;

  border-radius: 999px;

  font-size: 12.5px;

  font-weight: 600;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  margin-bottom: 10px;

}


/* ------------------------------------------------------------
   NITOME LOGO
------------------------------------------------------------ */

.nitome-logo-wrap {

  display: flex;

  align-items: center;

  min-height: 60px;

  margin: 10px 0 10px;

}

.nitome-logo {

  width: auto;

  max-width: 180px;

  max-height: 70px;

  height: auto;

  object-fit: contain;

  display: block;

}


/* ------------------------------------------------------------
   NITOME TEXT
------------------------------------------------------------ */

.nitome-section h2 {

  color: var(--white);

  font-size: clamp(26px, 3vw, 34px);

}

.nitome-section .sub {

  color: var(--gold);

  font-family: var(--font-display);

  font-weight: 600;

  font-size: 16px;

  margin-bottom: 14px;

}

.nitome-section p {

  color: rgba(255,255,255,0.82);

}

.nitome-list {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 10px;

  margin: 22px 0 28px;

}

.nitome-list li {

  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 14px;

  color: rgba(255,255,255,0.9);

}

.nitome-list li svg {

  width: 16px;
  height: 16px;

  color: var(--gold);

  flex-shrink: 0;

}


/* ------------------------------------------------------------
   NITOME PANEL
------------------------------------------------------------ */

.nitome-panel {

  background: rgba(255,255,255,0.07);

  border: 1px solid rgba(255,255,255,0.18);

  border-radius: var(--radius-md);

  padding: 28px;

}

.nitome-panel .stat {

  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding: 12px 0;

  border-bottom: 1px solid
    rgba(255,255,255,0.14);

}

.nitome-panel .stat:last-child {

  border-bottom: none;

}

.nitome-panel .stat span:first-child {

  color: rgba(255,255,255,0.7);

  font-size: 13.5px;

}

.nitome-panel .stat span:last-child {

  font-family: var(--font-display);

  font-weight: 700;

  color: var(--white);

}


/* ============================================================
   ANNOUNCEMENTS
============================================================ */

.announce-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

}

.announce-card {

  background: var(--white);

  border: 1px solid var(--border-light);

  border-radius: var(--radius-md);

  padding: 24px;

  border-left: 4px solid var(--orange);

}

.announce-date {

  font-size: 12.5px;

  font-weight: 600;

  color: var(--orange);

  letter-spacing: 0.05em;

  text-transform: uppercase;

  margin-bottom: 10px;

}

.announce-card h4 {

  font-size: 16.5px;

  margin-bottom: 8px;

}

.announce-card p {

  font-size: 14px;

  margin-bottom: 16px;

}


/* ============================================================
   FAQ
============================================================ */

.faq-list {

  max-width: 780px;

  margin: 0 auto;

}

.faq-item {

  border-bottom: 1px solid var(--border-light);

}

.faq-question {

  width: 100%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  background: none;

  border: none;

  text-align: left;

  padding: 22px 4px;

  font-family: var(--font-display);

  font-weight: 600;

  font-size: 16px;

  color: var(--text-dark);

}

.faq-question .plus {

  flex-shrink: 0;

  width: 22px;
  height: 22px;

  position: relative;

}

.faq-question .plus::before,
.faq-question .plus::after {

  content: "";

  position: absolute;

  background: var(--purple-deep);

  transition:
    transform 0.2s ease;

}

.faq-question .plus::before {

  top: 50%;
  left: 0;

  width: 100%;
  height: 2px;

  margin-top: -1px;

}

.faq-question .plus::after {

  left: 50%;
  top: 0;

  height: 100%;
  width: 2px;

  margin-left: -1px;

}

.faq-item.open .plus::after {

  transform: rotate(90deg);

  opacity: 0;

}

.faq-answer {

  max-height: 0;

  overflow: hidden;

  transition:
    max-height 0.25s ease;

}

.faq-answer p {

  padding: 0 4px 22px;

  font-size: 15px;

  margin: 0;

}


/* ============================================================
   FOOTER
============================================================ */

.site-footer {

  background: #2A0F2C;

  color: rgba(255,255,255,0.72);

  padding: 64px 0 0;

}

.footer-grid {

  display: grid;

  grid-template-columns:
    1.4fr
    1fr
    1fr
    1fr;

  gap: 40px;

  padding-bottom: 48px;

  border-bottom:
    1px solid rgba(255,255,255,0.1);

}


/* ------------------------------------------------------------
   FOOTER LOGO
------------------------------------------------------------ */

.footer-brand img.footer-logo {

  width: auto;

  height: 42px;

  max-width: 190px;

  object-fit: contain;

  margin-bottom: 14px;

  /*
     Do NOT invert the actual Shrimat logo.
     The logo should remain in its original branding colors.
  */

  filter: none;

  opacity: 1;

}

.footer-brand p {

  color: rgba(255,255,255,0.6);

  font-size: 14px;

  max-width: 280px;

}

.footer-col h5 {

  color: var(--white);

  font-size: 14px;

  letter-spacing: 0.05em;

  text-transform: uppercase;

  margin-bottom: 18px;

}

.footer-col a,
.footer-col p {

  display: block;

  color: rgba(255,255,255,0.65);

  font-size: 14.5px;

  margin-bottom: 12px;

}

.footer-col a:hover {

  color: var(--gold);

}


/* ------------------------------------------------------------
   FOOTER SOCIAL
------------------------------------------------------------ */

.footer-social {

  display: flex;

  gap: 10px;

  margin-top: 16px;

}

.footer-social a {

  width: 36px;
  height: 36px;

  border-radius: 50%;

  border:
    1px solid rgba(255,255,255,0.25);

  display: flex;

  align-items: center;
  justify-content: center;

}

.footer-social svg {

  width: 16px;
  height: 16px;

}

.footer-bottom {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 22px 0;

  font-size: 13px;

  color: rgba(255,255,255,0.5);

  flex-wrap: wrap;

  gap: 10px;

}

.footer-bottom .legal-links {

  display: flex;

  gap: 20px;

}

.footer-bottom a {

  color: rgba(255,255,255,0.5);

}

.footer-bottom a:hover {

  color: var(--gold);

}


/* ============================================================
   INNER PAGE HERO
============================================================ */

.page-hero {

  background: var(--bg-light);

  border-bottom:
    1px solid var(--border-light);

  padding: 56px 0;

  text-align: center;

}

.page-hero .eyebrow {

  justify-content: center;

}

.page-hero h1 {

  font-size: clamp(28px, 3.6vw, 42px);

  margin-bottom: 12px;

}

.page-hero p {

  max-width: 620px;

  margin: 0 auto;

  font-size: 16.5px;

}

.breadcrumb {

  display: flex;

  justify-content: center;

  gap: 8px;

  font-size: 13.5px;

  color: var(--text-secondary);

  margin-bottom: 18px;

}

.breadcrumb a {

  color: var(--text-secondary);

}

.breadcrumb .sep {

  color: var(--border-light);

}

.breadcrumb .current {

  color: var(--purple-deep);

  font-weight: 600;

}


/* ============================================================
   BADGES / STATUS
============================================================ */

.badge {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 5px 12px;

  border-radius: 999px;

  font-size: 12.5px;

  font-weight: 600;

  font-family: var(--font-display);

}

.badge::before {

  content: "";

  width: 7px;
  height: 7px;

  border-radius: 50%;

}

.badge-success {

  background: var(--green-10);

  color: #3f7a2a;

}

.badge-success::before {

  background: var(--green);

}

.badge-pending {

  background: var(--gold-10);

  color: #92700d;

}

.badge-pending::before {

  background: var(--gold);

}

.badge-info {

  background: var(--blue-10);

  color: var(--blue);

}

.badge-info::before {

  background: var(--blue);

}

.badge-muted {

  background: #eee;

  color: var(--text-secondary);

}

.badge-muted::before {

  background: #999;

}


/* ============================================================
   UTILITY
============================================================ */

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.placeholder-note {

  background: var(--gold-10);

  border: 1px dashed var(--gold);

  border-radius: var(--radius-sm);

  padding: 10px 14px;

  font-size: 13px;

  color: #6b5308;

  margin: 12px 0;

}


/* ============================================================
   RESPONSIVE — TABLET / SMALL DESKTOP
============================================================ */

@media (max-width: 1180px) {

  .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .announce-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* ============================================================
   RESPONSIVE — TABLET
============================================================ */

@media (max-width: 960px) {

  :root {
    --header-h: 70px;
  }


  /* Header */

  .main-nav {
    display: none;
  }

  .header-actions .btn-outline {
    display: none;
  }


  /* Hero */

  .hero {
    padding: 58px 0 72px;
  }

  .hero .container {

    grid-template-columns: 1fr;

    gap: 34px;

  }

  .hero-copy {
    text-align: center;
  }

  .hero .eyebrow {
    justify-content: center;
  }

  .hero p.lead {

    max-width: 620px;

    margin-left: auto;
    margin-right: auto;

  }

  .hero-ctas {

    justify-content: center;

  }

  .hero-badges {

    justify-content: center;

  }

  .hero-visual {

    order: -1;

    max-width: 300px;

    width: 100%;

    margin: 0 auto;

  }


  /* Portal */

  .portal-grid {

    margin-top: 28px;

  }


  /* Timeline */

  .timeline {

    grid-template-columns: 1fr;

    gap: 28px;

    text-align: left;

  }

  .timeline-step {

    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 0;

    text-align: left;

  }

  .timeline-step::before {

    margin: 0;

    flex-shrink: 0;

  }

  .timeline-step::after {

    display: none;

  }


  /* NITOME */

  .nitome-section {

    grid-template-columns: 1fr;

    padding: 36px 28px;

  }


  /* Footer */

  .footer-grid {

    grid-template-columns: 1fr 1fr;

    row-gap: 32px;

  }


  /* Dashboard */

  .dash-sidebar {

    position: fixed;

    left: 0;
    top: 0;

    z-index: 300;

    transform: translateX(-100%);

    width: 280px;

  }

  .dash-sidebar.open {

    transform: translateX(0);

    box-shadow: var(--shadow-lg);

  }

  .dash-sidebar-toggle {

    display: flex;

  }

  .dash-content {

    padding: 20px;

  }

}


/* ============================================================
   RESPONSIVE — MOBILE
============================================================ */

@media (max-width: 640px) {

  .container {

    padding-left: 18px;
    padding-right: 18px;

  }

  .section {
    padding: 56px 0;
  }

  .section-tight {
    padding: 40px 0;
  }


  /* Header */

  .brand {
    gap: 8px;
  }

  .brand img {

    height: 34px;

    max-width: 42px;

  }

  .brand-name {

    font-size: 14px;

  }

  .header-actions .btn {

    padding: 10px 14px;

    font-size: 13.5px;

  }


  /* Sidebar */

  .mobile-nav {

    width: 100%;

    max-width: 100%;

  }


  /* Hero */

  .hero {

    padding: 48px 0 56px;

  }

  .hero h1 {

    font-size: 32px;

  }

  .hero p.lead {

    font-size: 16px;

  }

  .hero-visual {

    max-width: 250px;

  }

  .hero-ctas {

    flex-direction: column;

    align-items: stretch;

  }

  .hero-ctas .btn {

    width: 100%;

  }

  .hero-badges {

    gap: 8px;

  }

  .hero-badge {

    font-size: 12.5px;

    padding: 7px 12px;

  }


  /* Portal */

  .portal-grid {

    grid-template-columns: 1fr;

    margin-top: 24px;

  }

  .portal-card {

    padding: 26px 22px;

  }


  /* Generic Cards */

  .card-grid,
  .card-grid.cols-3,
  .card-grid.cols-2 {

    grid-template-columns: 1fr;

  }


  /* Announcements */

  .announce-grid {

    grid-template-columns: 1fr;

  }


  /* NITOME */

  .nitome-section {

    padding: 30px 22px;

  }

  .nitome-logo {

    max-width: 140px;

    max-height: 58px;

  }

  .nitome-list {

    grid-template-columns: 1fr;

  }

  .nitome-panel {

    padding: 20px;

  }


  /* Footer */

  .footer-grid {

    grid-template-columns: 1fr;

    gap: 28px;

  }

  .footer-bottom {

    flex-direction: column;

    align-items: flex-start;

  }

  .footer-bottom .legal-links {

    flex-wrap: wrap;

    gap: 10px 18px;

  }


  /* Dashboard */

  .dash-topbar {

    padding: 0 16px;

  }

  .dash-topbar .page-title p {

    display: none;

  }

  .user-chip .name,
  .user-chip .role {

    display: none;

  }


  /* Tables */

  .table-toolbar {

    flex-direction: column;

    align-items: stretch;

  }

  .table-search {

    max-width: none;

  }

  .data-table.stack-mobile thead {

    display: none;

  }

  .data-table.stack-mobile,
  .data-table.stack-mobile tbody,
  .data-table.stack-mobile tr,
  .data-table.stack-mobile td {

    display: block;

    width: 100%;

  }

  .data-table.stack-mobile {

    min-width: 0;

  }

  .data-table.stack-mobile tr {

    border:
      1px solid var(--border-light);

    border-radius: var(--radius-sm);

    margin-bottom: 12px;

    padding: 6px 14px;

  }

  .data-table.stack-mobile td {

    border-bottom:
      1px solid var(--border-light);

    padding: 10px 0;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 12px;

  }

  .data-table.stack-mobile td:last-child {

    border-bottom: none;

  }

  .data-table.stack-mobile td::before {

    content: attr(data-label);

    font-family: var(--font-display);

    font-weight: 600;

    font-size: 12px;

    color: var(--text-secondary);

  }

}


/* ============================================================
   RESPONSIVE — VERY SMALL
============================================================ */

@media (max-width: 360px) {

  .brand-name {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 14px;
  }

}


/* ============================================================
   PRINT
============================================================ */

@media print {

  .site-header,
  .site-footer,
  .mobile-nav,
  .dash-sidebar,
  .dash-topbar {

    display: none;

  }

}