/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Academic Color Palette - Deep Forest Green & Charcoal */
  --primary-color: #1e3a2e;
  --primary-light: #2d5a42;
  --secondary-color: #4a5568;
  --accent-color: #2d5016;
  --accent-light: #3d6b1f;
  --accent-dark: #1a3009;
  
  /* Subtle Gold Accents */
  --gold-primary: #b8860b;
  --gold-light: #daa520;
  --gold-subtle: rgba(184, 134, 11, 0.1);
  --gold-glow: rgba(184, 134, 11, 0.2);
  
  /* Professional Text Colors */
  --text-primary: #1a202c;
  --text-secondary: #2d3748;
  --text-light: #4a5568;
  --text-muted: #718096;
  
  /* Soft, Natural Backgrounds */
  --bg-primary: #fefffe;
  --bg-secondary: #f8faf9;
  --bg-tertiary: #f1f5f3;
  --bg-soft: #fcfefd;
  --bg-warm: #fdfefb;
  --bg-dark: #1a202c;
  
  /* Modern Gradients */
  --gradient-primary: linear-gradient(135deg, #1e3a2e 0%, #2d5a42 100%);
  --gradient-secondary: linear-gradient(135deg, #f8faf9 0%, #f1f5f3 100%);
  --gradient-accent: linear-gradient(135deg, rgba(30, 58, 46, 0.03) 0%, rgba(45, 90, 66, 0.06) 100%);
  --gradient-border: linear-gradient(90deg, transparent 0%, rgba(30, 58, 46, 0.2) 50%, transparent 100%);
  
  /* Subtle Borders */
  --border-light: #e8f0ec;
  --border-medium: #d4e2d8;
  --border-dark: #a0aec0;
  
  /* Academic Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Times New Roman', Times, serif;
  
  /* Typography Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Spacing System */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Subtle Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(30, 58, 46, 0.1);
  
  /* Transitions */
  --transition: 200ms ease-in-out;
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-primary);
  font-display: swap;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Prevent layout shift during font loading */
@font-face {
  font-family: 'Inter';
  font-display: swap;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Header - Clean Academic Style */
.header {
  background: linear-gradient(180deg, rgba(254, 255, 254, 0.95) 0%, rgba(254, 255, 254, 0.85) 70%, rgba(254, 255, 254, 0.0) 100%),
              linear-gradient(110deg, transparent 0%, transparent 50%, rgba(45, 90, 66, 0.25) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--primary-color);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-bottom: 20px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0 0 0;
  min-height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
}

.nav-brand .logo {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8faf9;
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.nav-brand .logo::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(45deg, 
    transparent 0%, 
    transparent 30%, 
    rgba(248, 250, 249, 0.4) 45%, 
    rgba(184, 134, 11, 0.3) 50%, 
    rgba(248, 250, 249, 0.4) 55%, 
    transparent 70%, 
    transparent 100%);
  animation: logoGradientShimmer 8s ease-in-out infinite;
}

@keyframes logoGradientShimmer {
  0% { 
    transform: translateX(-200%) translateY(-200%) rotate(120deg);
    opacity: 0.6;
  }
  50% { 
    transform: translateX(200%) translateY(200%) rotate(120deg);
    opacity: 1;
  }
  100% { 
    transform: translateX(200%) translateY(200%) rotate(120deg);
    opacity: 0.6;
  }
}

.nav-brand .logo .infinity {
  display: inline-block;
  transform-origin: center;
  position: relative;
  top: -1px;
  background: linear-gradient(135deg, 
    var(--gold-primary) 0%, 
    #f8faf9 30%, 
    var(--gold-light) 60%, 
    var(--gold-primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: infinityShimmer 6s ease-in-out infinite;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

@keyframes infinityShimmer {
  0%, 100% { 
    background-position: 20% 50%;
  }
  50% { 
    background-position: 80% 50%;
  }
}

.nav-brand h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--primary-color) 40%,
    var(--gold-primary) 50%,
    var(--primary-color) 60%,
    var(--primary-color) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShimmer 20s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 15% { 
    background-position: -200% 0;
  }
  25%, 35% { 
    background-position: 200% 0;
  }
  40%, 100% {
    background-position: -200% 0;
  }
}

.nav-brand h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-primary) 0%, transparent 100%);
  opacity: 0.7;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--text-lg);
  padding: var(--space-2) var(--space-3);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: all var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-color);
  background: linear-gradient(180deg, transparent 0%, var(--bg-tertiary) 40%, var(--bg-tertiary) 100%);
}

