/* ====================================================
   Rhino Innovation Lab — Main Stylesheet
   Brand: Primary #000000 | Secondary #333333 | Font: Tahoma
   ==================================================== */

/* === RESET & ROOT === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #000000;
  --secondary: #333333;
  --bg: #ffffff;
  --text: #333333;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg-light: #f9fafb;
  --radius: 0.75rem;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.18);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Tahoma, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: #222;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--primary);
}
.btn-block {
  display: block;
  width: 100%;
}

/* === SECTION SPACING === */
.section {
  padding: 4rem 0;
}
.section-lg {
  padding: 6rem 0;
}
.section-sm {
  padding: 2rem 0;
}

/* === SECTION HEADING === */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo-mobile {
  height: 48px;
  width: auto;
  display: none;
}
.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.desktop-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--primary);
}
.desktop-nav .nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background var(--transition);
}
.desktop-nav .nav-cta:hover {
  background: #222;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.25rem;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: var(--text);
  transition:
    background var(--transition),
    color var(--transition);
}
.mobile-nav a:hover {
  background: var(--bg-light);
  color: var(--primary);
}
.mobile-nav .nav-cta {
  margin-top: 0.5rem;
  background: var(--primary);
  color: #fff;
  text-align: center;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}
.mobile-nav .nav-cta:hover {
  background: #222;
}

/* =============================================
   HERO SECTIONS
   ============================================= */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 700px;
  margin: 0 auto;
}
.page-hero.secondary {
  background: var(--secondary);
}

/* Home hero */
.home-hero {
  background: var(--primary);
  color: #fff;
  padding: 5rem 0;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.home-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.home-hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.home-hero-image {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.home-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   PROGRAM CARDS (Home what-we-do)
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.program-card-img {
  height: 200px;
  overflow: hidden;
}
.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.program-card:hover .program-card-img img {
  transform: scale(1.05);
}
.program-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.program-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.program-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1rem;
}
.learn-more {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.learn-more:hover {
  text-decoration: underline;
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--secondary);
  color: #fff;
  padding: 3.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.stat-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

/* =============================================
   PARTNERS
   ============================================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.partner-placeholder {
  height: 48px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}
.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-sm);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.partner-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}
.partner-card h3 {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--secondary);
  font-weight: 700;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.mission-vision-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mv-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.mv-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.mv-card p {
  color: var(--text-muted);
  line-height: 1.7;
}
.about-image-wrap {
  border-radius: 1rem;
  overflow: hidden;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: stretch;
}

/* =============================================
   PROGRAMS PAGE — program item layout
   ============================================= */
.program-item {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.program-img-wrap {
  border-radius: 0.75rem;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4/3;
  flex-shrink: 0;
}
.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.program-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.program-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.focus-heading {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem !important;
}
.focus-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.focus-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.check-icon {
  color: #16a34a;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.check-icon svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 768px) {
  .program-item {
    grid-template-columns: 1fr;
  }
  .program-img-wrap {
    aspect-ratio: 16/9;
  }
  .focus-list {
    grid-template-columns: 1fr;
  }
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow);
}
.value-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}
.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =============================================
   PROGRAMS PAGE
   ============================================= */
.program-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  margin-bottom: 5rem;
}
.program-item:last-child {
  margin-bottom: 0;
}
.program-item.reverse {
  direction: rtl;
}
.program-item.reverse > * {
  direction: ltr;
}
.program-img-wrap {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.program-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}
.program-content > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.focus-heading {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
.focus-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}
.focus-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.check-icon {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-icon svg {
  width: 18px;
  height: 18px;
}

.cta-section {
  background: #f3f4f6;
  border-radius: 1.25rem;
  text-align: center;
  padding: 4rem 2rem;
}
.cta-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}
.cta-section p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* =============================================
   TRAININGS PAGE
   ============================================= */
.trainings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.training-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.training-card:hover {
  box-shadow: var(--shadow);
}
.training-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.training-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-open {
  background: #dcfce7;
  color: #15803d;
}
.badge-soon {
  background: #dbeafe;
  color: #1d4ed8;
}
.badge-waitlist {
  background: #ffedd5;
  color: #c2410c;
}
.badge-expired {
  background: #f3f4f6;
  color: #6b7280;
}
.training-level {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.training-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}
.training-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.training-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.training-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.training-meta-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--secondary);
}
.training-card-footer {
  padding: 1rem 1.5rem;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}
.training-card-footer a,
.training-card-footer button {
  display: block;
  width: 100%;
  padding: 0.6rem;
  text-align: center;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  transition: all var(--transition);
}
.training-card-footer a:hover,
.training-card-footer button:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* =============================================
   PAST TRAININGS IMAGE SLIDER
   ============================================= */
