/* ============================================================
   CSGAC Conference — Global Theme Stylesheet
   Palette matched to the CSGAC website:
   Primary (royal blue) #1a4fa0 · Secondary (magenta) #cd0b55
   Accent (red) #ff0004 · Gold (orange) #e8910c
   Light #F5F7FB · Dark #1a1d21
   Fonts: Poppins (headings) Inter (body) Noto Sans SC (Chinese)
   ============================================================ */

:root {
  --primary: #1a4fa0;
  --primary-light: #2f63bd;
  --secondary: #cd0b55;
  --secondary-dark: #a80a45;
  --accent: #d30053;
  --gold: #e8910c;
  --gold-dark: #c87a09;
  --light: #F5F7FB;
  --dark: #1a1d21;
  --gray: #6c757d;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(26, 79, 160, .08);
  --shadow: 0 8px 30px rgba(26, 79, 160, .12);
  --shadow-lg: 0 16px 48px rgba(26, 79, 160, .18);
  --transition: .3s cubic-bezier(.25, .8, .25, 1);
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 95%;
    }
}
/* ---------- Base ---------- */
* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

:lang(zh),
.zh-text {
  font-family: 'Noto Sans SC', 'Inter', sans-serif;
}

a {
  text-decoration: none;
  transition: color var(--transition);
}

.text-primary-c {
  color: var(--primary) !important;
}

.text-secondary-c {
  color: var(--secondary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.bg-primary-c {
  background: var(--primary) !important;
}

.bg-secondary-c {
  background: var(--secondary) !important;
}

.bg-light-c {
  background: var(--light) !important;
}

/* ---------- Buttons ---------- */
.btn-primary-c {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: .65rem 1.7rem;
  transition: all var(--transition);
}

.btn-primary-c:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary-c {
  background: var(--secondary);
  border: 2px solid var(--secondary);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: .65rem 1.7rem;
  transition: all var(--transition);
}

.btn-secondary-c:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-c {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 50px;
  padding: .6rem 1.6rem;
  transition: all var(--transition);
}

.btn-outline-c:hover {
  background: var(--primary);
  color: #fff;
}

.btn-outline-light-c {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: .6rem 1.6rem;
  transition: all var(--transition);
}

.btn-outline-light-c:hover {
  background: #fff;
  color: var(--primary);
}

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--primary);
  color: #fff;
  font-size: .85rem;
  padding: 7px 0;
}

.top-bar a {
  color: #fff;
}

.top-bar a:hover {
  color: var(--secondary);
}

.top-bar .divider {
  opacity: .4;
  margin: 0 .5rem;
}

.lang-switch a {
  padding: 1px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.lang-switch a.active {
  background: var(--secondary);
  color: #fff;
}

/* ---------- Navbar ---------- */
.navbar {
  box-shadow: var(--shadow-sm);
  padding: .6rem 0;
}

.navbar-brand img {
  height: 52px;
}

.navbar-brand .brand-text {
  line-height: 1;
}

.navbar-brand .brand-text strong {
  color: var(--primary);
  font-size: 1.35rem;
  letter-spacing: .5px;
}

.navbar-brand .brand-text small {
  color: var(--gray);
  font-size: .68rem;
}

.navbar .nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 15px 11px !important;
    position: relative;
    font-size: 16px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary) !important;
}

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--secondary);
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: 10px;
  padding: .4rem;
  margin-top: .4rem;
}

.dropdown-item {
  border-radius: 8px;
  padding: .5rem .9rem;
  font-size: .92rem;
}

.dropdown-item:hover {
  background: var(--light);
  color: var(--primary);
}

.nav-zh {
  font-size: .72rem;
  color: var(--gray);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 73vh;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, rgb(26 79 160 / 0%), rgba(47, 99, 189, 0.007)), url(../../img/banner-2.jpg) center / cover no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(205, 11, 85, .16), transparent 50%);
}
.home-page .sf-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 6px 22px rgba(0, 0, 0, 0.08);
    padding: 18px;
    width: 100%;
    max-width: 540px;
}
.home-page .sf-title .fa-facebook-square {
    color: #1877f2;
}
.hero .container {
  position: relative;
  z-index: 2;
}

