/* ========================================
   GUAM – İstanbul Topkapı Üniversitesi
   Girişimcilik Uygulama ve Araştırma Merkezi
   ======================================== */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../assets/fonts/newsreader-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../assets/fonts/newsreader-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/hanken-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/hanken-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* İstanbul Topkapı Üniversitesi kurumsal renkleri */
  --primary: #8c2131;
  --primary-dark: #651824;
  --primary-light: #a03042;
  --accent: var(--primary);
  --accent-dark: var(--primary-dark);
  --bg-light: #f6f1ec;
  --bg-white: #ffffff;
  --text-dark: #241d1c;
  --text-body: #3d3432;
  --text-muted: #695e59;
  --border-color: #e5d9d2;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 6px;
  --radius-lg: 10px;
  --transition: 0.3s ease;
  --max-width: 1280px;
  --page-gutter: clamp(20px, 4.5vw, 64px);
  --header-height: 80px;
  --font-display: 'Newsreader', Georgia, serif;
  --font-text: 'Hanken Grotesk', 'Segoe UI', sans-serif;
  --display-weight: 400;
  --display-tracking: -0.035em;
  --ink: var(--text-dark);
  --bg: var(--bg-white);
  --t-h2: clamp(2.25rem, 4.5vw, 4.25rem);
  --ease: ease-out;
  --font-family: var(--font-text);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: var(--font-family);
  color: var(--text-body);
  line-height: 1.6;
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}