.slider-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.slider-track {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 1rem;
  overflow: hidden;
  background: #e5e7eb;
  box-shadow: var(--shadow-lg);
}
.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.slider-slide.active {
  opacity: 1;
}
.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  padding: 2rem 2rem 1.5rem;
  color: #fff;
}
.slide-caption h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.slide-caption p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}
.slide-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  z-index: 10;
}
.slider-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}
.slider-btn.prev {
  left: 1rem;
}
.slider-btn.next {
  right: 1rem;
}
.slider-btn svg {
  width: 20px;
  height: 20px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.slider-dot.active {
  background: var(--primary);
  width: 28px;
}

/* =============================================
   TEAM PAGE
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.team-card-img {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #e5e7eb;
}
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card-img img {
  transform: scale(1.05);
}
.team-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.team-card:hover .team-card-overlay {
  opacity: 1;
}
.team-social-links {
  display: flex;
  gap: 0.75rem;
  transform: translateY(16px);
  transition: transform var(--transition);
}
.team-card:hover .team-social-links {
  transform: translateY(0);
}
.team-social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    color var(--transition);
}
.team-social-links a:hover {
  background: var(--secondary);
  color: #fff;
}
.team-social-links a svg {
  width: 18px;
  height: 18px;
}
.team-card-body {
  padding: 1.5rem;
  text-align: center;
}
.team-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.team-card-body .role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.team-card-body .bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
.contact-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item-text h3 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}
.contact-item-text p,
.contact-item-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact-item-text a:hover {
  color: var(--primary);
}
.contact-socials {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.contact-socials h3 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.social-icons {
  display: flex;
  gap: 0.75rem;
}
.social-icon-link {
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition:
    background var(--transition),
    color var(--transition);
}
.social-icon-link:hover {
  background: var(--primary);
  color: #fff;
}
.social-icon-link svg {
  width: 20px;
  height: 20px;
}
.map-placeholder {
  height: 220px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2rem;
}
.map-embed {
  height: 220px;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 2rem;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.form-msg {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: none;
}
.form-msg.success {
  background: #dcfce7;
  color: #15803d;
  display: block;
}
.form-msg.error {
  background: #fee2e2;
  color: #dc2626;
  display: block;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--secondary);
  color: #fff;
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.footer-col h4 {
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: #fff;
}
.footer-col ul li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}
.footer-social a:hover {
  color: #fff;
}
.footer-social a i {
  font-size: 1.2rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* =============================================
   ADMIN PANEL
   ============================================= */
.admin-body {
  background: #f3f4f6;
  font-family: Tahoma, Verdana, sans-serif;
  min-height: 100vh;
}
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.admin-login-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
}
.admin-login-box h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.admin-login-box .subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.admin-header {
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-header h1 {
  font-size: 1.1rem;
  font-weight: 700;
}
.admin-header a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.admin-header a:hover {
  color: #fff;
}
.admin-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.admin-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  border-bottom: 2px solid var(--border);
  font-weight: 700;
  color: var(--text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.admin-table tr:hover td {
  background: var(--bg-light);
}
.table-actions {
  display: flex;
  gap: 0.5rem;
}
.btn-edit {
  background: #dbeafe;
  color: #1d4ed8;
  padding: 0.35rem 0.85rem;
  border-radius: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
}
.btn-edit:hover {
  background: #bfdbfe;
}
.btn-delete {
  background: #fee2e2;
  color: #dc2626;
  padding: 0.35rem 0.85rem;
  border-radius: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-delete:hover {
  background: #fecaca;
}
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}
.alert {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.alert-success {
  background: #dcfce7;
  color: #15803d;
}
.alert-error {
  background: #fee2e2;
  color: #dc2626;
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center {
  text-align: center;
}
.text-muted {
  color: var(--text-muted);
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.bg-light {
  background: var(--bg-light);
}
.bg-white {
  background: #fff;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trainings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .desktop-nav {
    display: none;
  }
  .brand-logo-mobile {
    display: block;
  }
  .brand-name {
    display: none;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .trainings-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .about-image-wrap {
  border-radius: 1rem;
  overflow: hidden;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: stretch;
}

  .program-item {
    grid-template-columns: 1fr;
  }
  .program-item.reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-btns {
    flex-direction: column;
  }
  .focus-list {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   PROGRAMS PAGE — program item layout
   ============================================= */
.program-item {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.program-img-wrap {
  border-radius: 0.75rem;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4/3;
  flex-shrink: 0;
}
.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.program-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.program-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.focus-heading {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem !important;
}
.focus-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.focus-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.check-icon {
  color: #16a34a;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.check-icon svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 768px) {
  .program-item {
    grid-template-columns: 1fr;
  }
  .program-img-wrap {
    aspect-ratio: 16/9;
  }
  .focus-list {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   PAST TRAININGS — grid display (trainings.php)
   ============================================= */
.past-trainings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.past-training-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.past-training-card:hover {
  box-shadow: var(--shadow);
}
.past-training-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}
.past-training-media iframe,
.past-training-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}
.past-training-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 3rem;
  background: #f3f4f6;
}
.past-training-body {
  padding: 1.25rem;
}
.past-training-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.5rem;
}
.past-training-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.past-training-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 600px) {
  .past-trainings-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   SLIDER VIDEO WRAP — YouTube in slider slide
   ============================================= */
.slide-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}
.slide-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