.hero .badge-pill {
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.hero .lead {
  font-size: 1.15rem;
  opacity: .95;
}

.hero .meta-item i {
  color: var(--secondary);
}

/* ---------- Section helpers ---------- */
.section {
  padding: 80px 0;
}

.section-sm {
  padding: 55px 0;
}

.section-title {
  position: relative;
  margin-bottom: 14px;
  color: var(--primary);
}

.section-subtitle {
  color: var(--gray);
  max-width: max-content;
  margin: 0 auto 10px;
  text-align: left;
}

.title-bar {
  width: 70px;
  height: 4px;
  background: var(--secondary);
  border-radius: 4px;
  margin: 14px auto 0;
}

.title-bar.start {
  margin-left: 0;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .8rem;
}

/* ---------- Cards ---------- */
.feature-card,
.info-card {
  background: #fff;
  border: 1px solid #eef1f4;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover,
.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.feature-card .icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.feature-card.gold .icon-box {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
}

.feature-card.accent .icon-box {
  background: linear-gradient(135deg, var(--accent), #e53935);
}

/* Who-should-attend */
.attend-card {
  text-align: center;
  padding: 1rem 1rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
}

.attend-card:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-6px);
}

.attend-card:hover .attend-icon {
  background: var(--secondary);
  color: #fff;
}

.attend-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--light);
  color: var(--primary);
  font-size: 1.8rem;
  transition: all var(--transition);
}

/* ---------- Bilingual welcome ---------- */
.bilingual-col {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--light);
  height: 100%;
}

.bilingual-col.zh {
  border-left: 4px solid var(--secondary);
}

.bilingual-col.en {
  border-left: 4px solid var(--primary);
}

/* ---------- SDG ---------- */
.sdg-card {
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  padding: 1.2rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  transition: transform var(--transition);
}

.sdg-card:hover {
  transform: scale(1.05);
}

/* ---------- Speaker / awardee cards ---------- */
.person-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
}

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

.person-card .photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--light);
}

.person-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.person-card:hover .photo img {
  transform: scale(1.08);
}

.person-card .body {
  padding: 1.1rem;
  text-align: center;
}

.person-card .name {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 2px;
}

.person-card .role {
  font-size: .85rem;
  color: var(--gray);
}

.person-card .country {
  font-size: .8rem;
  color: var(--accent);
  font-weight: 600;
}

.award-card {
  position: relative;
  border-top: 4px solid var(--secondary);
}

.award-card .ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--secondary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2.2rem;
}

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

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item .dot {
  position: absolute;
  top: 1.6rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd) .dot {
  right: -9px;
}

.timeline-item:nth-child(even) .dot {
  left: -9px;
}

.timeline-box {
  background: #fff;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.timeline-box .date {
  color: var(--accent);
  font-weight: 700;
  font-size: .9rem;
}

/* Review-process vertical steps */
.process-step {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.process-step .num {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: 'Poppins';
}

.process-step .content {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-sm);
  flex: 1;
}

/* ---------- Downloads ---------- */
.download-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
}

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

.download-card .dl-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--light);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

/* ---------- Gallery ---------- */
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform var(--transition);
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.04);
}

/* ---------- Hover content cards (guidelines / call-for-papers) ---------- */
.hover-card {
  background: #eef6ffe8;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem;
  height: 100%;
  border-left: 2px solid transparent;
  transition: all var(--transition);
}

.hover-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--secondary);
}

.hover-card .hc-head {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
}

.hover-card .hc-ic {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.3rem;
  transition: all var(--transition);
}

.hover-card:hover .hc-ic {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  transform: rotate(-6deg) scale(1.06);
}

/* Heading clearly larger than the paragraph text */
.hover-card h3, .hover-card .hc-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    line-height: 27px;
    padding-top: 19px;
    margin: 0;
    transition: color var(--transition);
    margin-bottom: 18px;
}

.hover-card:hover .hc-title {
  color: var(--secondary);
}

.hover-card .hc-item {
  padding: .55rem 0;
  border-bottom: 1px dashed #eef0f4;
}

.hover-card .hc-item:last-child {
  border-bottom: none;
}

.hover-card .hc-item .en {
  font-size: .98rem;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: .6rem;
}

