/* Import Cairo Font */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
  /* Primary Blue - #0075c2 */
  --primary: 204 100% 38%;
  --primary-foreground: 0 0% 100%;
  
  /* Green Accent - #99ca45 */
  --accent: 80 54% 53%;
  --accent-foreground: 0 0% 100%;
  
  /* Red Accent - #ba2025 */
  --red-accent: 358 71% 43%;
  --red-accent-foreground: 0 0% 100%;
  
  /* Soft sakura pink (Japan connection) - keeping for some accents */
  --sakura: 350 60% 85%;
  --sakura-foreground: 235 45% 20%;
  
  /* Background - warm off-white */
  --background: 0 0% 98%;
  --foreground: 204 100% 15%;
  
  /* Cards - clean white */
  --card: 0 0% 100%;
  --card-foreground: 204 100% 15%;
  
  --popover: 0 0% 100%;
  --popover-foreground: 204 100% 15%;
  
  /* Secondary - soft gray-blue */
  --secondary: 204 20% 94%;
  --secondary-foreground: 204 100% 20%;
  
  /* Muted - subtle gray */
  --muted: 204 15% 92%;
  --muted-foreground: 204 10% 45%;
  
  --destructive: 358 71% 50%;
  --destructive-foreground: 0 0% 100%;
  
  --border: 204 20% 88%;
  --input: 204 20% 88%;
  --ring: 204 100% 38%;
  
  --radius: 0.75rem;
  
  /* Custom gradients */
  --gradient-hero: linear-gradient(135deg, hsl(204 100% 30%) 0%, hsl(204 100% 38%) 50%, hsl(204 100% 25%) 100%);
  --gradient-gold: linear-gradient(135deg, hsl(80 54% 53%) 0%, hsl(80 54% 60%) 100%);
  --gradient-sakura: linear-gradient(135deg, hsl(350 60% 90%) 0%, hsl(350 60% 80%) 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px -2px hsl(204 100% 38% / 0.08);
  --shadow-md: 0 8px 24px -4px hsl(204 100% 38% / 0.12);
  --shadow-lg: 0 16px 48px -8px hsl(204 100% 38% / 0.16);
  --shadow-gold: 0 8px 32px -4px hsl(80 54% 53% / 0.3);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', system-ui, sans-serif !important;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  font-size: 1.125rem; /* Increased base font size from 1.0625rem to 1.125rem (~18px) */
  font-weight: 500; /* Slightly increased weight for better readability */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body *,
body *::before,
body *::after {
  font-family: 'Cairo', system-ui, sans-serif !important;
  font-style: normal !important;
}

/* Ensure no italic styles anywhere */
em,
i,
.italic,
[style*="font-style: italic"],
[style*="font-style:italic"] {
  font-style: normal !important;
  font-family: 'Cairo', system-ui, sans-serif !important;
}

/* Ensure all text elements use Cairo */
span,
div,
a,
li,
td,
th,
label,
input,
textarea,
select,
button,
.btn {
  font-family: 'Cairo', system-ui, sans-serif !important;
  font-style: normal !important;
}

.pageDetails
{
	display:none;
}

.s4-notdlg
{
display: none;
position:relative !important;
}
.sticky
{
position:relative !important;
display: none !important;

}

div#mainContent {
    padding-top: 0px !important;
}

