/* ===== OCTOPUS – Global Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Public+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* ── CSS Variables ── */
:root {
  --primary:           #00366e;
  --primary-container: #004c97;
  --secondary:         #355f97;
  --tertiary:          #26374b;
  --teal:              #0eb1a9;
  --teal-dark:         #0c968f;
  --bg:                #f0fbfe;
  --surface:           #ffffff;
  --surface-low:       #e8f4f8;
  --surface-high:      #d9e4e7;
  --on-surface:        #131d20;
  --on-surface-var:    #424751;
  --outline:           #737782;
  --error:             #ba1a1a;

  --font-serif:  'Newsreader', Georgia, serif;
  --font-sans:   'Public Sans', system-ui, sans-serif;

  --radius-sm:   0.25rem;
  --radius-md:   0.5rem;
  --radius-lg:   1rem;
  --radius-full: 9999px;

  --shadow-card: 0 2px 8px rgba(0,54,110,.10);
  --shadow-amb:  0 4px 20px rgba(0,54,110,.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--on-surface);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-sans); }

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-family: var(--font-serif); font-weight: 700; line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p  { color: var(--on-surface-var); }

/* ── Material Icons ── */
.icon { font-family: 'Material Symbols Outlined'; font-style: normal; font-weight: normal;
        font-size: 1.4rem; line-height: 1; vertical-align: middle;
        font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }
.icon-filled { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240,251,254,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-high);
  padding: 0 1.5rem;
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  background: var(--primary); display: flex; align-items: center; justify-content: center;
}
.logo-mark .icon { color: #fff; font-size: 1.2rem; }
.logo-text { font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; color: var(--primary); }
.logo-sub  { font-size: 0.6rem; color: var(--teal); font-weight: 600; letter-spacing: 0.05em; display: block; line-height: 1; }

.nav { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav a {
  padding: 0.4rem 0.75rem; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 500; color: var(--on-surface-var);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { background: var(--surface-low); color: var(--primary); }

.header-cta {
  display: flex; gap: 0.5rem; margin-left: 0.75rem; flex-shrink: 0;
}
.btn { display: inline-flex; align-items: center; gap: 0.4rem;
       padding: 0.5rem 1.2rem; border-radius: var(--radius-full);
       font-size: 0.85rem; font-weight: 600; border: none;
       transition: all .2s; }
.btn-primary   { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-container); }
.btn-outline   { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--surface-low); }
.btn-teal      { background: var(--teal); color: #fff; }
.btn-teal:hover{ background: var(--teal-dark); }
.btn-ghost     { background: transparent; color: var(--primary); }
.btn-ghost:hover{ background: var(--surface-low); }
.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: 0.3rem 0.85rem; font-size: 0.78rem; }

/* hamburger */
.hamburger { display: none; background: none; border: none; padding: 0.4rem; }
.hamburger .icon { font-size: 1.6rem; color: var(--primary); }

/* ── Footer ── */
.footer {
  background: var(--primary); color: rgba(255,255,255,.75);
  margin-top: auto; padding: 3rem 1.5rem 1.5rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-brand .logo-text  { color: #fff; }
.footer-brand .logo-sub   { color: var(--teal); }
.footer-brand p { margin-top: 0.75rem; font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-col h4 { font-family: var(--font-sans); font-weight: 600; font-size: 0.8rem;
                 letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
                 margin-bottom: 0.75rem; }
.footer-col a  { display: block; font-size: 0.85rem; color: rgba(255,255,255,.65);
                 padding: 0.2rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center;
                 padding-top: 1.25rem; font-size: 0.78rem; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 0.5rem; }

/* ── Page Container ── */
.page { flex: 1; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 60%, var(--secondary) 100%);
  color: #fff; padding: 5rem 1.5rem; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(14,177,169,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p  { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.badge-pill {
  display: inline-block; background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-full);
  padding: 0.25rem 0.85rem; font-size: 0.78rem; font-weight: 600; margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

/* ── Cards ── */
.card {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-amb); }
.card-body { padding: 1.5rem; }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--surface-low); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon .icon { color: var(--primary); font-size: 1.5rem; }
.card-icon.teal { background: rgba(14,177,169,.12); }
.card-icon.teal .icon { color: var(--teal); }

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1.25rem; }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header .eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem;
}
.section-header h2 { margin-bottom: 0.6rem; }
.section-header p  { max-width: 580px; margin: 0 auto; }