.nav-link:hover::before {
  width: 80%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 1001;
  position: relative;
  min-width: 40px;
  min-height: 40px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  display: block;
  flex-shrink: 0;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section - Information Dense */
.hero {
  padding-top: 120px;
  padding-bottom: var(--space-8);
  background: var(--gradient-secondary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-text {
  max-width: none;
}

.hero-images {
  position: relative;
}

.hero-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-4);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: none;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  line-height: 1.5;
  max-width: none;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: flex-start;
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.image-carousel {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--bg-secondary);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: pan-y;
}

.image-carousel:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-smooth);
}

/* Buttons - Clean Academic Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-base);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  background: var(--gradient-primary);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

/* Sections - Information Dense Layout */
.section {
  padding: var(--space-6) 0;
  position: relative;
}

.section:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: var(--gradient-border);
}

.section:nth-child(even) {
  background: var(--gradient-secondary);
}

.section:nth-child(odd) {
  background: var(--bg-primary);
}

.section-header {
  margin-bottom: var(--space-4);
  position: relative;
}

.section-header h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-1);
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.section-header h2::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-light) 100%);
  border-radius: 1px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-light) 100%);
  border-radius: 1px;
  z-index: 3;
}

.section-header h2::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100vw;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    transparent 20%,
    var(--gold-primary) 40%,
    var(--gold-light) 50%,
    var(--gold-primary) 60%,
    transparent 80%,
    transparent 100%);
  border-radius: 1px;
  transform: translateX(-50vw) scaleX(0);
  transform-origin: center;
  opacity: 0;
  z-index: 1;
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.animate-in .section-header h2::before {
  transform: translateX(-50vw) scaleX(1);
  opacity: 0.8;
  animation: sweepAcross 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes sweepAcross {
  0% {
    transform: translateX(-50vw) scaleX(0);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  50% {
    transform: translateX(-50vw) scaleX(1);
    opacity: 0.6;
  }
  100% {
    transform: translateX(-50vw) scaleX(1);
    opacity: 0;
  }
}


.section-header p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0;
}

.bg-light {
  background: var(--gradient-secondary) !important;
}

/* About Section - Dense Information Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.about-text h3 {
  font-size: var(--text-2xl);
  color: var(--primary-color);
  margin-bottom: var(--space-3);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.values {
  margin-top: var(--space-6);
}

.value-item {
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  transition: box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform var(--transition-smooth);
}

.value-item:hover {
  box-shadow: var(--shadow-md);
}

.value-item:hover::before {
  transform: scaleY(1);
}

.value-item h4 {
  font-size: var(--text-lg);
  color: var(--primary-color);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.value-item h4::before {
  content: attr(data-emoji);
  margin-right: 0.5rem;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.value-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-base);
}

.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.carousel-image.active {
  opacity: 1;
}

.carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.indicator.active {
  background: white;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.about-image img:hover {
  box-shadow: var(--shadow-lg);
}

.about-image img:last-child {
  margin-bottom: 0;
}

.desktop-only {
  display: block;
}

/* Approach Section - Grid Layout */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.approach-card {
  background: var(--bg-soft);
  padding: var(--space-6);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.approach-card::before {
  content: '';
  position: absolute;
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

/* Varied highlight effects for different cards */
.approach-card:nth-child(1)::before {
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.approach-card:nth-child(2)::before {
  top: 0;
  bottom: 0;
  right: 0;
  width: 3px;
  background: linear-gradient(180deg, #1e3a2e 0%, #2d5a42 100%);
}

.approach-card:nth-child(3)::before {
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.approach-card:nth-child(4)::before {
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #1e3a2e 0%, #2d5a42 100%);
}

.approach-card:nth-child(5)::before {
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.approach-card:nth-child(6)::before {
  top: 0;
  bottom: 0;
  right: 0;
  width: 3px;
  background: linear-gradient(180deg, #1e3a2e 0%, #2d5a42 100%);
}
.approach-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, rgba(30, 58, 46, 0.04) 0%, rgba(45, 90, 66, 0.08) 100%);
}

.approach-card:hover::before {
  transform: scaleX(1);
}

.approach-card:nth-child(1),
.approach-card:nth-child(6) {
  background: var(--gradient-accent);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.approach-card:nth-child(1)::before,
.approach-card:nth-child(6)::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.approach-card h3 {
  font-size: var(--text-xl);
  color: var(--primary-color);
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

.approach-card p {
  color: var(--text-secondary);
  line-height: 1.5;
  flex-grow: 1;
}

/* Programs Section - Information Dense */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

.program-card {
  background: var(--bg-soft);
  padding: var(--space-6);
  border: 2px solid var(--border-light);
  border-radius: 8px;
  position: relative;
  transition: all var(--transition-smooth);
  overflow: visible;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.program-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: 1;
}

.program-card > * {
  position: relative;
  z-index: 2;
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.program-card:hover::after {
  opacity: 1;
}

.program-card.featured {
  border-color: var(--gold-primary);
  border-width: 3px;
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--gold-subtle) 100%);
}

.featured-badge {
  position: absolute;
  top: -15px;
  right: var(--space-4);
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-1) var(--space-3);
  border-radius: 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 100;
  border: 2px solid white;
}


.program-card h3 {
  font-size: var(--text-xl);
  color: var(--primary-color);
  margin-bottom: var(--space-3);
  font-weight: 700;
  position: relative;
}

.program-card h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--gold-primary) 100%);
  border-radius: 1px;
}

.program-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.5;
  flex-grow: 1;
}

.program-card ul {
  list-style: none;
  margin-bottom: var(--space-4);
}

.program-card li {
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
}

.program-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-3);
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
              linear-gradient(90deg, 
                var(--primary-color) 0%, 
                var(--gold-primary) 25%, 
                var(--primary-color) 50%, 
                var(--gold-primary) 75%, 
                var(--primary-color) 100%) border-box;
  background-size: 100% 100%, 200% 100%;
  border-radius: 4px;
  transition: all var(--transition-smooth);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.program-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(30, 58, 46, 0.05) 20%, 
    rgba(184, 134, 11, 0.08) 50%, 
    rgba(30, 58, 46, 0.05) 80%, 
    transparent 100%);
  transition: left 0.6s ease-in-out;
  z-index: 1;
}

