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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================
   Header
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-main {
  font-size: 1rem;
  font-weight: 700;
  color: #00509e;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.logo-sub {
  font-size: 0.625rem;
  color: #888;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00509e;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #00509e;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================
   Hero
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #00509e 0%, #003366 40%, #1a1a2e 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><defs><radialGradient id="a" cx="50%25" cy="50%25" r="50%25"><stop offset="0%25" stop-color="%23fff" stop-opacity="0.05"/><stop offset="100%25" stop-color="%23fff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="300" r="400" fill="url(%23a)"/><circle cx="1200" cy="600" r="350" fill="url(%23a)"/></svg>') center/cover no-repeat;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero-btn:hover {
  background: #fff;
  color: #00509e;
}

/* ===================================
   Sections (common)
   =================================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #00509e;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.05em;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #00509e;
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===================================
   Philosophy
   =================================== */
.philosophy {
  background: #fff;
}

.philosophy-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.philosophy-mission,
.philosophy-vision {
  background: #f8faff;
  border-radius: 12px;
  padding: 36px;
  border-left: 4px solid #00509e;
}

.philosophy-mission h3,
.philosophy-vision h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00509e;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

/* Philosophy statement (ver2) */
.philosophy-statement {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}

.philosophy-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: #222;
  line-height: 2;
  margin-bottom: 20px;
}

.philosophy-sub {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.9;
}

/* Message block (理事長メッセージ) */
.message-block {
  max-width: 760px;
  margin: 0 auto;
  background: #f8faff;
  border-radius: 12px;
  padding: 40px 36px;
  border-left: 4px solid #00509e;
}

.message-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00509e;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.message-body p {
  font-size: 0.9rem;
  color: #444;
  line-height: 2;
  margin-bottom: 12px;
}

.message-body p:last-child {
  margin-bottom: 0;
}

.message-sign {
  margin-top: 24px;
  font-size: 0.85rem;
  color: #666;
  text-align: right;
  line-height: 1.6;
}

/* Nav cards (主要導線) */
.nav-cards-section {
  background: #f7f9fc;
}

.nav-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.nav-card {
  display: block;
  background: #fff;
  border: 1px solid #e0e8f0;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 80, 158, 0.12);
}

.nav-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: #00509e;
}

.nav-card-icon svg {
  width: 100%;
  height: 100%;
}

.nav-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.nav-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 16px;
}

.nav-card-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: #00509e;
}

/* Kaya (広報誌) */
.kaya-section {
  background: #fff;
}

.kaya-card {
  max-width: 700px;
  margin: 0 auto;
  background: #f8faff;
  border-radius: 12px;
  padding: 40px 36px;
  text-align: center;
  border: 1px solid #e0e8f0;
}

.kaya-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00509e;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.kaya-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  line-height: 1.6;
  margin-bottom: 16px;
}

.kaya-card-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 24px;
}

.kaya-card-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.kaya-card-topics span {
  font-size: 0.75rem;
  color: #00509e;
  background: #e8f0fe;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* About services link */
.about-services-link {
  text-align: center;
  margin-top: 32px;
}

.about-services-link a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #00509e;
  transition: opacity 0.3s;
}

.about-services-link a:hover {
  opacity: 0.7;
}

/* Research theme cards */
.research-themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.research-theme-card {
  background: #fff;
  border: 1px solid #e0e8f0;
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.research-theme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 80, 158, 0.1);
}

.research-theme-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00509e;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.research-theme-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  line-height: 1.5;
}

.research-theme-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.85;
}

/* Last card centered when 7 items in 3-column grid */
.research-themes-grid .research-theme-card:last-child {
  grid-column: 2 / 3;
}

/* Scholarship page */
.scholarship-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.scholarship-intro p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
}

.scholarship-body {
  max-width: 800px;
  margin: 0 auto;
}

.scholarship-body p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
}

.scholarship-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.scholarship-card {
  background: #fff;
  border: 1px solid #e0e8f0;
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scholarship-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 80, 158, 0.1);
}

.scholarship-card-icon {
  width: 48px;
  height: 48px;
  color: #00509e;
  margin: 0 auto 16px;
}

.scholarship-card-icon svg {
  width: 100%;
  height: 100%;
}

.scholarship-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.6;
}

.scholarship-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scholarship-list li {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  padding-left: 22px;
  position: relative;
}

.scholarship-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00509e;
}

.scholarship-relation {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.scholarship-relation p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 24px;
}

.scholarship-link {
  display: inline-block;
  padding: 14px 40px;
  background: #00509e;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 50px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.scholarship-link:hover {
  background: #003d7a;
  transform: translateY(-2px);
}