/* ========== HEADER & NAV ========== */
.site-header {
  background: var(--bg-white);
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.home-page .site-header {
  position: fixed;
  inset-inline: 0;
}

.header-main {
  width: min(var(--max-width), calc(100% - 2 * var(--page-gutter)));
  min-height: calc(var(--header-height) - 4px);
  margin-inline: auto;
  padding-block: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.logo-area {
  display: flex;
  align-items: center;
  min-height: 44px;
  flex: none;
}

.site-logo {
  display: block;
  width: clamp(108px, 15vw, 154px);
  flex: none;
}

.site-brand .center-name {
  max-width: 195px;
  border-left: 1px solid var(--border-color);
  padding-left: 16px;
  color: var(--text-dark);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.25;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  color: var(--primary);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
}

.nav-toggle-icon {
  width: 14px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 -4px currentColor, 0 4px currentColor;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-group {
  position: relative;
}

.main-nav a,
.nav-group summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-group summary {
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  cursor: pointer;
}

.nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-group summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin: -3px 2px 0 0;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.nav-group[open] summary::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.nav-group summary:hover,
.nav-group .nav-current,
.nav-group[open] summary,
.nav-toggle[aria-expanded="true"] {
  color: var(--primary);
  background: var(--bg-light);
}

.site-header :focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: max-content;
  min-width: 208px;
  padding: 6px;
  list-style: none;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(46, 25, 22, 0.09);
}

.main-nav .nav-cta {
  justify-content: center;
  margin-left: 8px;
  padding-inline: 18px;
  background: var(--primary);
  color: var(--bg-white);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta[aria-current="page"] {
  background: var(--primary-dark);
  color: var(--bg-white);
}

/* ========== PAGE LAYOUT ========== */
.wrap {
  width: min(var(--max-width), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}

.container {
  padding-inline: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: max(var(--page-gutter), calc((100% - var(--max-width)) / 2));
  z-index: 1001;
  transform: translateY(-200%);
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: none;
  color: #fff;
  outline: 2px solid var(--text-dark);
  outline-offset: 2px;
}

.skip-link::before {
  content: "↓";
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.home-hero {
  --bg: var(--bg-light);
  background: var(--bg);
}

.hero-layout {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding-block: calc(var(--header-height) + clamp(32px, 5vh, 56px)) clamp(32px, 5vh, 56px);
}

.hero-content {
  text-align: center;
}

.hero h1,
main h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
}

.home-hero h1 {
  max-width: 15ch;
  margin-inline: auto;
  color: var(--primary);
  font-size: clamp(4rem, 6.3vw, 6.75rem);
  line-height: 0.97;
}

.hero-content p {
  max-width: 52ch;
  margin-inline: auto;
  margin-top: 24px;
  font-size: clamp(1rem, 1.36vw, 1.19rem);
  text-wrap: pretty;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 650 1rem/1.3 var(--font-text);
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-outline, .btn-outline-dark {
  border-color: currentColor;
  color: var(--primary);
}

.btn-outline:hover, .btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.section {
  padding-block: clamp(42px, 6vw, 88px);
}

.section-alt {
  --bg: var(--bg-light);
  background: var(--bg);
}

.section + .section {
  border-top: 1px solid var(--border-color);
}

.page-header {
  --bg: var(--bg-light);
  background: var(--bg);
  padding-block: clamp(56px, 8vw, 114px) clamp(52px, 7vw, 94px);
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  max-width: 19ch;
  color: var(--primary);
  font-size: clamp(2.8rem, 6.2vw, 6rem);
  line-height: 1;
  text-wrap: initial;
  overflow-wrap: anywhere;
}

.page-header p {
  max-width: 60ch;
  margin-top: 14px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

main h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.08;
  text-wrap: pretty;
}

.section > .container > p:not([class]) {
  max-width: 72ch;
}

.home-intro {
  display: grid;
  align-items: start;
  min-height: 100svh;
  padding-block-start: max(120px, 17svh);
}

.intro-box {
  border-top: 1px solid var(--border-color);
  padding-top: clamp(24px, 4vw, 60px);
}

.intro-box p {
  max-width: 74ch;
  font-size: clamp(1.05rem, 1.65vw, 1.3rem);
}

.intro-box .intro-lead {
  margin-bottom: 24px;
  max-width: 30ch;
  color: var(--text-dark);
  font: var(--display-weight) var(--t-h2)/1.1 var(--font-display);
  letter-spacing: var(--display-tracking);
}

[data-moment="word-highlight"] {
  --ink: var(--primary);
  --accent: var(--primary);
}

[data-moment="word-highlight"].mo-wh .mo-w:not(.is-on) {
  color: #725759;
}

@media (prefers-reduced-motion: reduce) {
  [data-moment="word-highlight"].mo-wh .mo-w:not(.is-on) {
    color: var(--ink);
  }
}

/* ========== CARDS ========== */
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border-color);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ========== TABLES ========== */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--bg-white);
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.data-table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: none;
  position: sticky;
  top: 0;
}

.data-table tbody tr:hover {
  background: var(--bg-light);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* ========== ACCORDION / FAQ ========== */
.accordion-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family);
  transition: background var(--transition);
}

.accordion-header:hover {
  background: var(--bg-light);
}

.accordion-header .icon {
  font-size: 1.2rem;
  transition: transform var(--transition);
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 16px;
}

.accordion-item.open .accordion-header .icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body-inner {
  padding: 0 24px 20px;
  color: var(--text-body);
  line-height: 1.8;
}

.accordion-item.open .accordion-body {
  max-height: 500px;
}

/* ========== RULES TABLE (Bilmeniz Gerekenler) ========== */
.rules-list .rule-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.rules-list .rule-item:last-child {
  border-bottom: none;
}

.rule-label {
  min-width: 180px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.rule-text {
  flex: 1;
  line-height: 1.8;
}

/* ========== TIMELINE (12-week) ========== */
.timeline-table {
  width: 100%;
}

/* ========== STEPS ========== */
.steps-list {
  counter-reset: step-counter;
  list-style: none;
}

.steps-list li {
  counter-increment: step-counter;
  padding: 20px 0 20px 70px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.steps-list li:last-child {
  border-bottom: none;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 20px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ========== CRITERIA ========== */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.criteria-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 3px solid var(--primary);
}

.criteria-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary);
}

/* ========== FORM ========== */
.form-container {
  max-width: 860px;
  margin: 0 auto;
}

.application-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  text-align: center;
}

.application-placeholder p {
  margin: 8px auto 0;
}

.form-section {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.form-section-title {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group label .required {
  color: var(--accent);
  margin-left: 2px;
}

.form-group label .optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 4px;
}

.form-group .help-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-family);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--bg-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(140,33,49,0.16);
}

.form-control.error {
  border-color: var(--accent);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.radio-group, .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-group label, .checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
}

.radio-group input, .checkbox-group input {
  margin-top: 4px;
  flex-shrink: 0;
}