.program-link > * {
  position: relative;
  z-index: 2;
}

.program-link:hover {
  background-size: 100% 100%, 100% 100%;
  animation: borderShimmer 2s ease-in-out infinite;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(30, 58, 46, 0.15);
}

.program-link:hover::before {
  left: 100%;
}

@keyframes borderShimmer {
  0%, 100% {
    background-position: 0% 0%, 0% 0%;
  }
  50% {
    background-position: 0% 0%, 100% 0%;
  }
}

.program-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.program-link:hover svg {
  transform: translateX(2px);
}

.approach-card .program-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-3);
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
              linear-gradient(90deg, 
                var(--primary-color) 0%, 
                var(--gold-primary) 25%, 
                var(--primary-color) 50%, 
                var(--gold-primary) 75%, 
                var(--primary-color) 100%) border-box;
  background-size: 100% 100%, 200% 100%;
  border-radius: 4px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.approach-card .program-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(30, 58, 46, 0.05) 20%, 
    rgba(184, 134, 11, 0.08) 50%, 
    rgba(30, 58, 46, 0.05) 80%, 
    transparent 100%);
  transition: left 0.6s ease-in-out;
  z-index: 1;
}

.approach-card .program-link > * {
  position: relative;
  z-index: 2;
}

.approach-card .program-link:hover {
  background-size: 100% 100%, 100% 100%;
  animation: borderShimmer 2s ease-in-out infinite;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(30, 58, 46, 0.15);
}