/* Whitepaper volume card */
.wp-volume {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e0e8f0;
  border-radius: 12px;
  padding: 40px 36px;
  text-align: center;
}

.wp-volume-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00509e;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.wp-volume h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  line-height: 1.6;
}

.philosophy-mission p,
.philosophy-vision p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
}

.values-heading {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 36px;
  letter-spacing: 0.05em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 80, 158, 0.1);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: #00509e;
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.8;
}

/* Last two value cards centered */
.values-grid .value-card:nth-child(4) {
  grid-column: 1 / 2;
}

.values-grid .value-card:nth-child(5) {
  grid-column: 2 / 3;
}

/* ===================================
   Services
   =================================== */
.services {
  background: #f7f9fc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 80, 158, 0.12);
}

.service-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-img svg {
  width: 64px;
  height: 64px;
  opacity: 0.9;
}

.service-card-body {
  padding: 28px 24px;
}

.service-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  line-height: 1.5;
}

.service-card-body p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 500;
  color: #00509e;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #003d7a;
}

/* Fourth card spans or starts fresh row */
.services-grid .service-card:nth-child(4) {
  grid-column: 2 / 3;
}

/* ===================================
   Programs (index overview)
   =================================== */
.programs {
  background: #fff;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.program-card {
  display: block;
  background: #fff;
  border: 1px solid #e0e8f0;
  border-radius: 12px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 80, 158, 0.12);
}

.program-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: #e05050;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.program-card-icon {
  width: 48px;
  height: 48px;
  color: #00509e;
  margin-bottom: 16px;
}

.program-card-icon svg {
  width: 100%;
  height: 100%;
}

.program-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.5;
}

.program-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 16px;
}

.program-card-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: #00509e;
}

/* ===================================
   Page Hero (subpages)
   =================================== */
.page-hero {
  padding-top: 72px;
  background: linear-gradient(135deg, #00509e 0%, #003366 100%);
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  text-align: center;
}

.page-hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.page-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.page-hero-breadcrumb {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.page-hero-breadcrumb a:hover {
  color: #fff;
}

/* ===================================
   DX Program (detail page)
   =================================== */
.dx-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.dx-program-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00509e;
  margin-bottom: 16px;
  line-height: 1.6;
}

.dx-program-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
}

.dx-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.dx-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f8faff;
  border-radius: 12px;
  padding: 24px;
}

.dx-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: #00509e;
}

.dx-feature-icon svg {
  width: 100%;
  height: 100%;
}

.dx-feature-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.dx-feature-item p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
}

.dx-courses-heading {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.dx-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.dx-course-card {
  background: #fff;
  border: 1px solid #e0e8f0;
  border-radius: 10px;
  padding: 24px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dx-course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 80, 158, 0.1);
}

.dx-course-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: #00509e;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.dx-course-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.dx-course-card p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.7;
}

.dx-info {
  max-width: 700px;
  margin: 0 auto;
}

.dx-info-table {
  width: 100%;
  border-collapse: collapse;
  background: #f8faff;
  border-radius: 12px;
  overflow: hidden;
}

.dx-info-table tr {
  border-bottom: 1px solid #e8ecf2;
}

.dx-info-table tr:last-child {
  border-bottom: none;
}

.dx-info-table th,
.dx-info-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
}

.dx-info-table th {
  width: 120px;
  font-weight: 700;
  color: #00509e;
  white-space: nowrap;
}

.dx-info-table td {
  color: #444;
}

/* Detail course cards (subpage) */
.dx-course-card--detail {
  padding: 28px 24px;
}

.dx-course-target {
  font-size: 0.78rem;
  color: #00509e;
  font-weight: 500;
  margin-bottom: 12px;
}

.dx-course-list {
  list-style: none;
  padding: 0;
}

.dx-course-list li {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.6;
  padding: 4px 0 4px 18px;
  position: relative;
}

.dx-course-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: #00509e;
  border-radius: 50%;
}

/* CTA */
.dx-cta {
  text-align: center;
  margin-top: 48px;
}

.dx-cta p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

/* ===================================
   Course detail (AI-DX Academy etc.)
   =================================== */