footer
{
	display: none;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

p {
  text-align: center !important;
  font-weight: normal !important;
}

/* Ensure all paragraph elements have slightly increased weight to override SharePoint */
p,
p *:not(strong),
div,
span,
li,
td,
th,
label {
  font-weight: 500 !important; /* Increased from normal to 500 for better readability */
  font-size: 1.125rem !important; /* Increased base size */
}

/* Keep strong tags bold everywhere */
strong {
  font-weight: 700 !important;
}

/* Keep strong tags bold in funding section (extra specificity) */
.funding-condition-content strong,
.funding-condition-intro strong,
.funding-condition-text strong,
.funding-condition-list-item strong,
.funding-condition-note strong,
.funding-condition-sublist strong {
  font-weight: 700 !important;
}

/* Force center alignment for specific section paragraphs to override SharePoint */
.section-description,
.section-description p,
.program-scope-subtitle,
.section-description-light,
.hero-description {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
}

/* Left-align paragraphs inside cards (like their headers) */
.objective-description,
.eligibility-description,
.funding-item-description,
.material-description,
.program-main-description,
.program-format-text,
.selection-criteria-item span:not(.criteria-check),
.sector-text,
.commitment-description {
  text-align: left !important;
}

/* Keep program-scope-card-text centered */
.program-scope-card-text {
  text-align: center !important;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

/* Utility Classes */
.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Ensure green gradient text in section titles matches the blue text size */
.section-title .text-gradient-gold {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  display: inline;
}

.text-gradient-green {
  background: linear-gradient(135deg, hsl(80 54% 53%) 0%, hsl(80 54% 60%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

.animation-delay-100 {
  animation-delay: 100ms;
}

.animation-delay-200 {
  animation-delay: 200ms;
}

.animation-delay-300 {
  animation-delay: 300ms;
}

.animation-delay-400 {
  animation-delay: 400ms;
}

.animation-delay-500 {
  animation-delay: 500ms;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsl(var(--primary) / 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--primary-foreground) / 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .header-content {
    height: 80px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .logo-text {
    font-size: 1.5rem;
  }
}

.logo-year {
  display: none;
  color: hsl(var(--primary-foreground) / 0.6);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .logo-year {
    display: inline-block;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary-foreground) / 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: hsl(var(--primary-foreground));
}

.nav-link.active {
  color: hsl(var(--primary-foreground));
  font-weight: 600;
}

.header-cta-desktop {
  display: none;
}

@media (min-width: 768px) {
  .header-cta-desktop {
    display: block;
  }
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  color: hsl(var(--primary-foreground));
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid hsl(var(--primary-foreground) / 0.1);
}

.mobile-menu.active {
  display: block;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-link-mobile {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary-foreground) / 0.7);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link-mobile:hover {
  color: hsl(var(--primary-foreground));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Cairo', system-ui, sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn-sm {
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 0.375rem;
}

.btn-lg {
  height: 48px;
  padding: 0 2rem;
  font-size: 1rem;
  border-radius: 0.5rem;
}

.btn-xl {
  height: 56px;
  padding: 0 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
  vertical-align: middle;
}

.btn-gold {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: var(--shadow-gold);
  font-weight: 600;
}

.btn-gold:hover {
  background-color: hsl(var(--accent) / 0.9);
  box-shadow: 0 12px 40px -4px hsl(80 54% 53% / 0.4);
}

.btn-hero {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: var(--shadow-gold);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.5rem 2rem;
}

.btn-hero:hover {
  background-color: hsl(var(--accent) / 0.9);
  box-shadow: 0 12px 40px -4px hsl(80 54% 53% / 0.4);
}

.btn-hero-outline {
  border: 2px solid hsl(var(--primary-foreground) / 0.3);
  color: hsl(var(--primary-foreground));
  background-color: hsl(var(--primary-foreground) / 0.05);
  backdrop-filter: blur(8px);
  font-weight: 500;
  font-size: 1rem;
  padding: 1.5rem 2rem;
}

.btn-hero-outline:hover {
  background-color: hsl(var(--primary-foreground) / 0.1);
  border-color: hsl(var(--primary-foreground) / 0.5);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: auto;
  padding-bottom: 0;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 0;
}

.hero-decorative {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-circle-1 {
  top: 80px;
  right: 40px;
  width: 256px;
  height: 256px;
  background-color: hsl(var(--sakura) / 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-circle-2 {
  bottom: 128px;
  left: 40px;
  width: 384px;
  height: 384px;
  background-color: hsl(var(--accent) / 0.1);
  animation: float 6s ease-in-out infinite;
  animation-delay: 300ms;
}

.hero-circle-3 {
  top: 50%;
  right: 25%;
  width: 192px;
  height: 192px;
  background-color: hsl(var(--sakura) / 0.05);
  animation: float 6s ease-in-out infinite;
  animation-delay: 500ms;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

.hero-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(hsl(var(--primary-foreground)) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--primary-foreground)) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  padding: 4rem 1rem 0; /* Reduced from 6rem */
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 5rem 1rem 0; /* Reduced from 8rem */
  }
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.badge-text {
  color: hsl(var(--primary-foreground));
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  padding: 2px 0;
  background-color: transparent;
}

.partner-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
}

.partner-logo:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.partner-logo-itida {
  max-height: 70px;
  height: 70px;
  width: auto;
  object-fit: contain;
  padding: 0;
  display: block;
  margin: 2px 0;
  vertical-align: middle;
}

.partner-logo-jica {
  max-height: 70px;
  height: 70px;
  width: auto;
  object-fit: contain;
  padding: 0;
  display: block;
  margin: 2px 0;
  vertical-align: middle;
}

@media (max-width: 640px) {
  .partner-logo-itida {
    height: 50px;
    max-height: 50px;
    width: auto;
    padding: 0;
  }
  
  .partner-logo-jica {
    height: 50px;
    max-height: 50px;
    width: auto;
    padding: 0;
  }
}

.badge-separator {
  color: hsl(var(--primary-foreground) / 0.7);
  font-size: 1.25rem;
  font-weight: 300;
}

.badge-project {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.partner-logo-ninja {
  height: 90px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  padding: 0.5rem;
  background-color: hsl(var(--card));
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .partner-logo-ninja {
    height: 100px;
  }
}

.partner-logo-ninja:hover {
  opacity: 0.9;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
  .badge-project {
    margin-top: 0.75rem;
  }
  
  .partner-logo-ninja {
    height: 70px;
    padding: 0.375rem;
  }
}

@media (max-width: 640px) {
  .hero-badge {
    gap: 0.75rem;
  }
  
  .badge-logos {
    gap: 0.5rem;
  }
  
  .partner-logo {
    height: 50px;
    padding: 0;
  }
  
  .partner-logo-itida,
  .partner-logo-jica {
    max-height: 50px;
  }
  
  .badge-separator {
    font-size: 1rem;
  }
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground)) !important;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 1.75rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--primary-foreground) / 0.9);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-event {
  display: inline-block;
  margin-bottom: 2rem;
  position: relative;
}

.event-text {
  color: hsl(var(--accent));
  font-weight: 700;
  font-size: 2rem !important; /* Increased from 1.75rem */
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.event-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, hsl(var(--accent)), hsl(var(--accent) / 0.5));
  border-radius: 2px;
}

@media (min-width: 768px) {
  .event-text {
    font-size: 2.25rem !important; /* Increased from 2rem */
  }
}

.hero-description {
  font-size: 1.375rem; /* Increased from 1.25rem */
  color: hsl(var(--primary-foreground) / 0.7);
  max-width: 42rem;
  margin: 0 auto 2rem !important; /* Reduced from 3rem */
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.75;
  text-align: center !important;
  display: block !important;
  font-weight: 500 !important;
}

.hero-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem; /* Reduced from 3rem */
}

@media (min-width: 768px) {
  .hero-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero-info-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--primary-foreground) / 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--primary-foreground) / 0.1);
}

