﻿/* ============================================================
   FRENCH COURSES HUB PAGE
   ============================================================ */

.fch-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Hero ---- */
.fch-hero {
  background: radial-gradient(ellipse at 60% 40%, #2d6a4f 0%, #1a4731 45%, #0e2a1c 100%);
  padding: 110px 0 56px;
  position: relative;
  overflow: hidden;
}

.fch-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/banner/banner-1.png');
  background-size: cover;
  background-position: center 20%;
  opacity: 0.08;
}

.fch-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.fch-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.50);
  margin-bottom: 20px;
}
.fch-breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color 0.18s;
}
.fch-breadcrumb a:hover { color: #f5c842; }
.fch-breadcrumb i { font-size: 0.55rem; }
.fch-breadcrumb span { color: rgba(255,255,255,0.85); }

.fch-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.fch-hero-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.60);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.fch-hero-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fch-hero-tags span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.fch-hero-tags span i { color: #f5c842; font-size: 0.7rem; }

/* ---- Section Layout ---- */
.fch-section {
  background: #ffffff;
  padding: 72px 0 64px;
}

.fch-section-alt {
  background: #f7f5f0;
}

.fch-section-head {
  margin-bottom: 40px;
}

.fch-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #e8a020;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.fch-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a4731;
  line-height: 1.22;
  margin-bottom: 10px;
}

.fch-section-desc {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.80;
  max-width: 580px;
}

/* ---- Course List Rows ---- */
.fch-courses-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fch-course-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1.5px solid #e5e2da;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.22s, border-color 0.22s, transform 0.18s;
  cursor: pointer;
}

.fch-section-alt .fch-course-row {
  background: #fff;
}

.fch-course-row:hover {
  box-shadow: 0 8px 30px rgba(26, 71, 49, 0.13);
  border-color: #1a4731;
  transform: translateY(-2px);
}

/* Course image thumbnail */
.fch-course-img {
  flex-shrink: 0;
  width: 160px;
  height: 130px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}
.fch-course-row:hover .fch-course-img {
  transform: scale(1.04);
}

/* Exam badge column (replaces image for DELF/TEF) */
.fch-exam-badge-col {
  flex-shrink: 0;
  width: 100px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fch-exam-badge-col.navy { background: #1a4731; }
.fch-exam-badge-col.gold { background: #e8a020; }

.fch-exam-badge-col span {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}
.fch-exam-badge-col.gold span { color: #1a1a1a; }

/* Course info block */
.fch-course-info {
  flex: 1 1 0;
  padding: 22px 24px;
  min-width: 0;
}

.fch-course-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.fch-course-badge.offline {
  background: #fff3e0;
  color: #b45309;
}
.fch-course-badge.hybrid {
  background: #e8f5e9;
  color: #1a4731;
}
.fch-course-badge.kids {
  background: #fce4ec;
  color: #c2185b;
}

.fch-course-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
  line-height: 1.3;
}

.fch-course-info p {
  font-size: 0.80rem;
  color: #6b7280;
  line-height: 1.68;
  margin-bottom: 14px;
}

.fch-course-details {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.fch-course-details span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  color: #6b7280;
  font-weight: 500;
}
.fch-course-details i {
  color: #1a4731;
  font-size: 0.72rem;
}

/* Arrow indicator */
.fch-course-arrow {
  flex-shrink: 0;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fch-course-arrow i {
  font-size: 1rem;
  color: #ccc;
  transition: color 0.2s, transform 0.2s;
}
.fch-course-row:hover .fch-course-arrow i {
  color: #1a4731;
  transform: translateX(4px);
}

/* ---- Why Section ---- */
.fch-why {
  background: #1a4731;
  padding: 72px 0 64px;
  text-align: center;
}

.fch-why-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 40px;
}

.fch-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.fch-why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 28px 20px;
  transition: background 0.2s, transform 0.18s;
}
.fch-why-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.fch-why-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,200,66,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.fch-why-icon i { font-size: 1.15rem; color: #f5c842; }

.fch-why-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.fch-why-card p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.65;
}

.fch-why-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.fch-btn-primary {
  display: inline-block;
  background: #e8a020;
  color: #1a1a1a;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background 0.18s, transform 0.15s;
}
.fch-btn-primary:hover { background: #f5c842; transform: translateY(-2px); }

.fch-btn-ghost {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.40);
  transition: border-color 0.18s, background 0.18s, transform 0.15s;
}
.fch-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .fch-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .fch-hero-title { font-size: 1.85rem; }

  .fch-course-row {
    flex-direction: column;
    align-items: stretch;
  }

  .fch-course-img {
    width: 100%;
    height: 180px;
  }

  .fch-exam-badge-col {
    width: 100%;
    height: 80px;
  }

  .fch-course-arrow {
    display: none;
  }

  .fch-course-info {
    padding: 18px 18px 20px;
  }
}

@media (max-width: 540px) {
  .fch-hero { padding: 96px 0 44px; }
  .fch-hero-title { font-size: 1.5rem; }
  .fch-hero-inner,
  .fch-container { padding: 0 18px; }

  .fch-why-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .fch-why-title { font-size: 1.4rem; }

  .fch-section-title { font-size: 1.4rem; }
  .fch-section,
  .fch-why { padding: 52px 0 48px; }
}