.course-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.course-header-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.course-header-label--blue { background: #00509e; }
.course-header-label--purple { background: #7c3aed; }
.course-header-label--indigo { background: #4338ca; }

.course-header-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
}

.course-header-sub {
  font-size: 0.9rem;
  color: #666;
  margin-top: 2px;
}

.course-purpose {
  background: #fff;
  border-left: 4px solid #00509e;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 28px 28px 28px 24px;
  margin-bottom: 24px;
}

.course-purpose--purple { border-left-color: #7c3aed; }
.course-purpose--indigo { border-left-color: #4338ca; }

.course-purpose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}

.course-purpose ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-purpose li {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
  padding-left: 22px;
  position: relative;
}

.course-purpose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00509e;
}

.course-purpose--purple li::before { background: #7c3aed; }
.course-purpose--indigo li::before { background: #4338ca; }

.course-outcome {
  background: #f0f4f8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 36px;
}

.course-outcome h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.course-outcome p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

.curriculum-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}

.curriculum-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 600px;
}

.curriculum-table thead tr {
  background: #f0f4f8;
}

.curriculum-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  color: #555;
  border-bottom: 2px solid #e0e8f0;
}

.curriculum-table td {
  padding: 16px;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.7;
  border-bottom: 1px solid #eaeef3;
  vertical-align: top;
}

.curriculum-day { width: 60px; text-align: center; }
.curriculum-theme { width: 200px; }
.curriculum-hours { width: 70px; text-align: center; }

.td-theme {
  font-weight: 600;
  color: #222;
}

.td-hours {
  text-align: center;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.day-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.day-badge--blue { background: #00509e; }
.day-badge--purple { background: #7c3aed; }
.day-badge--indigo { background: #4338ca; }

/* Pricing */
.pricing-card {
  max-width: 480px;
  margin: 0 auto 40px;
  background: #fff;
  border: 1px solid #e0e8f0;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00509e;
  margin-bottom: 4px;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

.pricing-note {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 24px;
}

.pricing-includes {
  list-style: none;
  padding: 0;
  border-top: 1px solid #eaeef3;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
  margin: 0 auto;
}

.pricing-includes li {
  font-size: 0.9rem;
  color: #444;
  padding-left: 24px;
  position: relative;
  text-align: left;
}

.pricing-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}

/* ===================================
   About
   =================================== */
.about {
  background: #fff;
}

.about-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
}

.about-table tr {
  border-bottom: 1px solid #eaeef3;
}

.about-table th,
.about-table td {
  padding: 20px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}

.about-table th {
  width: 140px;
  font-weight: 700;
  color: #00509e;
  white-space: nowrap;
}

.about-table td {
  color: #444;
  line-height: 1.8;
}

.about-table td a {
  color: #00509e;
  transition: opacity 0.3s;
}

.about-table td a:hover {
  opacity: 0.7;
}

/* ===================================
   Contact
   =================================== */
.contact {
  background: #f7f9fc;
}

.contact-body {
  text-align: center;
}

.contact-body p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 24px;
}

.contact-email {
  display: inline-block;
  padding: 16px 48px;
  background: #00509e;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  letter-spacing: 0.03em;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-email:hover {
  background: #003d7a;
  transform: translateY(-2px);
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.footer-logo-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.footer-logo-sub {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
}

.footer-address {
  font-size: 0.8rem;
  margin-bottom: 4px;
  line-height: 1.6;
}

.footer-email a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

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

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   Fade-in Animation
   =================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   Responsive: Tablet (~1024px)
   =================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid .service-card:nth-child(4) {
    grid-column: auto;
  }

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

  .values-grid .value-card:nth-child(4) {
    grid-column: auto;
  }

  .values-grid .value-card:nth-child(5) {
    grid-column: auto;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .dx-features {
    grid-template-columns: 1fr;
  }

  .dx-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-hero-title {
    font-size: 1.6rem;
  }

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

  .research-themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .research-themes-grid .research-theme-card:last-child {
    grid-column: auto;
  }
}

/* ===================================
   Responsive: Mobile (~768px)
   =================================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .philosophy-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

  .dx-features {
    grid-template-columns: 1fr;
  }

  .dx-courses-grid {
    grid-template-columns: 1fr;
  }

  .dx-info-table th {
    display: block;
    width: 100%;
    padding-bottom: 2px;
  }

  .dx-info-table td {
    display: block;
    padding-top: 0;
    padding-bottom: 14px;
  }

  .about-table th {
    display: block;
    width: 100%;
    padding-bottom: 4px;
  }

  .about-table td {
    display: block;
    padding-top: 0;
    padding-bottom: 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .header-inner {
    height: 60px;
  }

  .logo-main {
    font-size: 0.85rem;
  }

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

  .page-hero-title {
    font-size: 1.4rem;
  }

  .page-hero-inner {
    padding: 48px 24px 36px;
  }

  .course-header-title {
    font-size: 1.2rem;
  }

  .course-header-label {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .curriculum-theme {
    width: auto;
  }

  .pricing-amount {
    font-size: 2rem;
  }

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

  .research-themes-grid {
    grid-template-columns: 1fr;
  }

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

  .message-block {
    padding: 28px 20px;
  }

  .kaya-card {
    padding: 28px 20px;
  }

  .kaya-card-topics {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
}

.nav-overlay.active {
  display: block;
}