.hover-card .hc-item .en>i {
  flex: 0 0 22px;
  width: 22px;
  text-align: center;
  color: var(--secondary);
  transition: transform var(--transition);
}

.hover-card:hover .hc-item .en>i {
  transform: scale(1.15);
}

.hover-card .hc-item .zh {
  font-size: .85rem;
  color: var(--gray);
  display: block;
  margin-top: 2px;
  padding-left: calc(22px + .6rem);
}

/* Light-background soft card with a gentle hover lift */
.soft-card {
  background: var(--light); border-radius: var(--radius); padding: 1.3rem 1.4rem;
  border: 1px solid #eef0f4; transition: all var(--transition); height: 100%;
}
.soft-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: #fff; border-color: transparent; }
.soft-card .sc-ic {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; font-size: 1.2rem;
  transition: all var(--transition);
}
.soft-card:hover .sc-ic { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); }

/* Award category card — centered, magenta accent (no inline styles) */
.cat-card { text-align: center; border-left-color: var(--secondary); }
.cat-card .hc-ic { margin-left: auto; margin-right: auto; background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); }
.cat-card .hc-title { color: var(--secondary); }
.cat-card .cat-zh { color: var(--dark); }
.cat-card.cat-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.cat-card.cat-primary .hc-ic,
.cat-card.cat-primary:hover .hc-ic { background: rgba(255, 255, 255, .18); }
.cat-card.cat-primary .hc-title,
.cat-card.cat-primary .cat-zh,
.cat-card.cat-primary p { color: #fff; }

/* Left-border accent utilities (avoid inline styles) */
.bd-secondary { border-left-color: var(--secondary) !important; }
.bd-accent { border-left-color: var(--accent) !important; }

/* ---------- Right-hand page sidebar (Quick Links) ---------- */
.layout-with-sidebar { padding: 2.5rem 0; }
.layout-with-sidebar .page-main > section.section { padding: 1.5rem 0; }
.layout-with-sidebar .page-main > section.section:first-child { padding-top: 0; }

.page-sidebar { position: sticky; top: 90px; }
.quick-links-box {
  background: #fff; border: 1px solid #eef1f4; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.quick-links-box .ql-head {
  background: var(--primary); color: #fff; padding: .9rem 1.1rem;
  font-weight: 600; font-family: 'Poppins', sans-serif; letter-spacing: .5px;
}
.quick-links-box .qlink {
  display: flex; align-items: center; gap: .75rem; padding: .75rem 1.1rem;
  border-bottom: 1px solid #f0f0f0; color: var(--dark); font-size: .9rem; font-weight: 500;
  transition: all var(--transition);
}
.quick-links-box .qlink:last-child { border-bottom: none; }
.quick-links-box .qlink i { color: var(--secondary); width: 20px; text-align: center; transition: color var(--transition); }
.quick-links-box .qlink small { color: var(--gray); font-size: .72rem; font-weight: 400; }
/* Hover — background colour changes */
.quick-links-box .qlink:hover { background: var(--secondary); color: #fff; padding-left: 1.5rem; }
.quick-links-box .qlink:hover i,
.quick-links-box .qlink:hover small { color: #fff; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.testimonial-card .quote-icon {
  color: var(--secondary);
  font-size: 2rem;
}

.testimonial-card .stars {
  color: var(--secondary);
}

.testimonial-card .author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- Stats counter ---------- */
.stat-box {
  text-align: center;
  color: #fff;
}

.stat-box .num {
  font-family: 'Poppins';
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--secondary);
}

/* ---------- Sidebar quick links ---------- */
.sidebar-sticky {
  position: sticky;
  top: 100px;
}

.quick-links {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quick-links .ql-head {
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-family: 'Poppins';
}

.quick-links a {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1.2rem;
  color: var(--dark);
  border-bottom: 1px solid #f0f0f0;
  font-size: .92rem;
  font-weight: 500;
}

.quick-links a:last-child {
  border-bottom: none;
}

.quick-links a i {
  color: var(--secondary);
  width: 20px;
  text-align: center;
}

.quick-links a:hover {
  background: var(--light);
  color: var(--primary);
  padding-left: 1.5rem;
}

/* Floating quick action (mobile) */
.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-cta a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 1.2rem;
}

.floating-cta .fc-register {
  background: var(--accent);
}

.floating-cta .fc-submit {
  background: var(--primary);
}

.floating-cta .fc-top {
  background: var(--secondary);
  color: #fff;
}

/* ---------- Page header / breadcrumb ---------- */
.page-header {
  background: linear-gradient(135deg, rgba(26, 79, 160, .94), rgba(47, 99, 189, .85)), url('../images/hero-bg.svg') center/cover;
  color: #fff;
  padding: 70px 0 50px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.breadcrumb {
  justify-content: center;
  background: transparent;
  margin: 0;
}

.breadcrumb a {
  color: var(--secondary);
}

.breadcrumb-item.active {
  color: #fff;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .6);
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.4rem;
}

.form-label {
  font-weight: 600;
  color: var(--primary);
  font-size: .92rem;
}

.form-label .req {
  color: var(--accent);
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: .65rem .9rem;
  border: 1.5px solid #e3e7ec;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(26, 79, 160, .12);
}

.form-section-title {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid var(--light);
  padding-bottom: .6rem;
  margin: 1.5rem 0 1.2rem;
}

/* "WhatsApp number is same as phone number" tick (abstract-submission.php) */
.same-as-phone .form-check-input,
.same-as-phone .form-check-label {
  cursor: pointer;
}

.same-as-phone .form-check-label {
  font-size: .875rem;
  color: var(--gray);
}

.same-as-phone .form-check-label i {
  color: #adb5bd;
}

.same-as-phone .form-check-input:checked {
  background-color: #198754;
  border-color: #198754;
}

.same-as-phone .form-check-input:checked~.form-check-label,
.same-as-phone .form-check-input:checked~.form-check-label i {
  color: #198754;
}

#whatsappNumber[readonly] {
  background-color: var(--light);
}

/* ---------- Content prose ---------- */
.prose p {
  line-height: 1.85;
  color: #444;
}

.prose ul li {
  margin-bottom: .5rem;
}

.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .7rem;
  line-height: 1.6;
}

