/* Emerging Leaders Advisory Program Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8fafc;
}

/* Homepage Styles */
.homepage {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: linear-gradient(135deg, #1e3a8a, #3730a3);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.program-title {
  text-align: center;
  flex: 1;
}

.program-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.program-title p {
  font-size: 1.2rem;
  opacity: 0.9;
  font-style: italic;
}

/* Navigation */
.nav {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.nav li {
  margin: 0;
}

.nav a {
  display: block;
  padding: 0.75rem 1.5rem;
  background: #f3f4f6;
  color: #1e3a8a;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
}

.nav a:hover {
  background: #1e3a8a;
  color: white;
  transform: translateY(-1px);
}

/* Main Content */
.main-content {
  display: grid;
  gap: 2rem;
}

section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

section h2 {
  color: #1e3a8a;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #d97706;
  padding-bottom: 0.5rem;
}

section h3 {
  color: #1e3a8a;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

section h4 {
  color: #374151;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.mission p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
}

/* Lists */
ul, ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
  color: #4b5563;
}

/* Competency Grid */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.competency {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #0ea5e9;
  transition: transform 0.2s ease;
}

.competency:hover {
  transform: translateY(-2px);
}

.competency h4 {
  color: #0c4a6e;
  margin-bottom: 0.75rem;
}

.competency p {
  color: #0f172a;
  font-size: 0.95rem;
}

/* Implementation Grid */
.implementation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.implementation-section {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
}

.implementation-section h3 {
  color: #1e293b;
  margin-top: 0;
}

/* Program Sequence */
.sequence-steps {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.step {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 250px;
}

.step-number {
  background: #d97706;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0;
  font-size: 1.2rem;
}

.step-content p {
  margin: 0;
  color: #6b7280;
}

/* Session Grid */
.session-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.session-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  padding-top: 3rem; /* Add extra top padding for duration tag */
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: block;
  position: relative;
  min-height: 180px; /* Ensure consistent height */
}

.session-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #1e3a8a;
}

.session-card h4 {
  color: #1e3a8a;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-right: 2rem; /* Add padding to prevent overlap with duration tag */
  line-height: 1.4;
}

.session-card p {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.duration {
  background: #d97706;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  position: absolute;
  top: 1rem;
  right: 1rem;
  white-space: nowrap; /* Prevent text wrapping */
  z-index: 10; /* Ensure it's above other content */
}

.session-card.coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
}

.session-card.coming-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: #e5e7eb;
}

/* Footer */
.footer {
  background: #1e3a8a;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  border-radius: 12px;
}

.footer p {
  margin: 0.5rem 0;
  opacity: 0.9;
}

/* Session Pages */
.session-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.breadcrumb {
  margin-bottom: 2rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.breadcrumb a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #6b7280;
}

/* Coming Soon Pages */
.coming-soon-content {
  text-align: center;
  background: white;
  padding: 4rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.coming-soon-content h1 {
  color: #1e3a8a;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.coming-soon-content p {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.back-home {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: #1e3a8a;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.back-home:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .homepage {
    padding: 0 15px;
  }
  
  .program-title h1 {
    font-size: 2rem;
  }
  
  .logo-container {
    flex-direction: column;
    text-align: center;
  }
  
  .nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nav a {
    text-align: center;
  }
  
  .competency-grid {
    grid-template-columns: 1fr;
  }
  
  .implementation-grid {
    grid-template-columns: 1fr;
  }
  
  .sequence-steps {
    flex-direction: column;
  }
  
  .session-grid {
    grid-template-columns: 1fr;
  }
  
  .session-card {
    min-height: auto; /* Allow flexible height on mobile */
    padding-top: 2.5rem; /* Reduce top padding on mobile */
  }
  
  .session-card h4 {
    font-size: 1.1rem; /* Slightly smaller on mobile */
    padding-right: 1rem; /* Less padding on mobile */
  }
  
  .duration {
    font-size: 0.7rem; /* Smaller duration tag on mobile */
    padding: 0.25rem 0.6rem;
  }
  
  .coming-soon-content h1 {
    font-size: 2rem;
  }
  
  section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .program-title h1 {
    font-size: 1.5rem;
  }
  
  .program-title p {
    font-size: 1rem;
  }
  
  section h2 {
    font-size: 1.5rem;
  }
  
  .logo {
    height: 40px;
  }
}