/* --------------------------------------------------
 * JPTA-DX Homepage Stylesheet
 * -------------------------------------------------- */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* CSS Variables */
:root {
  /* Color Palette */
  --primary: 222, 47%, 11%;      /* Deep Blue/Slate */
  --primary-light: 215, 25%, 27%;
  --accent: 174, 75%, 39%;       /* Medical Teal */
  --accent-light: 174, 75%, 95%;
  --accent-glow: 174, 75%, 50%;
  --success: 142, 71%, 45%;      /* Active status Green */
  --success-light: 142, 71%, 95%;
  --warning: 38, 92%, 50%;       /* Upcoming status Orange */
  --warning-light: 38, 92%, 96%;
  
  --bg-main: 210, 40%, 98%;      /* Very Light Slate */
  --bg-card: 0, 0%, 100%;
  --bg-nav: 210, 40%, 98%;
  
  --text-dark: 222, 47%, 11%;
  --text-main: 217, 19%, 27%;
  --text-muted: 215, 16%, 47%;
  --text-light: 210, 40%, 98%;
  
  --border: 214, 32%, 91%;
  
  /* Layout & Animations */
  --font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 20px rgba(13, 148, 136, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

/* Reset and Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: hsl(var(--bg-main));
  color: hsl(var(--text-main));
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Typography */
h1, h2, h3, h4 {
  color: hsl(var(--text-dark));
  font-weight: 700;
  line-height: 1.3;
}

/* Common Section Layout */
section {
  padding: 100px 24px;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: hsl(var(--accent-light));
  color: hsl(var(--accent));
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 20px;
  position: relative;
}

.section-desc {
  font-size: 1.1rem;
  color: hsl(var(--text-muted));
  max-width: 700px;
  margin-bottom: 50px;
}

/* Header & Glassmorphic Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-normal);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(248, 250, 252, 0.95);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.4rem;
  color: hsl(var(--text-dark));
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: hsl(var(--text-main));
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: hsl(var(--accent));
  transition: var(--transition-normal);
}

.nav-links a:hover {
  color: hsl(var(--accent));
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background-color: hsl(var(--accent));
  color: white !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background-color: hsl(var(--primary-light));
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu Button */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  flex-direction: column;
  gap: 6px;
}

.burger-line {
  width: 24px;
  height: 2px;
  background-color: hsl(var(--text-dark));
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* Hero Section with Glowing Gradients */
.hero {
  padding-top: 160px;
  padding-bottom: 120px;
  background-color: hsl(var(--bg-main));
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(30, 41, 59, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  z-index: 5;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: hsl(var(--accent));
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  display: inline-block;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: hsl(var(--text-dark));
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, hsl(var(--accent)), #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: hsl(var(--text-muted));
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: hsl(var(--accent));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: hsl(var(--primary-light));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background-color: white;
  color: hsl(var(--text-dark));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: hsl(var(--bg-main));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Feature Badge Banner / Fast Access */
.hero-visual {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  width: 100%;
}

.media-promo-box {
  text-align: center;
}

.media-promo-icon {
  width: 64px;
  height: 64px;
  background: hsl(var(--accent-light));
  color: hsl(var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.media-promo-box h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.media-promo-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Intro / About DX */
.intro {
  background-color: white;
  border-bottom: 1px solid hsl(var(--border));
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-lead {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  color: hsl(var(--text-dark));
}

.intro-lead span {
  color: hsl(var(--accent));
}

.intro-text p {
  color: hsl(var(--text-muted));
  margin-bottom: 20px;
}

/* Theme Hub Section */
.theme-hub {
  background-color: hsl(var(--bg-main));
}

.theme-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: white;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--text-main));
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: hsl(var(--accent));
  color: white;
  border-color: hsl(var(--accent));
  box-shadow: var(--shadow-sm);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.theme-card {
  background-color: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.theme-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: hsla(var(--success), 0.3);
}

.theme-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: hsl(var(--success));
  transition: var(--transition-fast);
}

.theme-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  width: fit-content;
}

.badge-active {
  background-color: var(--success-light);
  color: hsl(var(--success));
}

.badge-upcoming {
  background-color: var(--warning-light);
  color: hsl(var(--warning));
}

.theme-icon {
  font-size: 1.8rem;
  color: hsl(var(--success));
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.theme-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.theme-card p {
  font-size: 0.95rem;
  color: hsl(var(--text-muted));
  margin-bottom: 0;
  flex-grow: 1;
}

/* NotebookLM & News Section */
.news {
  background-color: white;
  border-bottom: 1px solid hsl(var(--border));
}

.notebook-wrapper {
  background-color: hsl(var(--bg-main));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.notebook-header h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.notebook-header p {
  color: hsl(var(--text-muted));
  margin-bottom: 30px;
}

.notebook-alert {
  background-color: hsl(var(--warning-light));
  border-left: 4px solid hsl(var(--warning));
  padding: 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: hsl(var(--text-main));
}

.notebook-alert strong {
  color: hsl(var(--warning));
  display: block;
  margin-bottom: 4px;
}

/* Interactive Accordion for NotebookLM steps */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background-color: white;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.accordion-item.active {
  box-shadow: var(--shadow-md);
  border-color: hsl(var(--accent));
}

.accordion-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
}

.accordion-number {
  background-color: hsl(var(--accent-light));
  color: hsl(var(--accent));
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.accordion-item.active .accordion-number {
  background-color: hsl(var(--accent));
  color: white;
}

.accordion-icon {
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: hsl(var(--accent));
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.accordion-body {
  padding: 0 24px 20px 60px;
  font-size: 0.95rem;
  color: hsl(var(--text-muted));
}

.accordion-body ul {
  padding-left: 20px;
  margin-top: 8px;
}

/* Medical DX Section */
.medical-dx {
  background-color: hsl(var(--bg-main));
}

.dx-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.dx-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-md);
}

.dx-card p {
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.dx-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dx-feature-item {
  background-color: white;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition-normal);
}

.dx-feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 148, 136, 0.2);
}

.dx-feature-icon {
  color: hsl(var(--accent));
  display: flex;
}

.dx-feature-item h4 {
  font-size: 1.1rem;
}

.dx-feature-item p {
  font-size: 0.85rem;
  color: hsl(var(--text-muted));
  line-height: 1.5;
}

/* External Links Section */
.external-links {
  background-color: white;
  border-bottom: 1px solid hsl(var(--border));
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.link-group {
  background-color: hsl(var(--bg-main));
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid hsl(var(--border));
}

.link-group h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: hsl(var(--text-dark));
  border-bottom: 2px solid rgba(13, 148, 136, 0.1);
  padding-bottom: 12px;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.link-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  background-color: white;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(var(--border));
  transition: var(--transition-normal);
}

.link-item:hover {
  transform: translateX(4px);
  border-color: hsl(var(--accent));
  box-shadow: var(--shadow-sm);
}

.link-icon-wrapper {
  color: hsl(var(--accent));
  display: flex;
  align-items: center;
}

.link-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.link-info h4 i {
  font-size: 0.8rem;
  opacity: 0.5;
  transition: var(--transition-fast);
}

.link-item:hover .link-info h4 i {
  opacity: 1;
  transform: translate(2px, -2px);
  color: hsl(var(--accent));
}

.link-info p {
  font-size: 0.8rem;
  color: hsl(var(--text-muted));
}

/* Event Information Section */
.events {
  background-color: hsl(var(--bg-main));
}

.event-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.event-search {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.event-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(var(--border));
  background-color: white;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.event-search input:focus {
  outline: none;
  border-color: hsl(var(--accent));
  box-shadow: var(--shadow-glow);
}

.event-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--text-muted));
  pointer-events: none;
  display: flex;
}