/* ── Tag / Badge ── */
.tag {
  display: inline-block; padding: 0.2rem 0.65rem; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 600; border: 1px solid transparent;
}
.tag-blue   { background: rgba(0,54,110,.08);  color: var(--primary); border-color: rgba(0,54,110,.2); }
.tag-teal   { background: rgba(14,177,169,.1); color: var(--teal-dark); border-color: rgba(14,177,169,.25); }
.tag-gray   { background: var(--surface-low);  color: var(--on-surface-var); border-color: var(--surface-high); }
.tag-green  { background: rgba(22,163,74,.09); color: #166534; border-color: rgba(22,163,74,.25); }
.tag-orange { background: rgba(234,88,12,.09); color: #9a3412; border-color: rgba(234,88,12,.25); }

/* ── Bento Grid ── */
.bento { display: grid; gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto; }
.bento-item {
  background: var(--surface); border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s;
  overflow: hidden; position: relative;
}
.bento-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-amb); }
.bento-item.span-4  { grid-column: span 4; }
.bento-item.span-6  { grid-column: span 6; }
.bento-item.span-8  { grid-column: span 8; }
.bento-item.span-12 { grid-column: span 12; }
.bento-item.dark { background: var(--primary); color: #fff; }
.bento-item.dark h3 { color: #fff; }
.bento-item.dark p  { color: rgba(255,255,255,.7); }
.bento-item.teal-bg { background: var(--teal); color: #fff; }
.bento-item.teal-bg h3 { color: #fff; }

/* ── Stats ── */
.stats-row { display: flex; gap: 2rem; flex-wrap: wrap; margin: 2rem 0; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--on-surface-var); font-weight: 500; margin-top: 0.25rem; }

/* ── Form ── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--on-surface); margin-bottom: 0.4rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--surface-high);
  border-radius: var(--radius-md);
  font-family: var(--font-sans); font-size: 0.9rem; color: var(--on-surface);
  background: var(--surface); transition: border-color .2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--teal); }
.form-textarea { min-height: 120px; resize: vertical; }

/* ── Page Banner ── */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 3.5rem 1.5rem 2.5rem; color: #fff;
}
.page-banner h1 { color: #fff; margin-bottom: 0.5rem; }
.page-banner p  { color: rgba(255,255,255,.75); max-width: 540px; }

/* ── Table ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 0.78rem; font-weight: 700; color: var(--on-surface-var);
     letter-spacing: 0.06em; text-transform: uppercase; padding: 0.75rem 1rem;
     background: var(--surface-low); border-bottom: 1px solid var(--surface-high); }
td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--surface-high); font-size: 0.88rem; }
tr:hover td { background: rgba(240,251,254,.6); }

/* ── Sidebar layout ── */
.sidebar-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.sidebar-nav { background: var(--surface); border-radius: var(--radius-lg); padding: 1rem;
               box-shadow: var(--shadow-card); position: sticky; top: 80px; }
.sidebar-nav a { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.75rem;
                 border-radius: var(--radius-md); font-size: 0.88rem; font-weight: 500;
                 color: var(--on-surface-var); transition: background .15s, color .15s; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--surface-low); color: var(--primary); }
.sidebar-nav a .icon { font-size: 1.2rem; }

/* ── Chat ── */
.chat-wrap { display: flex; flex-direction: column; height: calc(100vh - 200px); max-height: 680px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.chat-bubble { max-width: 72%; padding: 0.75rem 1rem; border-radius: 1rem; font-size: 0.9rem; line-height: 1.55; }
.chat-bubble.user { background: var(--primary); color: #fff; border-bottom-right-radius: 0.25rem; align-self: flex-end; }
.chat-bubble.bot  { background: var(--surface); box-shadow: var(--shadow-card); border-bottom-left-radius: 0.25rem; align-self: flex-start; }
.chat-input-row { display: flex; gap: 0.6rem; padding: 1rem; border-top: 1px solid var(--surface-high); background: var(--surface); }
.chat-input { flex: 1; padding: 0.65rem 1rem; border-radius: var(--radius-full); border: 1.5px solid var(--surface-high);
              font-size: 0.9rem; font-family: var(--font-sans); outline: none; }
.chat-input:focus { border-color: var(--teal); }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--outline); margin-bottom: 1.25rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--outline); }

/* ── Mobile nav overlay ── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(19,29,32,.5); backdrop-filter: blur(4px);
}
.mobile-nav.open { display: flex; }
.mobile-nav-panel {
  background: var(--surface); width: 280px; height: 100%; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.25rem; overflow-y: auto;
}
.mobile-nav-panel .logo { margin-bottom: 1rem; }
.mobile-nav-panel a { display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.75rem;
                      border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 500;
                      color: var(--on-surface-var); transition: background .15s; }
.mobile-nav-panel a:hover { background: var(--surface-low); color: var(--primary); }
.mobile-nav-close { align-self: flex-end; background: none; border: none; padding: 0.25rem; }
.mobile-nav-close .icon { font-size: 1.6rem; color: var(--on-surface-var); }

/* ── Workshop / Internship card extras ── */
.w-card-img { height: 160px; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
              display: flex; align-items: center; justify-content: center; }
.w-card-img .icon { font-size: 3rem; color: rgba(255,255,255,.5); }
.card-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0; }
.card-footer { display: flex; justify-content: space-between; align-items: center;
               margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--surface-high); }