.info-icon {
  width: 20px;
  height: 20px;
  color: hsl(var(--accent));
  flex-shrink: 0;
}

.info-content {
  text-align: center;
}

.info-label {
  color: hsl(var(--primary-foreground) / 0.6);
  font-size: 0.9375rem; /* Increased from 0.875rem */
}

.info-value {
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  font-size: 1rem; /* Added explicit font size */
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

.hero-deadline {
  margin-top: 1.5rem; /* Reduced from 2rem */
  color: hsl(var(--primary-foreground) / 0.6);
  font-size: 1.75rem !important; /* Increased from 1.5rem */
  font-weight: 500 !important;
}

.deadline-date {
  color: hsl(var(--accent));
  font-weight: 600;
  font-size: 1.875rem !important; /* Increased from 1.625rem */
}

@media (min-width: 768px) {
  .hero-deadline {
    font-size: 2rem !important; /* Increased from 1.75rem */
  }
  
  .deadline-date {
    font-size: 2.125rem !important; /* Increased from 1.875rem */
  }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

.hero-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 1.5rem; /* Reduced from 2.5rem */
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-badge-sakura {
  background-color: hsl(var(--sakura) / 0.2);
  color: hsl(var(--foreground));
}

.section-badge-accent {
  background-color: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
}

.section-badge-primary {
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--foreground));
}