.approach-card .program-link:hover::before {
  left: 100%;
}

.approach-card .program-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.approach-card .program-link:hover svg {
  transform: translateX(2px);
}

.external-link {
  display: flex;
  align-items: center;
}

.external-link svg {
  opacity: 0.7;
  transition: all var(--transition);
}

.external-link:hover svg {
  opacity: 1;
  transform: translateX(2px) translateY(-1px);
}

/* Program Detail Pages */
.program-detail {
  padding-top: 120px;
  padding-bottom: var(--space-12);
  background: var(--bg-primary);
}

.program-detail .container {
  max-width: 800px;
}

.program-header {
  text-align: center;
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-light);
}

.program-header h1 {
  font-size: var(--text-4xl);
  color: var(--primary-color);
  margin-bottom: var(--space-4);
  font-weight: 700;
}

.program-header .subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: var(--space-4);
  transition: all var(--transition);
}

.back-link:hover {
  transform: translateX(-2px);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.program-content {
  display: grid;
  gap: var(--space-8);
}

.content-section {
  background: var(--bg-soft);
  padding: var(--space-6);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.content-section h2 {
  font-size: var(--text-2xl);
  color: var(--primary-color);
  margin-bottom: var(--space-4);
  font-weight: 600;
  position: relative;
  padding-bottom: var(--space-2);
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-light) 100%);
}

.content-section h3 {
  font-size: var(--text-lg);
  color: var(--primary-color);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.content-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.content-section ul {
  list-style: none;
  margin-bottom: var(--space-4);
}

.content-section li {
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  position: relative;
  padding-left: var(--space-5);
}

.content-section li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.step-card {
  background: var(--bg-primary);
  padding: var(--space-4);
  border-radius: 6px;
  border: 1px solid var(--border-light);
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.step-card h4 {
  color: var(--primary-color);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.step-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin: 0;
}

.cta-section {
  background: var(--gradient-accent);
  border: 1px solid var(--border-medium);
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.cta-section h2 {
  margin-bottom: var(--space-3);
}

.cta-section p {
  margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
  .program-detail {
    padding-top: 100px;
  }
  
  .program-header h1 {
    font-size: var(--text-3xl);
  }
  
  .program-header .subtitle {
    font-size: var(--text-lg);
  }
  
  .content-section {
    padding: var(--space-4);
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
/* Contact Section - Professional Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.contact-info h3,
.contact-form-container h3 {
  font-size: var(--text-2xl);
  color: var(--primary-color);
  margin-bottom: var(--space-4);
  font-weight: 600;
  position: relative;
  padding-bottom: var(--space-2);
}

.contact-info h3::after,
.contact-form-container h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-primary) 0%, transparent 100%);
}

.contact-methods {
  margin-bottom: var(--space-8);
}

.contact-item {
  margin-bottom: var(--space-4);
  padding: var(--space-3);
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  transition: box-shadow var(--transition-smooth);
  position: relative;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
}

.contact-item:hover::before {
  transform: scaleX(1);
}

.contact-item h4 {
  color: var(--primary-color);
  margin-bottom: var(--space-1);
  font-size: var(--text-lg);
  font-weight: 600;
}

.contact-item .contact-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--transition);
  pointer-events: none;
}

.contact-item:hover .contact-link {
  color: var(--accent-dark);
  transform: translateX(4px);
}

.contact-item .contact-link {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.contact-item .contact-link svg {
  width: 16px;
  height: 16px;
}

.enrollment-note {
  padding: var(--space-4);
  background: var(--gradient-accent);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.enrollment-note::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.enrollment-note h4 {
  color: var(--primary-color);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.enrollment-note p {
  color: var(--text-secondary);
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* Contact Form - Clean Academic Style */
.contact-form {
  background: var(--bg-soft);
  padding: var(--space-6);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  height: fit-content;
}


.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  font-size: var(--text-base);
  font-family: var(--font-primary);
  transition: all var(--transition-smooth);
  background-color: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 46, 0.1);
}

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

/* Materials Page Specific Styles */
.access-info {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--space-4) 0;
}

.access-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: var(--text-sm);
}

.access-icon {
  font-size: 1.2rem;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.materials-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
}

.material-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.material-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.material-card.unavailable {
  opacity: 0.7;
  background: var(--bg-secondary);
}

.material-card.unavailable .material-image img {
  filter: grayscale(0.3) brightness(0.9);
}

.material-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
  position: relative;
}