/* ── Assessment card ── */
.assess-bar { height: 4px; background: var(--surface-high); border-radius: 2px; margin-top: 0.75rem; overflow: hidden; }
.assess-bar-fill { height: 100%; background: var(--teal); border-radius: 2px; }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content:''; position:absolute; left:0.5rem; top:0; bottom:0; width:2px; background: var(--surface-high); }
.timeline-item { position: relative; margin-bottom: 1.5rem; }
.timeline-dot { position:absolute; left:-1.65rem; top:0.15rem; width:12px; height:12px;
                border-radius: 50%; background: var(--teal); border: 2px solid var(--bg); }

/* ── Dashboard stat card ── */
.dash-stat { background: var(--surface); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
             box-shadow: var(--shadow-card); display: flex; align-items: flex-start; gap: 1rem; }
.dash-stat-icon { width: 44px; height: 44px; border-radius: var(--radius-md); flex-shrink: 0;
                  display: flex; align-items: center; justify-content: center; }
.dash-stat-icon.blue { background: rgba(0,54,110,.1); }
.dash-stat-icon.blue .icon { color: var(--primary); }
.dash-stat-icon.teal { background: rgba(14,177,169,.12); }
.dash-stat-icon.teal .icon { color: var(--teal); }
.dash-stat-icon.green { background: rgba(22,163,74,.1); }
.dash-stat-icon.green .icon { color: #166534; }
.dash-stat-icon.orange { background: rgba(234,88,12,.1); }
.dash-stat-icon.orange .icon { color: #9a3412; }
.dash-stat-num { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: var(--primary); line-height: 1; }
.dash-stat-label { font-size: 0.8rem; color: var(--on-surface-var); margin-top: 0.2rem; }

/* ── Status chips ── */
.status { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.65rem;
          border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 700; }
.status::before { content:''; width:6px; height:6px; border-radius: 50%; flex-shrink: 0; }
.status-pending  { background: rgba(217,119,6,.1);  color: #92400e; }
.status-pending::before { background: #d97706; }
.status-confirmed{ background: rgba(14,177,169,.1); color: #065f46; }
.status-confirmed::before{ background: var(--teal); }
.status-accepted { background: rgba(22,163,74,.1);  color: #166534; }
.status-accepted::before { background: #16a34a; }
.status-rejected { background: rgba(186,26,26,.1);  color: var(--error); }
.status-rejected::before { background: var(--error); }
.status-completed{ background: rgba(0,54,110,.1);   color: var(--primary); }
.status-completed::before{ background: var(--primary); }

/* ── Alert ── */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-md); border-left: 4px solid; font-size: 0.88rem; }
.alert-info  { background: rgba(14,177,169,.08); border-color: var(--teal); color: #065f46; }
.alert-blue  { background: rgba(0,54,110,.07); border-color: var(--primary); color: var(--primary); }
.alert-warn  { background: rgba(217,119,6,.08); border-color: #d97706; color: #92400e; }

/* ── Counselor card ── */
.counselor-card { display: flex; gap: 1rem; align-items: flex-start; }
.counselor-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--primary);
                    display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.counselor-avatar .icon { color: #fff; font-size: 1.75rem; }
.counselor-avatar.teal { background: var(--teal); }

/* ── Services Wheel ── */
.services-wheel-section { background: var(--primary); padding: 4rem 1.5rem; }
.services-wheel-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.wheel-text h2 { color: #fff; margin-bottom: 1rem; }
.wheel-text p  { color: rgba(255,255,255,.7); margin-bottom: 1.5rem; }
.wheel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.wheel-item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
              border-radius: var(--radius-lg); padding: 1.25rem; transition: background .2s; cursor: pointer; }
.wheel-item:hover { background: rgba(255,255,255,.15); }
.wheel-item .icon { color: var(--teal); font-size: 1.6rem; display: block; margin-bottom: 0.5rem; }
.wheel-item h4 { font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; color: #fff; margin-bottom: 0.25rem; }
.wheel-item p  { color: rgba(255,255,255,.6); font-size: 0.78rem; }

/* ── Contact icons ── */
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-icon { width: 44px; height: 44px; background: rgba(14,177,169,.12); border-radius: var(--radius-md);
                     display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon .icon { color: var(--teal); }

/* ── Research card ── */
.research-tag { display: inline-block; background: rgba(0,54,110,.08); color: var(--primary);
                border-radius: var(--radius-sm); padding: 0.15rem 0.5rem; font-size: 0.72rem; font-weight: 600; }

/* ── Sticky note / coming soon ── */
.coming-soon-wrap { text-align: center; padding: 4rem 1rem; }
.coming-soon-icon { font-size: 4rem; color: var(--surface-high); margin-bottom: 1rem; }

/* ── Accordion ── */
.accordion-item { border-bottom: 1px solid var(--surface-high); }
.accordion-btn { width: 100%; display: flex; justify-content: space-between; align-items: center;
                 background: none; border: none; padding: 1rem 0; font-size: 0.95rem; font-weight: 600;
                 color: var(--on-surface); text-align: left; }
.accordion-btn .icon { transition: transform .25s; }
.accordion-btn.open .icon { transform: rotate(180deg); }
.accordion-panel { display: none; padding: 0 0 1rem; font-size: 0.88rem; color: var(--on-surface-var); line-height: 1.7; }
.accordion-panel.open { display: block; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .bento-item.span-4 { grid-column: span 6; }
  .bento-item.span-8 { grid-column: span 12; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar-nav { position: static; }
  .services-wheel-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: block; margin-left: auto; }
  .bento-item.span-4, .bento-item.span-6, .bento-item.span-8 { grid-column: span 12; }
  .wheel-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .stats-row { justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { padding: 3.5rem 1rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
}