.section-badge-light {
  background-color: hsl(var(--primary-foreground) / 0.1);
  color: hsl(var(--primary-foreground));
  backdrop-filter: blur(8px);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-title-light {
  color: hsl(var(--primary-foreground));
}

.section-title-white {
  color: hsl(var(--primary-foreground));
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  display: inline;
}

.section-description {
  font-size: 1.375rem; /* Increased from 1.25rem */
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto !important;
  text-align: center !important;
  display: block !important;
  font-weight: 500 !important;
}

.section-description-light {
  color: hsl(var(--primary-foreground) / 0.8);
  text-align: center !important;
  margin: 0 auto !important;
  display: block !important;
}

.section-decorative {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.decorative-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.decorative-circle-1 {
  top: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background-color: hsl(var(--sakura) / 0.3);
  opacity: 0.3;
}

.decorative-circle-2 {
  bottom: 0;
  left: 0;
  width: 384px;
  height: 384px;
  background-color: hsl(var(--accent) / 0.2);
  opacity: 0.2;
}

.decorative-circle-3 {
  top: 25%;
  left: 0;
  width: 256px;
  height: 256px;
  background-color: hsl(var(--accent) / 0.1);
}

.decorative-circle-4 {
  bottom: 25%;
  right: 0;
  width: 256px;
  height: 256px;
  background-color: hsl(var(--sakura) / 0.1);
}

/* Program Overview Section */
.program-overview-section {
  position: relative;
  padding: 3rem 0;
  background-color: hsl(var(--secondary) / 0.3);
  overflow: hidden;
}

.program-overview-content {
  max-width: 64rem;
  margin: 0 auto;
}

.program-overview-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.program-overview-item:last-child {
  grid-column: 1 / -1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.program-overview-item:last-child .overview-label,
.program-overview-item:last-child .overview-value {
  justify-content: center;
  text-align: center;
  min-width: auto;
}

.program-overview-item:last-child .overview-main-content {
  justify-content: center;
  text-align: center;
}

@media (min-width: 768px) {
  .program-overview-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .program-overview-item:last-child {
    grid-column: 1 / -1;
    max-width: 1000px;
  }
}

.program-overview-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.program-overview-item:last-child {
  flex-direction: column;
  align-items: center;
}

.program-overview-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.program-overview-item-with-note {
  flex-direction: column;
  gap: 1rem;
}

.program-overview-item-with-note .overview-main-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.program-overview-item-with-note .overview-note-container {
  width: 100%;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(var(--border));
}

.program-overview-item-note {
  flex-direction: column;
  background-color: hsl(var(--primary) / 0.05);
  border-color: hsl(var(--primary) / 0.2);
}

.overview-label {
  font-weight: 700;
  color: hsl(var(--foreground));
  min-width: 180px;
  flex-shrink: 0;
  font-size: 1.0625rem;
}

.overview-value {
  color: hsl(var(--muted-foreground));
  flex: 1;
  font-size: 1.25rem; /* Increased from 1.125rem */
  font-weight: 500 !important;
}

.overview-note {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem; /* Increased from 1rem */
  line-height: 1.6;
  font-style: italic;
  font-weight: 500 !important;
}

@media (min-width: 768px) {
  .overview-label {
    min-width: 200px;
    font-size: 1.25rem; /* Increased from 1.125rem */
    font-weight: 700;
  }
  
  .overview-value {
    font-size: 1.375rem; /* Increased from 1.25rem */
  }
  
  .overview-note {
    font-size: 1.1875rem; /* Increased from 1.0625rem */
  }
}

@media (max-width: 767px) {
  .overview-label {
    min-width: 140px;
    font-size: 1rem;
    font-weight: 700;
  }
  
  .overview-value {
    font-size: 1.0625rem;
  }
}

/* Introduction Section */
.introduction-section {
  position: relative;
  padding: 1.5rem 0;
  background-color: hsl(var(--background));
  overflow: hidden;
}

.introduction-section .section-header {
  margin-bottom: 1rem;
}

.introduction-content {
  max-width: 64rem;
  margin: 0 auto;
}

.introduction-text {
  font-size: 1.25rem; /* Increased from 1.125rem */
  line-height: 1.8;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  text-align: left !important;
  font-weight: 500 !important;
}

.introduction-text:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .introduction-text {
    font-size: 1.375rem; /* Increased from 1.25rem */
  }
}

/* Objectives Section */
.objectives-section {
  position: relative;
  padding: 2.5rem 0; /* Reduced from 4rem */
  background-color: hsl(var(--background));
  overflow: hidden;
}

.objectives-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem; /* Reduced from 1.5rem */
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .objectives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .objectives-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.objective-card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.objective-card:hover {
  border-color: hsl(var(--accent) / 0.3);
  box-shadow: var(--shadow-lg);
}

.objective-icon {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, hsl(var(--accent) / 0.2), hsl(var(--sakura) / 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  color: hsl(var(--accent));
}

.objective-card:hover .objective-icon {
  transform: scale(1.1);
}

.objective-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.objective-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  font-size: 1.125rem; /* Increased from 1rem */
  font-weight: 500 !important;
}

.objective-accent-line {
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(to right, hsl(var(--accent)), hsl(var(--sakura)));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 9999px;
}

.objective-card:hover .objective-accent-line {
  transform: scaleX(1);
}

/* Program Section */
.program-section {
  padding: 2.5rem 0; /* Reduced from 4rem */
  background-color: hsl(var(--secondary) / 0.3);
  position: relative;
}

/* Program Main Card */
.program-main-card {
  max-width: 72rem;
  margin: 0 auto 2.5rem; /* Reduced from 4rem */
  padding: 2.5rem;
  border-radius: 1.5rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .program-main-card {
    padding: 3rem;
  }
}

.program-main-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.program-main-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background-color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  flex-shrink: 0;
}

.program-main-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.program-main-description {
  font-size: 1.25rem; /* Increased from 1.125rem */
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 500 !important;
}

.program-formats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .program-formats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.program-format-box {
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.program-format-extended {
  background-color: hsl(var(--accent) / 0.15);
  border: 1px solid hsl(var(--accent) / 0.3);
}

.program-format-standard {
  background-color: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
}

.program-format-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.program-format-extended .program-format-icon {
  background-color: hsl(var(--accent) / 0.2);
  color: hsl(var(--accent));
}

.program-format-standard .program-format-icon {
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.program-format-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.program-format-text {
  font-size: 1.125rem; /* Increased from 1rem */
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  font-weight: 500 !important;
}

/* Program Scope Section */
.program-scope {
  max-width: 72rem;
  margin: 0 auto;
}

.program-scope-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .program-scope-title {
    font-size: 2rem;
  }
}

.program-scope-subtitle {
  font-size: 1.25rem; /* Increased from 1.125rem */
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem; /* Reduced from 4rem */
  text-align: center !important;
  max-width: 56rem;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  font-weight: 500 !important;
}

@media (min-width: 768px) {
  .program-scope-subtitle {
    margin-bottom: 2.5rem; /* Reduced from 5rem */
  }
}

.program-scope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem; /* Reduced from 1.5rem */
}

@media (min-width: 768px) {
  .program-scope-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.program-scope-card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
}

.program-scope-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.program-scope-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.program-scope-icon {
  width: 64px;
  height: 64px;
  margin: 1rem auto 1.5rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--accent) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent));
}

.program-scope-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.program-scope-card-text {
  font-size: 1.125rem; /* Increased from 1rem */
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  font-weight: 500 !important;
}

/* Eligibility Section */
.eligibility-section {
  padding: 2.5rem 0; /* Reduced from 4rem */
  background-color: hsl(var(--secondary) / 0.3);
  position: relative;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem; /* Reduced from 2rem */
  max-width: 72rem;
  margin: 0 auto 2.5rem; /* Reduced from 4rem */
}

@media (min-width: 1024px) {
  .eligibility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.eligibility-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.eligibility-card:hover {
  border-color: hsl(var(--accent) / 0.2);
  box-shadow: var(--shadow-md);
}

.eligibility-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background-color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
}