.event-table-container {
  background-color: white;
  border-radius: var(--radius-md);
  border: 1px solid hsl(var(--border));
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
}

.event-table th {
  background-color: hsl(var(--bg-main));
  color: hsl(var(--text-dark));
  font-weight: 700;
  padding: 18px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid hsl(var(--border));
}

.event-table td {
  padding: 18px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--text-main));
}

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

.event-table tr {
  transition: var(--transition-fast);
}

.event-table tr:hover {
  background-color: hsl(var(--bg-main));
}

.event-date {
  font-weight: 700;
  color: hsl(var(--accent));
  white-space: nowrap;
}

.event-venue-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  background-color: hsl(var(--bg-main));
  border: 1px solid hsl(var(--border));
}

.event-tag-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  background-color: rgba(13, 148, 136, 0.08);
  color: hsl(var(--accent));
}

.event-tag-intl {
  background-color: rgba(30, 41, 59, 0.08);
  color: hsl(var(--primary-light));
}

.event-name {
  font-weight: 600;
  color: hsl(var(--text-dark));
}

/* Subcommittee Members / Greeting Section */
.subcommittee {
  background-color: white;
  border-bottom: 1px solid hsl(var(--border));
}

.members-section {
  margin-bottom: 80px;
}

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

.member-card {
  background-color: hsl(var(--bg-main));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition-normal);
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background-color: white;
  border-color: hsl(var(--accent));
}

.member-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--accent-light)), hsl(var(--border)));
  color: hsl(var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.member-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: hsl(var(--text-dark));
  margin-bottom: 4px;
}

.member-role {
  font-size: 0.85rem;
  color: hsl(var(--accent));
  font-weight: 600;
}

/* President Greeting Section */
.president-card {
  background-color: hsl(var(--bg-main));
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  padding: 50px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.president-photo-wrapper {
  text-align: center;
}

.president-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--accent-light)), hsl(var(--primary-light)));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 4rem;
  box-shadow: var(--shadow-md);
  border: 4px solid white;
}