.list-check li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--secondary);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: #cfd4da;
  padding: 60px 0 0;
}

.footer h5 {
  color: #fff;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  position: relative;
  padding-bottom: .6rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
}

.footer a {
  color: #cfd4da;
}

.footer a:hover {
  color: var(--secondary);
}

.footer .footer-links li {
  margin-bottom: .6rem;
}

.footer .social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  margin-right: 8px;
  transition: all var(--transition);
}

.footer .social a:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
}

.footer .newsletter input {
  border-radius: 50px 0 0 50px;
  border: none;
}

.footer .newsletter button {
  border-radius: 0 50px 50px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 40px;
  padding: 18px 0;
  font-size: .85rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(205, 11, 85, .16);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 3rem;
  }

  .timeline-item .dot {
    left: 11px !important;
    right: auto !important;
  }

  .navbar .nav-link.active::after {
    display: none;
  }
}

@media (max-width: 575px) {
  .section {
    padding: 55px 0;
  }

  .form-card {
    padding: 1.4rem;
  }

  .hero {
    min-height: 78vh;
  }
}
.feature-card, .info-card2 {
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    height: auto!important;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

/* ====================== STAY CONNECTED / SOCIAL FEED ====================== */
.social-feed {
  padding: 70px 0;
  background: var(--light);
}

.social-feed .highlights-head {
  margin-bottom: 40px;
}

.social-feed .section-heading {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.social-feed .section-heading-cn {
  color: var(--secondary);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 0;
}

.sf-card {
  background: #fff;
  border: 1px solid #eef1f4;
  border-radius: var(--radius);
  padding: 1.4rem;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 6px 24px rgba(26, 79, 160, .06);
  transition: all var(--transition);
}

.sf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 79, 160, .12);
}

.sf-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.sf-title .fa-facebook-square { color: #1877f2; }
.sf-title .fa-linkedin { color: #0a66c2; }

.sf-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.sf-embed iframe {
  width: 100% !important;
  border: none;
  display: block;
}

@media (max-width: 575px) {
  .social-feed { padding: 50px 0; }
  .sf-card { padding: 1rem; }
}