.error-message {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .error-message {
  display: block;
}

.form-group.has-error .form-control {
  border-color: var(--accent);
}

/* Team member repeating group */
.team-member-entry {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
}

.team-member-entry h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.btn-remove-member {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 1.3rem;
  padding: 4px 8px;
  border-radius: 4px;
}

.btn-remove-member:hover {
  background: rgba(140,33,49,0.1);
}

.btn-add-member {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-light);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.btn-add-member:hover {
  border-color: var(--primary);
  background: var(--bg-white);
}

/* Word count indicator */
.word-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.word-count.over-limit {
  color: var(--accent);
  font-weight: 600;
}

/* Submit area */
.form-submit {
  text-align: center;
  padding: 32px 0;
}

.form-submit .btn {
  width: min(100%, 300px);
  font-size: 1.05rem;
  padding: 14px 20px;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  text-align: center;
  margin-top: 40px;
}

.cta-banner h2 {
  margin-bottom: 16px;
  font-size: 1.6rem;
}

.site-footer a:focus-visible {
  outline-color: var(--bg-white);
}

/* ========== FOOTER ========== */
.site-footer {
  background: #3e1720;
  color: #f0e4e2;
  padding: clamp(44px, 6vw, 82px) 0 0;
}

.home-page .site-footer {
  display: flex;
  min-height: 100svh;
  padding-block: max(138px, 22svh) max(72px, 9svh);
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.home-page .footer-wrap {
  justify-content: center;
  gap: clamp(32px, 6svh, 56px);
}

.home-page .footer-about h2 {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-about h2 {
  color: #fff;
  font: 400 clamp(3rem, 6vw, 5rem)/0.95 var(--font-display);
  letter-spacing: var(--display-tracking);
  margin-bottom: 16px;
}

.footer-about p {
  max-width: 38ch;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-links a {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  color: #f0e4e2;
  padding: 6px 0;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

.footer-about a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ========== CONTACT ========== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(16px, 3vw, 28px);
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== DESTEK PROGRAMLARI ========== */
.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.support-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 3px solid var(--primary);
  transition: all var(--transition);
}

.support-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.support-card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.support-card .target {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--bg-light);
  border-radius: 4px;
}

.support-card .link-info {
  font-size: 0.9rem;
  color: var(--primary-light);
  font-weight: 600;
}

/* ========== PHOTO PLACEHOLDER ========== */
.photo-placeholder {
  background: var(--bg-light);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  margin: 24px 0;
}

/* ========== NOTIFICATION ========== */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 10000;
  transform: translateX(120%);
  transition: transform 0.4s ease;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.notification.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.notification.info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* ========== LOADING OVERLAY ========== */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 992px) {
  .header-main {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-header:not(.nav-ready),
  .home-page .site-header:not(.nav-ready) {
    position: static;
  }

  .home-page:has(.site-header:not(.nav-ready)) .hero-layout {
    padding-top: 28px;
  }

  .nav-ready .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-ready .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    padding: 12px var(--page-gutter) 16px;
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
  }

  .nav-ready .main-nav.open {
    display: flex;
  }

  .nav-submenu {
    position: static;
    width: auto;
    margin-left: 12px;
    padding: 2px 0 2px 8px;
    border: 0;
    border-left: 2px solid var(--border-color);
    border-radius: 0;
    box-shadow: none;
  }

  .main-nav .nav-cta {
    margin: 8px 0 0;
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero-layout {
    padding-block: calc(var(--header-height) + 28px) 24px;
  }

  .home-hero h1 {
    font-size: clamp(2.8rem, 10vw, 5.2rem);
  }

  .hero-content p {
    margin-top: 14px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 18px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .support-cards {
    grid-template-columns: 1fr;
  }

  .form-section {
    padding: 20px;
  }

  .data-table {
    font-size: 0.85rem;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
  }

  /* Rules list stacks vertically on mobile */
  .rules-list .rule-item {
    flex-direction: column;
    gap: 4px;
  }

  .rule-label {
    min-width: unset;
    font-size: 0.95rem;
  }

  .steps-list li {
    padding-left: 56px;
  }

  .steps-list li::before {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }


}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .header-main {
    gap: 8px;
    min-height: calc(var(--header-height) - 4px);
  }

  .site-brand {
    gap: 8px;
    flex: 1;
  }

  .site-brand .center-name {
    padding-left: 8px;
    font-size: 0.75rem;
    overflow-wrap: break-word;
  }

  .nav-toggle {
    padding-inline: 8px;
  }

  .site-logo {
    width: clamp(85px, 28vw, 120px);
  }

  .page-header h1 {
    font-size: clamp(2.55rem, 11vw, 3.4rem);
  }
}

@media (max-width: 350px) {
  .hero-layout {
    padding-top: calc(var(--header-height) + 24px);
  }

}

/* ========== PRINT ========== */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .hero-buttons,
  .cta-banner,
  .btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}

/* ========== MENTOR PAGE ========== */
.mentor-info-list {
  list-style: none;
  padding: 0;
}

.mentor-info-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.mentor-info-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ========== EVENT CALENDAR NOTE ========== */
.calendar-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: #856404;
}