.material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-smooth);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.material-card:hover .material-image img {
  transform: scale(1.05);
}

.material-content {
  padding: var(--space-4);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.material-content h3 {
  font-size: var(--text-lg);
  color: var(--primary-color);
  margin-bottom: var(--space-2);
  font-weight: 600;
  line-height: 1.2;
}

.material-content p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.4;
  margin-bottom: var(--space-3);
  flex-grow: 1;
}

.material-card .program-link {
  margin: 0 var(--space-4) var(--space-4) var(--space-4);
  margin-top: auto;
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-3);
}

.unavailable-link {
  background: var(--bg-secondary) !important;
  color: var(--text-muted) !important;
  border-color: var(--border-medium) !important;
  cursor: not-allowed;
}

.unavailable-link:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Digital Tools Cards */
.material-card.digital {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-tertiary) 100%);
}

.material-card.digital .card-header {
  padding: var(--space-4) var(--space-4) 0 var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.material-card.digital .card-header h3 {
  margin: 0;
  font-size: var(--text-base);
}

.material-card.digital .material-content {
  padding-top: 0;
}

.material-card.digital .material-content p {
  margin-bottom: var(--space-4);
}

/* Merchandise Cards */
.material-card.merchandise .material-image {
  height: 100px;
}

.material-card.merchandise .material-content {
  padding: var(--space-3);
}

.material-card.merchandise .material-content h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.material-card.merchandise .material-content p {
  font-size: var(--text-xs);
  margin-bottom: var(--space-2);
}

.material-card.merchandise .program-link {
  margin: 0 var(--space-3) var(--space-3) var(--space-3);
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-2);
}

/* Footer - Academic Institution Style */
.footer {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-12) 0 var(--space-6);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-8);
}

.footer-brand h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-brand h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-light) 0%, rgba(218, 165, 32, 0.3) 100%);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.footer-brand .help-box {
  text-align: center;
}

.footer-brand .help-box p {
  text-align: center;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.footer-section h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.footer-section h4::before {
  display: none;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--space-2);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition);
  font-size: var(--text-sm);
}

.footer-section a:hover {
  color: white;
  transform: translateX(4px);
  position: relative;
}

.footer-section a:hover::before {
  display: none;
}

/* Animation Classes */

.footer-bottom {
  text-align: center;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-light) 50%, transparent 100%);
  animation: footerGlow 8s ease-in-out infinite;
  opacity: 0.3;
}

@keyframes footerGlow {
  0%, 100% { 
    transform: translateX(-100px);
    opacity: 0;
  }
  15% {
    opacity: 0.4;
  }
  50% { 
    transform: translateX(calc(100vw - 80px));
    opacity: 0.6;
  }
  85% {
    opacity: 0.4;
  }
}