.eligibility-content {
  flex: 1;
}

.eligibility-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.eligibility-description {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem; /* Increased from 1rem */
  font-weight: 500 !important;
}

.sectors-container {
  max-width: 64rem;
  margin: 0 auto;
}

.sectors-card {
  padding: 2rem;
  border-radius: 1rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-md);
}

.sectors-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  text-align: center;
}

.sectors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sector-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--secondary) / 0.5);
  border: 1px solid hsl(var(--border) / 0.5);
}

.sector-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: hsl(var(--accent) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sector-check::after {
  content: '';
  width: 14px;
  height: 14px;
  background-color: hsl(var(--accent));
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.sector-text {
  font-size: 1.125rem; /* Increased from 1rem */
  font-weight: 500 !important;
  color: hsl(var(--foreground));
}

/* Selection Criteria Section */
.selection-criteria-section {
  padding: 2.5rem 0; /* Reduced from 4rem */
  background-color: hsl(var(--background));
  position: relative;
}

.selection-criteria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem; /* Reduced from 2rem */
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .selection-criteria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .selection-criteria-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.selection-criteria-card {
  padding: 2rem;
  border-radius: 1rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-align: left;
}

.selection-criteria-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.selection-criteria-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.selection-criteria-header:has(.selection-criteria-title:only-child) {
  margin-bottom: 1rem;
}

.selection-criteria-letter {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.selection-criteria-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.4;
  flex: 1;
  margin: 0;
  text-align: left;
}

.selection-criteria-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  font-size: 1.125rem; /* Increased from 1rem */
  margin: 0;
  text-align: left !important;
  font-weight: 500 !important;
}

.selection-criteria-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.selection-criteria-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.criteria-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: hsl(var(--accent) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.criteria-check::after {
  content: '';
  width: 12px;
  height: 12px;
  background-color: hsl(var(--accent));
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.selection-criteria-item span:last-child {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  font-size: 1.125rem; /* Increased from 1rem */
  font-weight: 500 !important;
}

/* Timeline Section */
.timeline-section {
  padding: 2.5rem 0; /* Reduced from 4rem */
  background-color: hsl(var(--background));
  position: relative;
  overflow: hidden;
}

.timeline-container {
  max-width: 64rem;
  margin: 0 auto;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, hsl(var(--accent)), hsl(var(--primary)), hsl(var(--sakura)));
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem; /* Reduced from 3rem */
  padding-left: 80px;
  min-height: 100px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline-item {
    padding-left: 0;
    padding-right: 0;
    display: flex;
    align-items: center;
  }
  
  /* Items at positions 2, 4, 6, 8 (1st, 3rd, 5th timeline items) - card on LEFT */
  .timeline-item:nth-child(2),
  .timeline-item:nth-child(4),
  .timeline-item:nth-child(6),
  .timeline-item:nth-child(8) {
    flex-direction: row;
  }
  
  .timeline-item:nth-child(2) .timeline-content-left,
  .timeline-item:nth-child(4) .timeline-content-left,
  .timeline-item:nth-child(6) .timeline-content-left,
  .timeline-item:nth-child(8) .timeline-content-left {
    flex: 1;
    max-width: 500px;
    margin-right: auto;
    padding-right: 3rem;
  }
  
  .timeline-item:nth-child(2) .timeline-spacer,
  .timeline-item:nth-child(4) .timeline-spacer,
  .timeline-item:nth-child(6) .timeline-spacer,
  .timeline-item:nth-child(8) .timeline-spacer {
    flex: 1;
  }
  
  /* Items at positions 3, 5, 7, 9 (2nd, 4th, 6th timeline items) - card on RIGHT */
  .timeline-item:nth-child(3),
  .timeline-item:nth-child(5),
  .timeline-item:nth-child(7),
  .timeline-item:nth-child(9) {
    flex-direction: row;
  }
  
  .timeline-item:nth-child(3) .timeline-spacer,
  .timeline-item:nth-child(5) .timeline-spacer,
  .timeline-item:nth-child(7) .timeline-spacer,
  .timeline-item:nth-child(9) .timeline-spacer {
    flex: 1;
  }
  
  .timeline-item:nth-child(3) .timeline-content-right,
  .timeline-item:nth-child(5) .timeline-content-right,
  .timeline-item:nth-child(7) .timeline-content-right,
  .timeline-item:nth-child(9) .timeline-content-right {
    flex: 1;
    max-width: 500px;
    margin-left: auto;
    padding-left: 3rem;
  }
}

.timeline-content {
  flex: 1;
  max-width: 500px;
}

.timeline-content-left {
  padding-left: 0;
  padding-right: 3rem;
  text-align: center;
}

.timeline-content-right {
  padding-right: 0;
  padding-left: 3rem;
  text-align: center;
}

@media (min-width: 768px) {
  .timeline-content-left {
    text-align: center;
    padding-right: 3rem;
    padding-left: 0;
  }
  
  .timeline-content-right {
    text-align: center;
    padding-left: 3rem;
    padding-right: 0;
  }
}

.timeline-spacer {
  display: none;
  flex: 1;
}

@media (min-width: 768px) {
  .timeline-spacer {
    display: block;
  }
}

.timeline-icon {
  position: absolute;
  left: 32px;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

@media (min-width: 768px) {
  .timeline-icon {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-icon::before {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: hsl(var(--primary));
  transition: all 0.3s ease;
  z-index: -1;
}

.timeline-icon svg {
  position: relative;
  z-index: 1;
  color: hsl(var(--primary-foreground));
}

.timeline-icon-highlight::before {
  background-color: hsl(var(--accent));
  box-shadow: var(--shadow-gold);
}

.timeline-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  background-color: hsl(var(--card));
}

.timeline-card:hover {
  box-shadow: var(--shadow-lg);
}

.timeline-card-highlight {
  background-color: hsl(var(--accent) / 0.2);
  border-color: hsl(var(--accent) / 0.5);
  box-shadow: var(--shadow-gold);
}

.timeline-date {
  display: inline-block;
  font-size: 1rem; /* Increased from 0.875rem */
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--muted-foreground));
}

.timeline-date-highlight {
  color: hsl(var(--accent));
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.timeline-description {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem; /* Increased from 1rem */
  font-weight: 500 !important;
}

/* Funding Section */
.funding-section {
  padding: 2.5rem 0; /* Reduced from 4rem */
  background-color: hsl(var(--background));
  position: relative;
  overflow: hidden;
}

.funding-decorative {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
}

.funding-info-note {
  max-width: 72rem;
  margin: 1.5rem auto 2rem; /* Reduced spacing */
  padding: 1.5rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--primary) / 0.05);
  border: 1px solid hsl(var(--primary) / 0.2);
}

.funding-note-text {
  font-size: 1.1875rem; /* Increased from 1.0625rem */
  line-height: 1.75;
  color: hsl(var(--foreground));
  margin: 0;
  text-align: center;
  font-weight: 500 !important;
}

.funding-note-text strong {
  color: hsl(var(--primary));
  font-weight: 600;
}

.funding-decorative::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, hsl(var(--accent) / 0.2), transparent);
}

