/* ===== Root Variables ===== */
:root {
  --primary: #2c3e1e;
  --primary-light: #3e5a2b;
  --accent: #c8a951;
  --dark: #1a1a1a;
  --light: #f4f1eb;
  --gray: #6c757d;
  --white: #ffffff;
}

/* ===== Global ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  background-color: var(--white);
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: #b8952e;
}

/* ===== Navbar ===== */
.navbar {
  background-color: var(--primary) !important;
  padding: 0.75rem 1rem;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}
.navbar-brand:hover {
  color: var(--accent) !important;
}
.logo-placeholder {
  width: 50px;
  height: 50px;
  border: 2px dashed var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--accent);
  text-transform: uppercase;
  border-radius: 4px;
  flex-shrink: 0;
}
.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}

/* ===== Hero Section ===== */
.hero {
  background-color: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}
.hero-image-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
}
.hero-image-placeholder span {
  border: 2px dashed var(--accent);
  padding: 2rem 3rem;
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hero p.lead {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== Buttons ===== */
.btn-accent {
  background-color: var(--accent);
  color: var(--dark);
  font-weight: 600;
  border: none;
  padding: 0.65rem 1.75rem;
  transition: background-color 0.2s;
}
.btn-accent:hover {
  background-color: #b8952e;
  color: var(--dark);
}
.btn-outline-accent {
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  background: transparent;
  transition: all 0.2s;
}
.btn-outline-accent:hover {
  background-color: var(--accent);
  color: var(--dark);
}

/* ===== Section Styling ===== */
.section-padding {
  padding: 5rem 0;
}
.section-dark {
  background-color: var(--dark);
  color: var(--white);
}
.section-light {
  background-color: var(--light);
}
.section-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--gray);
  margin-bottom: 3rem;
}
.accent-bar {
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin-bottom: 1.5rem;
}
.accent-bar-center {
  margin-left: auto;
  margin-right: auto;
}

/* ===== Image Placeholders ===== */
.img-placeholder {
  background: linear-gradient(135deg, #ddd 0%, #c0c0c0 100%);
  border: 2px dashed var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  min-height: 250px;
}
.img-placeholder-tall {
  min-height: 350px;
}

/* ===== Feature Cards ===== */
.feature-card {
  background: var(--white);
  border: none;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}

/* ===== Course Cards ===== */
.course-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.course-card .img-placeholder {
  border-radius: 0;
  min-height: 200px;
  border: none;
  border-bottom: 2px dashed var(--gray);
}
.course-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-card-body h4 {
  font-weight: 700;
}
.course-card-body p {
  flex: 1;
}
.course-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.course-meta span {
  font-size: 0.85rem;
  color: var(--gray);
}
.course-meta i {
  color: var(--accent);
  margin-right: 0.25rem;
}
.course-level {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.level-beginner {
  background-color: #d4edda;
  color: #155724;
}
.level-intermediate {
  background-color: #fff3cd;
  color: #856404;
}
.level-advanced {
  background-color: #f8d7da;
  color: #721c24;
}
.level-specialist {
  background-color: #d1c4e9;
  color: #4a148c;
}

/* ===== Team Cards ===== */
.team-card {
  text-align: center;
}
.team-photo-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ddd 0%, #c0c0c0 100%);
  border: 3px dashed var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gray);
  font-size: 0.8rem;
  text-transform: uppercase;
}
.team-card h5 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.team-card .role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* ===== Testimonial ===== */
.testimonial {
  background-color: var(--primary);
  border-radius: 8px;
  padding: 2.5rem;
  color: var(--white);
}
.testimonial blockquote {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.testimonial .attribution {
  color: var(--accent);
  font-weight: 600;
}

/* ===== Stats ===== */
.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-item p {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 4rem 0;
}
.cta-banner h2 {
  font-weight: 700;
}

/* ===== Footer ===== */
footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0 1.5rem;
}
footer h6 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 1rem;
}
footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover {
  color: var(--accent);
}
footer .footer-links {
  list-style: none;
  padding: 0;
}
footer .footer-links li {
  margin-bottom: 0.5rem;
}
footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.page-header h1 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.page-header .breadcrumb {
  justify-content: center;
  background: transparent;
  margin-bottom: 0;
}
.page-header .breadcrumb-item a {
  color: var(--accent);
}
.page-header .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Timeline (About Page) ===== */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
  border-left: 2px solid var(--accent);
  padding-bottom: 1rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent);
}
.timeline-item h5 {
  font-weight: 700;
  color: var(--accent);
}

/* ===== Values Grid ===== */
.value-card {
  padding: 1.5rem;
  text-align: center;
}
.value-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.value-card h5 {
  font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .navbar-brand {
    white-space: normal;
    font-size: 1rem;
  }
  .navbar-brand img {
    height: 60px !important;
    width: 60px !important;
  }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero {
    min-height: 400px;
  }
  .stat-item h3 {
    font-size: 2rem;
  }
}
