/* ============================================================
   TFE Canada – Shared Inner Page Stylesheet
   Extracted from main page (Ascendio / Elementor theme)
   ============================================================ */

/* -- Google Font -- */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,400italic&subset=latin');

/* -- Reset -- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0; padding: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px; line-height: 1.5;
  color: #525b64;
}

img { max-width: 100%; height: auto; }
a { color: #56be78; text-decoration: none; }
a:hover { color: #569bbe; }

h1 { font-size: 48px; font-weight: 600; color: #28498c; line-height: 1; margin: 0 0 20px; font-family: 'Open Sans', sans-serif; }
h2 { font-size: 30px; font-weight: 600; color: #28498c; line-height: 1.1; margin: 0 0 16px; font-family: 'Open Sans', sans-serif; }
h3 { font-size: 24px; font-weight: 400; color: #27323d; line-height: 1.25; margin: 0 0 12px; font-family: 'Open Sans', sans-serif; }
h4 { font-size: 20px; font-weight: 700; color: #27323d; line-height: 1.25; margin: 0 0 10px; }
h5 { font-size: 18px; font-weight: 400; color: #27323d; margin: 0 0 8px; }
h6 { font-size: 16px; font-weight: 700; color: #27323d; margin: 0 0 8px; }
p  { margin: 0 0 16px; }
ul, ol { padding-left: 20px; margin: 0 0 16px; }

/* -- Layout -- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ---- TOP PANEL ---- */
.top-panel {
  background-color: #2a2f33;
  padding: 10px 0;
}
.top-panel-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.top-panel a { color: #acb8c1; text-decoration: none; font-size: 13px; }
.top-panel a:hover { color: #ffffff; }
.social-list__items {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 15px;
}
.social-list__items li a {
  color: #acb8c1; font-size: 13px;
}
.social-list__items li a:hover { color: #fff; }

/* ---- SITE HEADER ---- */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  position: relative;
  z-index: 100;
}
.header-wrapper { padding: 18px 0; }
.header-container__flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.site-logo { display: block; }
.site-logo__link { display: inline-block; }
.site-link__img { width: 190px; height: auto; display: block; }

/* ---- MAIN NAVIGATION ---- */
.main-navigation { flex: 1; display: flex; justify-content: flex-end; align-items: center; }
.main-navigation .menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px; flex-wrap: wrap;
}
.main-navigation .menu > li > a {
  color: #525b64; text-decoration: none;
  font-weight: 700; font-size: 15px;
  padding: 8px 0; display: block;
  position: relative;
  transition: color 0.2s;
}
.main-navigation .menu > li > a::after {
  content: ''; display: block;
  height: 2px; background: #569bbe;
  position: absolute; bottom: 0; left: 0; right: 0;
  transform: scaleX(0); transition: transform 0.2s;
}
.main-navigation .menu > li > a:hover,
.main-navigation .menu > li.current > a { color: #569bbe; }
.main-navigation .menu > li > a:hover::after,
.main-navigation .menu > li.current > a::after { transform: scaleX(1); }

/* ---- MOBILE TOGGLE ---- */
.menu-toggle {
  display: none; background: none; border: none;
  font-size: 22px; color: #569bbe; cursor: pointer; padding: 4px 8px;
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-menu__wrap { display: none; width: 100%; }
  .main-menu__wrap.open { display: block; }
  .main-navigation .menu { flex-direction: column; gap: 0; background: #f6f6f6; }
  .main-navigation .menu > li > a { padding: 12px 15px; border-bottom: 1px solid #ddd; }
  .header-container__flex { flex-wrap: wrap; }
}

/* ---- PAGE BANNER (replaces showcase on inner pages) ---- */
.page-banner {
  background: linear-gradient(135deg, #28498c 0%, #56be78 100%);
  padding: 60px 0;
  text-align: center;
}
.page-banner__title {
  font-size: 42px; font-weight: 700;
  color: #ffffff; margin: 0 0 10px;
}
.page-banner__breadcrumb {
  font-size: 14px; color: rgba(255,255,255,0.8);
}
.page-banner__breadcrumb a { color: rgba(255,255,255,0.9); }
.page-banner__breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-banner__breadcrumb span { margin: 0 6px; }

/* ---- SECTION STYLES ---- */
.section { padding: 70px 0; }
.section--alt { background-color: #f8fafb; }
.section--dark { background-color: #272b2f; color: #acb8c1; }
.section--blue { background-color: #28498c; color: #fff; }
.section--green { background-color: #56be78; color: #fff; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 700px; margin: 0 auto; color: #525b64; font-size: 16px; }
.section--dark .section-header p,
.section--blue .section-header p { color: rgba(255,255,255,0.8); }
.section--dark .section-header h2,
.section--blue .section-header h2 { color: #fff; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block; padding: 13px 36px;
  border-radius: 3px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: all 0.25s; cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background-color: #569bbe; color: #fff; border-color: #569bbe;
}
.btn-primary:hover { background-color: #525b64; border-color: #525b64; color: #fff; }
.btn-secondary {
  background: transparent; color: #569bbe; border-color: #569bbe;
}
.btn-secondary:hover { background-color: #569bbe; color: #fff; }
.btn-white { background: #fff; color: #28498c; border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; border-color: #fff; }

/* ---- CARDS / GRID ---- */
.grid { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.grid-col { padding: 0 15px; flex: 0 0 33.333%; max-width: 33.333%; }
.grid-col-2 { flex: 0 0 50%; max-width: 50%; }
.grid-col-4 { flex: 0 0 25%; max-width: 25%; }
.grid-col-full { flex: 0 0 100%; max-width: 100%; }

@media (max-width: 991px) {
  .grid-col, .grid-col-4 { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 600px) {
  .grid-col, .grid-col-2, .grid-col-4 { flex: 0 0 100%; max-width: 100%; }
}

.card {
  background: #fff; border-radius: 4px;
  box-shadow: 0 2px 12px rgba(82,91,100,0.1);
  overflow: hidden; margin-bottom: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(82,91,100,0.15); }
.card__body { padding: 25px; }
.card__title { font-size: 18px; font-weight: 700; color: #28498c; margin: 0 0 10px; }
.card__meta { font-size: 12px; color: #569bbe; margin-bottom: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.card__text { color: #525b64; font-size: 15px; line-height: 1.6; margin-bottom: 0; }
.card__img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card__tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  background: #569bbe; color: #fff; padding: 3px 10px;
  border-radius: 2px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px;
}

/* ---- ICON BOX ---- */
.icon-box { text-align: center; padding: 30px 20px; }
.icon-box__icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #f0f7fb; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 20px;
  font-size: 30px; color: #569bbe;
}
.icon-box__title { font-size: 18px; font-weight: 700; color: #28498c; margin-bottom: 10px; }
.icon-box__text { color: #525b64; font-size: 15px; line-height: 1.65; }

/* ---- STAT BOX ---- */
.stat-box { text-align: center; padding: 30px 20px; }
.stat-box__number { font-size: 48px; font-weight: 700; color: #569bbe; line-height: 1; margin-bottom: 8px; }
.stat-box__label { font-size: 14px; color: #525b64; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---- TIMELINE ---- */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: rgba(86,155,190,0.3); transform: translateX(-50%);
}
.timeline-item { display: flex; margin-bottom: 50px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-dot {
  position: absolute; left: 50%; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #569bbe; transform: translateX(-50%);
  box-shadow: 0 0 0 5px rgba(86,155,190,0.2);
  z-index: 1;
}
.timeline-content {
  width: 45%; background: #fff; padding: 22px 28px;
  border-radius: 4px; box-shadow: 0 2px 10px rgba(82,91,100,0.1);
}
.timeline-item:nth-child(odd)  .timeline-content { margin-right: 5%; }
.timeline-item:nth-child(even) .timeline-content { margin-left: 5%; }
.timeline-date { font-size: 13px; color: #569bbe; font-weight: 700; margin-bottom: 6px; }
.timeline-title { font-size: 18px; font-weight: 700; color: #28498c; margin-bottom: 8px; }
@media (max-width: 768px) {
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(odd) { flex-direction: column; padding-left: 50px; }
  .timeline-dot { left: 20px; }
  .timeline-content, .timeline-item:nth-child(odd)  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { width: 100%; margin: 0; }
}

/* ---- FORM ---- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: #27323d; margin-bottom: 6px; font-size: 14px; }
.form-control {
  width: 100%; padding: 12px 15px; border: 1px solid #dde4e8;
  border-radius: 3px; font-family: 'Open Sans', sans-serif;
  font-size: 15px; color: #525b64;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus { border-color: #569bbe; box-shadow: 0 0 0 3px rgba(86,155,190,0.15); }
textarea.form-control { min-height: 140px; resize: vertical; }

/* ---- ACCORDION ---- */
.accordion-item { border: 1px solid #dde4e8; border-radius: 3px; margin-bottom: 8px; }
.accordion-header {
  padding: 16px 20px; cursor: pointer; font-weight: 700;
  color: #27323d; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.accordion-header:hover { color: #569bbe; }
.accordion-header .acc-icon { font-size: 18px; color: #569bbe; transition: transform 0.2s; }
.accordion-item.open .acc-icon { transform: rotate(45deg); }
.accordion-body { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; }
.accordion-item.open .accordion-body { max-height: 600px; padding: 0 20px 18px; }

/* ---- NEWS CARD ---- */
.news-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 12px rgba(82,91,100,0.1); margin-bottom: 30px; }
.news-card__img { width: 100%; height: 220px; object-fit: cover; display: block; background: #e8eef2; }
.news-card__body { padding: 24px; }
.news-card__cat { font-size: 11px; font-weight: 700; color: #fff; background: #56be78; padding: 3px 10px; border-radius: 2px; text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; margin-bottom: 10px; }
.news-card__title { font-size: 18px; font-weight: 700; color: #28498c; margin: 0 0 8px; line-height: 1.3; }
.news-card__title a { color: #28498c; }
.news-card__title a:hover { color: #569bbe; }
.news-card__date { font-size: 12px; color: #569bbe; font-weight: 700; margin-bottom: 10px; }
.news-card__excerpt { font-size: 14px; color: #525b64; line-height: 1.6; }
.news-card__link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14px; color: #569bbe; }
.news-card__link:hover { color: #56be78; }

/* ---- DIVIDER ---- */
.section-divider { border: none; border-top: 2px solid #eef1f4; margin: 0; }
.title-accent { display: inline-block; width: 50px; height: 3px; background: #569bbe; margin-bottom: 16px; }

/* ---- CTA STRIP ---- */
.cta-strip { padding: 60px 0; background: #56be78; text-align: center; }
.cta-strip h2 { color: #fff; margin-bottom: 10px; }
.cta-strip p { color: rgba(255,255,255,0.9); margin-bottom: 28px; font-size: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #272b2f;
  color: rgba(172,184,193,0.7);
}
.footer-area-wrap {
  background-color: #56be78;
  padding: 0;
}
.footer-widgets {
  background-color: #272b2f;
  padding: 50px 0 30px;
}
.footer-widgets .row {
  display: flex; flex-wrap: wrap; margin: 0 -15px;
}
.footer-col {
  flex: 0 0 25%; max-width: 25%; padding: 0 15px; margin-bottom: 30px;
}
@media (max-width: 991px) { .footer-col { flex: 0 0 50%; max-width: 50%; } }
@media (max-width: 600px) { .footer-col { flex: 0 0 100%; max-width: 100%; } }

.widget-title {
  font-size: 15px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin: 0 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid rgba(86,190,120,0.5);
}
.footer-widget-logo img { width: 160px; height: auto; margin-bottom: 15px; }
.footer-widget-text p { color: rgba(172,184,193,0.7); font-size: 14px; line-height: 1.7; }
.footer-nav-list { list-style: none; padding: 0; margin: 0; }
.footer-nav-list li { margin-bottom: 8px; }
.footer-nav-list li a { color: rgba(172,184,193,0.7); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-nav-list li a:hover { color: #fff; }
.footer-contact p { color: rgba(172,184,193,0.7); font-size: 14px; line-height: 1.8; margin: 0; }
.footer-contact a { color: #56be78; }
.footer-contact a:hover { color: #569bbe; }
.footer-social-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; }
.footer-social-list li a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #acb8c1;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; text-decoration: none; transition: all 0.2s;
}
.footer-social-list li a:hover { background: #56be78; color: #fff; }

.footer-bottom {
  background-color: #1e2226;
  padding: 16px 0;
}
.footer-bottom__inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-copyright { font-size: 13px; color: rgba(172,184,193,0.6); }
.footer-copyright a { color: #569bbe; }
.footer-copyright a:hover { color: #56be78; }