.funding-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; /* Reduced from 3rem */
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .funding-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.funding-column {
  position: relative;
  z-index: 10;
}

.funding-column-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.funding-column-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background-color: hsl(var(--accent) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent));
}

.funding-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.funding-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.funding-item:hover {
  box-shadow: var(--shadow-md);
}

.funding-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  background-color: hsl(var(--accent) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(var(--accent));
}

.funding-item-content {
  flex: 1;
}

.funding-item-title {
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.funding-item-description {
  font-size: 1.125rem; /* Increased from 1rem */
  color: hsl(var(--muted-foreground));
  font-weight: 500 !important;
}

.commitment-notice {
  max-width: 64rem;
  margin: 2rem auto 0; /* Reduced from 3rem */
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: hsl(var(--destructive) / 0.05);
  border: 1px solid hsl(var(--destructive) / 0.2);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.commitment-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background-color: hsl(var(--destructive) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(var(--destructive));
}

.commitment-content {
  flex: 1;
}

.commitment-title {
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.commitment-description {
  font-size: 1.125rem; /* Increased from 1rem */
  color: hsl(var(--muted-foreground));
  font-weight: 500 !important;
}

/* Funding & Participation Conditions - New Style */
.funding-conditions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 90rem;
  margin: 2rem auto 0;
}

@media (min-width: 768px) {
  .funding-conditions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.funding-condition-card {
  background-color: hsl(var(--card));
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.funding-condition-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / 0.3);
}

.funding-condition-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid hsl(var(--border));
}

.funding-condition-badge {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.funding-condition-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.4;
  margin: 0;
  flex: 1;
}

.funding-condition-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.funding-condition-intro {
  font-size: 1.125rem; /* Increased from 1rem */
  color: hsl(var(--foreground));
  line-height: 1.7;
  margin: 0;
  font-weight: 500 !important;
}

.funding-condition-text {
  font-size: 1.125rem; /* Increased from 1rem */
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin: 0;
  font-weight: 500 !important;
}

.funding-condition-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.funding-condition-list-item {
  font-size: 1.125rem; /* Increased from 1rem */
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  padding-left: 1.75rem;
  position: relative;
  font-weight: 500 !important;
}

.funding-condition-list-item::before {
  content: '•';
  position: absolute;
  left: 0;
  color: hsl(var(--accent));
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
}

.funding-condition-sublist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.5rem;
}

.funding-condition-sublist li {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  position: relative;
  padding-left: 1rem;
}

.funding-condition-sublist li::before {
  content: '○';
  position: absolute;
  left: 0;
  color: hsl(var(--accent));
  font-size: 0.75rem;
}

.funding-condition-note {
  font-size: 1.0625rem; /* Increased from 0.9375rem */
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  padding-top: 0.5rem;
  border-top: 1px solid hsl(var(--border));
  font-weight: 500 !important;
}