/* Tablet-specific adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .container {
    padding: 0 var(--space-8);
  }

  .nav {
    padding: var(--space-3) var(--space-6) 0 var(--space-6);
  }

  .nav-brand h1 {
    font-size: var(--text-xl);
  }

  .nav-menu {
    gap: var(--space-4);
  }

  .nav-link {
    font-size: var(--text-base);
    padding: var(--space-2) var(--space-2);
  }

  .materials-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-3);
  }

  .materials-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .access-info {
    gap: var(--space-4);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }

  .header {
    padding-bottom: 10px;
  }

  .nav {
    min-height: 50px;
    padding: var(--space-2) var(--space-2) 0 var(--space-3);
    gap: var(--space-2);
  }

  .nav-brand {
    flex: 1;
    min-width: 0;
    gap: var(--space-3);
  }

  .nav-brand .logo {
    flex-shrink: 0;
  }

  .nav-brand h1 {
    font-size: 1.25rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
    padding-left: var(--space-2);
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-2);
    transform: translateY(calc(-100% - 72px));
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    z-index: 500;
    max-height: 300px;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    display: flex;
    border-bottom: 2px solid var(--primary-color);
  }

  .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: var(--space-3) var(--space-4);
    border-radius: 8px;
    transition: all var(--transition-smooth);
    position: relative;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width var(--transition-smooth);
  }

  .nav-link:hover {
    color: var(--primary-color);
  }

  .nav-link:hover::before {
    width: 60%;
  }

  .hero .container {
    padding-top: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    text-align: center;
  }

  .hero-images {
    order: -1; 
  }

  .hero-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-2);
  }
  
  .hero-subtitle {
    margin-bottom: var(--space-3);
  }

  .hero-cta {
    justify-content: center;
  }

  .image-carousel {
    height: 250px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-6);
    margin-bottom: var(--space-4);
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer-section li {
    margin-bottom: var(--space-1);
  }

  .contact-item {
    margin-bottom: var(--space-2);
    padding: var(--space-2);
  }

  .value-item {
    margin-bottom: var(--space-2);
    padding: var(--space-3);
  }

  .approach-card {
    padding: var(--space-3);
  }

  .program-card {
    padding: var(--space-4);
  }

  .contact-form {
    padding: var(--space-4);
  }

  .form-group {
    margin-bottom: var(--space-2);
  }

  .form-group label {
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 500;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
    font-size: var(--text-base);
    border-radius: 4px;
  }

  .form-group textarea {
    min-height: 60px;
    resize: none;
  }

  .enrollment-note {
    padding: var(--space-3);
  }
  .section {
    padding: var(--space-5) 0;
  }

  .section-header h2 {
    font-size: var(--text-2xl);
    line-height: 1.1;
  }

  .section-header p {
    font-size: var(--text-base);
  }

  .desktop-only {
    display: none;
  }

  .contact-form {
    padding: var(--space-3);
    margin-bottom: var(--space-2);
  }

  .contact-form-container h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
  }

  .materials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .materials-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-2);
  }

  .access-info {
    flex-direction: column;
    gap: var(--space-2);
  }

  .material-image {
    height: 100px;
  }

  .material-content {
    padding: var(--space-3);
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: var(--text-xl);
    line-height: 1.2;
    word-break: keep-all;
    hyphens: none;
    white-space: nowrap;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    text-overflow: ellipsis;
  }

  /* Special handling for long titles */
  .about .section-header h2 {
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
    font-size: var(--text-lg);
  }

  .hero {
    padding-top: 80px;
  }

  .hero {
    padding-bottom: var(--space-6);
  }

  .hero .container {
    padding-top: 0;
  }

  .hero-content {
    gap: var(--space-3);
  }

  .hero-title {
    margin-bottom: var(--space-1);
  }
  
  .hero-subtitle {
    margin-bottom: var(--space-2);
  }

  .approach-grid {
    gap: var(--space-3);
  }

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
  .programs-grid {
    gap: var(--space-4);
  }

  .about-grid,
  .contact-grid {
    gap: var(--space-4);
  }

  .footer-content {
    gap: var(--space-3);
    margin-bottom: var(--space-3);
  }

  .value-item {
    margin-bottom: var(--space-2);
    padding: var(--space-2);
  }

  .approach-card {
    padding: var(--space-3);
  }

  .program-card {
    padding: var(--space-3);
  }

  .hero-image img {
    height: 180px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .materials-grid.compact {
    grid-template-columns: 1fr;
  }

  .material-card.merchandise .material-content,
  .material-card.digital .material-content {
    padding: var(--space-2);
  }

  .material-image {
    height: 80px;
  }
}