.president-title {
  font-size: 0.9rem;
  color: hsl(var(--accent));
  font-weight: 700;
  margin-bottom: 6px;
}

.president-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--text-dark));
  margin-bottom: 20px;
}

.president-bio-summary {
  background-color: white;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(var(--border));
  text-align: left;
}

.president-bio-summary h4 {
  font-size: 0.85rem;
  color: hsl(var(--text-muted));
  margin-bottom: 8px;
  border-bottom: 1px solid hsl(var(--border));
  padding-bottom: 6px;
}

.president-bio-summary ul {
  list-style: none;
  font-size: 0.8rem;
  color: hsl(var(--text-main));
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.president-bio-summary li {
  position: relative;
  padding-left: 12px;
}

.president-bio-summary li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: hsl(var(--accent));
}

.president-message h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.president-message p {
  color: hsl(var(--text-main));
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.president-signature {
  text-align: right;
  font-weight: 700;
  font-size: 1.1rem;
  color: hsl(var(--text-dark));
}

/* Recruiting CTA Section */
.recruiting {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-light)));
  color: white;
  text-align: center;
  padding: 120px 24px;
  overflow: hidden;
}

.recruiting-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.recruiting .container {
  max-width: 800px;
}

.recruiting .section-tag {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.recruiting h2 {
  color: white;
  font-size: 2.75rem;
  margin-bottom: 24px;
}

.recruiting-desc {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.8;
}

.recruiting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 45px;
  text-align: left;
}

.recruiting-item {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.recruiting-item h4 {
  color: white;
  margin-bottom: 8px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recruiting-item p {
  font-size: 0.85rem;
  opacity: 0.8;
}

.recruiting-action-card {
  background-color: white;
  color: hsl(var(--text-dark));
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  flex-wrap: wrap;
  gap: 24px;
}

.recruiting-action-info h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.recruiting-action-info p {
  font-size: 0.9rem;
  color: hsl(var(--text-muted));
}

.recruiting-action-card .btn {
  white-space: nowrap;
}

/* Footer Section */
footer {
  background-color: hsl(var(--text-dark));
  color: white;
  padding: 80px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-info-col h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-info-col p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 24px;
}

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.footer-link-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-col a {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-link-col a:hover {
  opacity: 1;
  color: hsl(var(--accent-glow));
  padding-left: 4px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: white;
}

.social-btn:hover {
  background-color: hsl(var(--accent));
  color: white;
  transform: translateY(-2px);
  border-color: hsl(var(--accent));
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Animations Trigger Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries (Responsive Styling) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-grid,
  .intro-content,
  .notebook-wrapper,
  .dx-layout,
  .president-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 16px;
  }
  
  /* Mobile Navigation Menu Drawer */
  .nav-links {
    display: none; /* JS will toggle active class */
    position: fixed;
    top: 72px; /* Fixed header offset */
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: hsl(var(--bg-main));
    flex-direction: column;
    padding: 32px 24px;
    gap: 16px;
    align-items: stretch;
    border-top: 1px solid hsl(var(--border));
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-links.mobile-active {
    display: flex;
  }
  
  .nav-links a {
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
  }
  
  .nav-links a::after {
    display: none; /* Disable underline hover animation on mobile drawer */
  }
  
  .nav-cta {
    text-align: center;
    margin-top: 12px;
    border-radius: var(--radius-sm);
    border-bottom: none !important;
  }

  .burger-menu {
    display: flex;
  }
  
  /* Burger Animation States */
  .burger-menu.open .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger-menu.open .burger-line:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.open .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Grid Layouts to Single Column */
  .recruiting-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .link-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .event-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .event-search {
    max-width: 100%;
  }
  
  /* Medical DX Feature Grid Optimization */
  .dx-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dx-feature-item {
    padding: 20px;
  }
  
  /* Responsive Padding Adjustments to Maximize Content Area */
  .theme-card {
    padding: 24px 20px;
  }
  .link-group {
    padding: 24px 16px;
  }
  .president-card {
    padding: 24px 16px;
    gap: 30px;
  }
  .notebook-wrapper {
    padding: 24px 16px;
    gap: 30px;
  }

  /* Alignment optimizations */
  .recruiting-action-card {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
    padding: 24px 16px;
  }
  .recruiting-action-info {
    margin-bottom: 8px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Extra Small Devices (Smartphones) */
@media (max-width: 480px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2.0rem;
    margin-bottom: 16px;
  }
  
  .hero-desc {
    font-size: 1.0rem;
    margin-bottom: 24px;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }
  
  .intro-lead {
    font-size: 1.25rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .btn {
    width: 100%;
    padding: 12px 20px;
  }
}