/* Mobile Responsive for Funding Conditions */
@media (max-width: 480px) {
  .funding-conditions-grid {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .funding-condition-card {
    padding: 1.5rem;
  }
  
  .funding-condition-header {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
  }
  
  .funding-condition-badge {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .funding-condition-title {
    font-size: 1.125rem;
  }
  
  .funding-condition-intro,
  .funding-condition-text {
    font-size: 0.9375rem;
  }
  
  .funding-condition-list-item {
    font-size: 0.9375rem;
    padding-left: 1.5rem;
  }
  
  .funding-condition-note {
    font-size: 0.875rem;
  }
}

/* Application Section */
.application-section {
  padding: 2.5rem 0; /* Reduced from 4rem */
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.application-section .container {
  position: relative;
  z-index: 2;
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto 2.5rem; /* Reduced from 4rem */
}

@media (min-width: 768px) {
  .materials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.material-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: hsl(var(--primary-foreground) / 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--primary-foreground) / 0.1);
  transition: all 0.3s ease;
}

.material-card:hover {
  border-color: hsl(var(--primary-foreground) / 0.2);
}

.material-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.material-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background-color: hsl(var(--primary-foreground) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent));
}

.material-badge {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.material-badge-required {
  background-color: hsl(var(--accent) / 0.2);
  color: hsl(var(--accent));
}

.material-badge-optional {
  background-color: hsl(var(--primary-foreground) / 0.1);
  color: hsl(var(--primary-foreground) / 0.6);
}

.material-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  margin-bottom: 0.5rem;
}

.material-title-underline {
  text-decoration: underline;
}

.material-card-clickable {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}

.material-card-clickable:hover {
  border-color: hsl(var(--primary) / 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.material-description {
  font-size: 1.125rem; /* Increased from 1rem */
  color: hsl(var(--primary-foreground) / 0.7);
  font-weight: 500 !important;
}

.application-cta {
  max-width: 48rem;
  margin: 0 auto;
}

.application-cta-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: hsl(var(--card));
  box-shadow: var(--shadow-lg);
  border: 1px solid hsl(var(--border));
}

@media (min-width: 768px) {
  .application-cta-card {
    padding: 3rem;
  }
}

.application-cta-content {
  text-align: center;
}

.application-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .application-cta-title {
    font-size: 1.875rem;
  }
}

.application-cta-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem; /* Reduced from 2rem */
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
  font-size: 1.25rem; /* Increased from 1.125rem */
  display: block;
  white-space: nowrap;
  font-weight: 500 !important;
}

.application-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.application-cta-buttons a {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
}

@media (min-width: 640px) {
  .application-cta-buttons {
    flex-direction: row;
  }
}

.application-deadline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--destructive) / 0.1);
  border: 1px solid hsl(var(--destructive) / 0.2);
}

.deadline-label {
  color: hsl(var(--destructive));
  font-weight: 500;
}

.deadline-value {
  color: hsl(var(--foreground));
  font-weight: 700;
}

/* Footer */
.footer {
  background-color: hsl(var(--primary));
  padding: 4rem 0;
}

.footer-content {
  max-width: 64rem;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-column {
  flex: 1;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  margin-bottom: 1rem;
}

.footer-text {
  color: hsl(var(--primary-foreground) / 0.7);
  margin-bottom: 1rem;
  font-size: 1.125rem !important;
  font-weight: 500 !important;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--accent));
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-link:hover {
  color: hsl(var(--accent) / 0.8);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links .footer-link {
  color: hsl(var(--primary-foreground) / 0.7);
}

.footer-links .footer-link:hover {
  color: hsl(var(--primary-foreground));
}

.footer-divider {
  border-top: 1px solid hsl(var(--primary-foreground) / 0.1);
  padding-top: 2rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--primary-foreground) / 0.5);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-copyright {
    text-align: right;
  }
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: 5rem 0;
  background-color: hsl(var(--background));
  overflow: hidden;
}

.contact-content {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.contact-card {
  background-color: hsl(var(--card));
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid hsl(var(--border));
  text-align: center;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.contact-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-md);
}

.contact-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1rem;
}

.contact-description {
  font-size: 1.125rem; /* Increased from 1rem */
  color: #000000;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 500 !important;
}

.contact-email {
  display: flex;
  justify-content: center;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.contact-email-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: hsl(var(--primary-foreground));
}

.contact-email-link svg {
  flex-shrink: 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-info-item {
  padding: 2rem;
  background-color: hsl(var(--card));
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  border-color: hsl(var(--primary) / 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--accent) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent));
}

.contact-info-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  margin-bottom: 0.5rem;
}

.contact-info-text {
  font-size: 0.875rem;
  color: hsl(var(--primary-foreground) / 0.7);
  text-align: center;
}

@media (min-width: 768px) {
  .contact-card {
    padding: 4rem;
  }
  
  .contact-title {
    font-size: 2rem;
  }
}

