/* ==========================================================================
   UI Components - Multi Skills Institute
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--brand-green);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(26, 122, 76, 0.3);
}

.btn-primary:hover {
  background-color: var(--brand-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 122, 76, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--primary-navy);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(196, 163, 90, 0.3);
}

.btn-gold:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 163, 90, 0.4);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-pill);
  background-color: var(--bg-warm-light);
  color: var(--primary-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 0.2rem 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--brand-green);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-green);
  transition: width var(--transition-normal);
}

[dir="ltr"] .nav-link::after {
  right: auto;
  left: 0;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--brand-green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary-navy);
  color: var(--primary-navy);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background-color: var(--primary-navy);
  color: var(--text-white);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* Cards System */
.card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Value Card */
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border-bottom: 3px solid transparent;
}

.value-card:hover {
  border-bottom-color: var(--accent-gold);
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.2rem;
  background-color: var(--brand-green-light);
  color: var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* Program Card - Custom asymmetric layout */
.program-card {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card-header {
  padding: 2rem 2rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.program-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light));
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.program-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--brand-green-light);
  color: var(--brand-green);
  font-weight: 700;
  border-radius: var(--radius-pill);
}

.program-card-body {
  padding: 0 2rem 2rem;
  flex: 1;

}

.program-card-body h3 {
  margin-bottom: 0.8rem;
}

.program-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.program-features {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.program-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.program-features li i {
  color: var(--brand-green);
}

/* Timeline Component (Events) */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 50%;
  width: 2px;
  background-color: var(--border-color);
  transform: translateX(50%);
}

[dir="ltr"] .timeline::before {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  width: 50%;
  padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
  right: 0;
  text-align: left;
}

.timeline-item:nth-child(even) {
  right: 50%;
  text-align: right;
}

[dir="ltr"] .timeline-item:nth-child(odd) {
  right: auto;
  left: 0;
  text-align: right;
}

[dir="ltr"] .timeline-item:nth-child(even) {
  right: auto;
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--brand-green);
  border: 4px solid var(--bg-warm-light);
  box-shadow: 0 0 0 2px var(--brand-green);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  left: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: -8px;
}

[dir="ltr"] .timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
  left: auto;
}

[dir="ltr"] .timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
  right: auto;
}

.timeline-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--brand-green);
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-card);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(26, 122, 76, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