/* Mobile Responsive Styles (Phones) - max-width: 480px */
@media (max-width: 480px) {
  /* Hero Section Mobile */
  .hero-title {
    white-space: normal;
    font-size: 1.25rem;
    line-height: 1.3;
  }
  
  .hero-content {
    padding: 2rem 1rem 0;
  }
  
  .hero-badge {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .badge-text {
    font-size: 0.8125rem;
  }
  
  .hero-info-grid {
    gap: 0.75rem;
  }
  
  .hero-info-card {
    padding: 0.75rem 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-hero,
  .btn-hero-outline {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  .hero-deadline {
    font-size: 1rem;
    margin-top: 1rem;
  }
  
  .deadline-date {
    font-size: 1.125rem;
  }
  
  /* Section Titles Mobile */
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .section-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  /* Introduction Section Mobile */
  .introduction-section {
    padding: 1rem 0;
  }
  
  .introduction-text {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  /* Program Overview Mobile */
  .program-overview-section {
    padding: 2rem 0;
  }
  
  .program-overview-content {
    padding: 1rem;
  }
  
  .program-overview-item {
    padding: 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .overview-label {
    min-width: auto;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
  }
  
  .overview-value {
    font-size: 1rem;
  }
  
  /* Program Overview - Make date appear under header on mobile */
  .program-overview-item-with-note .overview-main-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .program-overview-item-with-note .overview-label {
    min-width: auto;
    margin-bottom: 0.25rem;
  }
  
  .program-overview-item-with-note .overview-value {
    width: 100%;
  }
  
  /* Objectives Section Mobile */
  .objectives-section {
    padding: 2rem 0;
  }
  
  .objectives-grid {
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .objective-card {
    padding: 1.5rem;
  }
  
  .objective-title {
    font-size: 1.125rem;
  }
  
  .objective-description {
    font-size: 0.9375rem;
  }
  
  /* Program Section Mobile */
  .program-main-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .program-main-title {
    font-size: 1.25rem;
  }
  
  .program-main-description {
    font-size: 1rem;
  }
  
  .program-format-box {
    padding: 1.25rem;
  }
  
  .program-format-title {
    font-size: 1rem;
  }
  
  .program-format-text {
    font-size: 0.9375rem;
  }
  
  /* Eligibility Section Mobile */
  .eligibility-section {
    padding: 2rem 0;
  }
  
  .eligibility-card {
    padding: 1.25rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .eligibility-title {
    font-size: 1rem;
  }
  
  .eligibility-description {
    font-size: 0.9375rem;
  }
  
  /* Selection Criteria Mobile */
  .selection-criteria-section {
    padding: 2rem 0;
  }
  
  .selection-criteria-card {
    padding: 1.5rem;
  }
  
  .selection-criteria-title {
    font-size: 1rem;
  }
  
  /* Timeline Section Mobile */
  .timeline-section {
    padding: 2rem 0;
  }
  
  .timeline-item {
    padding-left: 60px;
    margin-bottom: 1.5rem;
  }
  
  .timeline-icon {
    left: 24px;
    width: 48px;
    height: 48px;
  }
  
  .timeline-line {
    left: 24px;
  }
  
  .timeline-card {
    padding: 1.25rem;
  }
  
  .timeline-title {
    font-size: 1.125rem;
  }
  
  .timeline-description {
    font-size: 0.9375rem;
  }
  
  /* Funding Section Mobile */
  .funding-section {
    padding: 2rem 0;
  }
  
  .funding-info-note {
    padding: 1.25rem;
    margin: 1rem auto 1.5rem;
  }
  
  .funding-note-text {
    font-size: 1rem;
  }
  
  .funding-item {
    padding: 1rem;
  }
  
  .funding-item-title {
    font-size: 1rem;
  }
  
  .funding-item-description {
    font-size: 0.9375rem;
  }
  
  .funding-conditions-grid {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .funding-condition-card {
    padding: 1.5rem;
  }
  
  .funding-condition-header {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
  }
  
  .funding-condition-badge {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .funding-condition-title {
    font-size: 1.125rem;
  }
  
  .funding-condition-intro,
  .funding-condition-text {
    font-size: 0.9375rem;
  }
  
  .funding-condition-list-item {
    font-size: 0.9375rem;
    padding-left: 1.5rem;
  }
  
  .funding-condition-note {
    font-size: 0.875rem;
  }
  
  /* Application Section Mobile */
  .application-section {
    padding: 2rem 0;
  }
  
  .materials-grid {
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .material-card {
    padding: 1.25rem;
  }
  
  .material-title {
    font-size: 1rem;
  }
  
  .material-description {
    font-size: 0.9375rem;
  }
  
  .application-cta-card {
    padding: 1.5rem;
  }
  
  .application-cta-title {
    font-size: 1.25rem;
  }
  
  .application-cta-description {
    font-size: 1rem;
    white-space: normal;
    padding: 0 0.5rem;
  }
  
  .application-cta-buttons {
    margin-bottom: 1.5rem;
  }
  
  .btn-xl {
    width: 100%;
    padding: 0 1.5rem;
    font-size: 1rem;
    height: 48px;
  }
  
  .application-deadline {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  /* Contact Section Mobile */
  .contact-section {
    padding: 3rem 0;
  }
  
  .contact-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-title {
    font-size: 1.5rem;
  }
  
  .contact-description {
    font-size: 0.9375rem;
  }
  
  .contact-email-link {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }
  
  /* Container Mobile */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Buttons Mobile */
  .btn {
    font-size: 0.875rem;
  }
  
  /* Cards General Mobile */
  .program-overview-item,
  .objective-card,
  .eligibility-card,
  .selection-criteria-card,
  .timeline-card,
  .funding-item,
  .material-card {
    border-radius: 0.5rem;
  }
}

