/* =============================================================
   pages.css — Shared styles for Coming Soon, Blog, Privacy,
               and Terms of Service pages
   ============================================================= */

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent:  #ff4a17;
  --dark-bg: #000910;
  --teal:    #0f3f3c;
  --heading: #ffffff;
  --text:    rgba(255,255,255,0.75);
  --card-bg: rgba(255,255,255,0.05);
  --border:  rgba(255,255,255,0.12);
}

html, body {
  height: 100%;
  font-family: 'Roboto', sans-serif;
}

/* Only apply standalone dark layout to pages that have no body class
   (coming-soon, blog, privacy-policy, terms-of-service).
   Service/careers/index pages all have a body class and must NOT get this. */
body:not([class]) {
  background-color: var(--dark-bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Animated Background ── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(15,63,60,0.55) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(255,74,23,0.18) 0%, transparent 60%),
    var(--dark-bg);
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,74,23,0.25);
  animation: float linear infinite;
}

@keyframes float {
  0%   { transform: translateY(110vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ── Page Wrapper ── */
.page-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
  padding: 48px 28px;
  text-align: center;
}

/* ── Logo ── */
.logo-area {
  margin-bottom: 40px;
}

.logo-area .logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-area .sitename {
  font-family: 'Raleway', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  margin: 0;
}

/* ── Badge Pill ── */
.badge-pill {
  display: inline-block;
  background: rgba(255,74,23,0.15);
  border: 1px solid rgba(255,74,23,0.35);
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
}

/* ── Headings — standalone pages only ── */
body:not([class]) h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--heading);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

body:not([class]) h1 em {
  font-style: normal;
  color: var(--accent);
}

/* ── Subtitle ── */
.sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 520px;
  margin: 0 auto 44px;
}

/* ── Notify Form (coming-soon & blog) ── */
.notify-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 44px;
  flex-wrap: wrap;
}

.notify-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.notify-form input[type="email"]::placeholder { color: rgba(255,255,255,0.35); }
.notify-form input[type="email"]:focus { border-color: rgba(255,74,23,0.55); }

.btn-notify {
  padding: 14px 26px;
  background: linear-gradient(135deg, #ff4a17, #e03200);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.25s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(255,74,23,0.4);
}

.btn-notify:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Back Link (blog, privacy, terms) ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.back-link:hover { color: var(--accent); }

/* ── Success Message (blog) ── */
.success-msg {
  display: none;
  color: #4ade80;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* =============================================================
   COMING SOON — specific styles
   ============================================================= */

/* Countdown */
.countdown-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.cd-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 22px 20px 16px;
  min-width: 90px;
  flex: 1;
  max-width: 110px;
  transition: border-color 0.3s;
}

.cd-block:hover { border-color: rgba(255,74,23,0.4); }

.cd-num {
  font-family: 'Raleway', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  display: block;
}

.cd-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
  display: block;
}

/* Form message */
.form-msg {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  margin-top: 10px;
  min-height: 18px;
  color: #6ee2a0;
}

/* Divider */
.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 0 auto 32px;
  border-radius: 2px;
}

/* Social Row */
.social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.social-row a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Back Button (coming-soon variant) */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: rgba(255,255,255,0.7);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 44px;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}

.btn-back:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  transform: translateX(-3px);
}

.btn-back i { font-size: 0.9rem; }

/* Footer Note */
.footer-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}

.footer-note a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

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

/* Progress Bar */
.progress-wrap { margin-bottom: 44px; }

.progress-label {
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.progress-wrap .progress-track {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}

.progress-wrap .progress-fill {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  border-radius: 100px;
  animation: fillBar 1.6s ease-out forwards;
}

@keyframes fillBar {
  from { width: 0; }
  to   { width: 72%; }
}

/* =============================================================
   BLOG — specific styles
   ============================================================= */

.topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
}

.topic-tag {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
}

/* =============================================================
   PRIVACY & TERMS — specific styles
   ============================================================= */

.icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(255,74,23,0.12);
  border: 1px solid rgba(255,74,23,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2rem;
  color: var(--accent);
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 40px;
  text-align: left;
  backdrop-filter: blur(8px);
}

.info-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.info-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-card li {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.info-card li i {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}

.contact-note a {
  color: var(--accent);
  text-decoration: none;
}

.contact-note a:hover { text-decoration: underline; }

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 480px) {
  .cd-block { min-width: 70px; padding: 16px 12px 12px; }
  .cd-num   { font-size: 2rem; }
  .notify-form { flex-direction: column; }
  .btn-notify  { width: 100%; }
}


/* =============================================================
   SERVICE & CONTENT PAGES — extracted inline styles
   (cloud-saas, ai-ml, data-engineering, devops, careers)
   ============================================================= */

/* Shared */
.nav-logo-img        { height: 45px; width: auto; margin-right: 10px; }
.text-accent-blue    { color: #0d6efd; }

/* Page title backgrounds */
.page-title-service-bg { background-image: url(assets/img/page-title-bg.webp); }
.page-title-careers-bg { background-image: url(assets/img/Career-title-bg.webp); }

/* Careers layout */
.careers-px          { padding-left: 2rem; padding-right: 2rem; }
.careers-card-pad    { padding: 1.5rem; }
.text-center-inline  { text-align: center; }

/* Service page — hero CTA button (small) */
.btn-service-sm {
  background: var(--accent-color);
  color: #fff;
  padding: 10px 30px;
  border-radius: 4px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-top: 20px;
  transition: 0.3s;
}

/* Light gradient card */
.card-gradient-light {
  background: linear-gradient(135deg, #f1f4fa 0%, #e8ecf5 100%);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
}

/* Icons */
.icon-xl   { font-size: 80px; color: var(--accent-color); display: block; margin-bottom: 20px; }
.icon-step { font-size: 36px; color: var(--accent-color); display: block; margin-bottom: 16px; }
.icon-lg   { font-size: 32px; color: var(--accent-color); display: block; margin-bottom: 8px; }
.icon-md   { font-size: 24px; color: var(--accent-color); }

/* Icon circle */
.icon-circle {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #fff1e6, #ffe0c2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 1.5px solid #fdd0a0;
}

/* Card headings & text */
.card-heading   { color: var(--heading-color); font-weight: 700; margin-bottom: 12px; }
.card-title-sm  { color: var(--heading-color); font-weight: 700; margin: 10px 0 12px; }
.step-title     { color: var(--heading-color); font-weight: 700; margin-bottom: 10px; }
.tech-label     { font-size: 13px; font-weight: 600; color: var(--heading-color); }
.label-tag      { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-color); }
.card-body-text { color: var(--default-color); font-size: 15px; line-height: 1.8; margin: 0; }
.card-text-sm   { font-size: 14px; color: var(--default-color); line-height: 1.7; margin: 0; }

/* Cards */
.feature-card {
  background: var(--surface-color);
  border: 1px solid #e0e6f0;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  transition: 0.3s;
}

.tech-card {
  background: var(--surface-color);
  border: 1px solid #e0e6f0;
  border-radius: 10px;
  padding: 20px 12px;
  text-align: center;
  transition: 0.3s;
}

.process-card {
  background: var(--surface-color);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 10px 10px 0;
  padding: 28px 24px;
  height: 100%;
}

/* Dark CTA section */
.bg-dark-cta { background-color: #000910 !important; }
.cta-heading  { color: #ffffff; font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-sub      { color: rgba(255,255,255,0.8); font-size: 18px; max-width: 640px; margin: 0 auto 32px; }

/* CTA buttons */
.btn-cta-primary {
  background: var(--accent-color);
  color: #fff;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-right: 16px;
  transition: 0.3s;
}

.btn-cta-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 12px 36px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  transition: 0.3s;
}

/* =============================================================
   CAREERS PAGE — Open Positions card layout fix
   ============================================================= */

/* Uniform image height with object-fit cover */
#open-positions .service-item .img {
  height: 220px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

#open-positions .service-item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

#open-positions .service-item:hover .img img {
  transform: scale(1.05);
}

/* White details card — tighten the negative margin so it
   stays comfortably inside the column on all screen sizes */
#open-positions .service-item .details {
  margin: -80px 16px 0 16px;
  padding: 52px 24px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Keep icon centred above the details card */
#open-positions .service-item .details .icon {
  top: -36px;
  left: calc(50% - 36px);
}

/* Heading spacing */
#open-positions .service-item .details h3 {
  margin-top: 8px;
  margin-bottom: 10px;
  font-size: 20px;
}

/* Description text */
#open-positions .service-item .details p {
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Badge row — give it breathing room at the bottom */
#open-positions .service-item .details .mt-3 {
  margin-top: 16px !important;
  padding-bottom: 4px;
}

/* Add horizontal gutter to the row so cards don't sit flush */
#open-positions .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 5rem;
}

/* Each column needs bottom padding to absorb the
   negative-margin overlap from the row below */
#open-positions .col-xl-4,
#open-positions .col-md-6 {
  padding-bottom: 0;
}

@media (max-width: 767px) {
  #open-positions .service-item .img { height: 200px; }
  #open-positions .service-item .details { margin: -70px 12px 0 12px; padding: 48px 18px 20px; }
}


/* =============================================================
   BLOG ARCHIVE PAGE
   ============================================================= */

/* ---- Section spacing ---- */
.blog-archive-section {
  padding: 60px 0 80px;
  background-color: #f8f9fa;
}

/* ============================================================
   BLOG CARD
   ============================================================ */
.blog-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

/* Category badge */
.blog-card__category {
  display: inline-block;
  margin: 18px 18px 0;
  padding: 4px 14px;
  background-color: #0d6efd;
  color: #ffffff;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 4px;
  width: fit-content;
}

/* Post title */
.blog-card__title {
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #273d4e;
  margin: 12px 18px 0;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card__title a:hover {
  color: #ff4a17;
}

/* Featured image */
.blog-card__img {
  margin: 14px 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card__img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__img img {
  transform: scale(1.04);
}

/* Excerpt */
.blog-card__excerpt {
  font-family: var(--default-font);
  font-size: 14px;
  line-height: 1.75;
  color: #666;
  margin: 14px 18px 0;
  flex: 1;
}

/* Meta (author / date) */
.blog-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 18px 18px;
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #273d4e;
}

.blog-card__meta .sep {
  color: #aaa;
}

.blog-card__meta time {
  color: #273d4e;
}

.blog-card__meta i {
  margin-right: 4px;
  color: #ff4a17;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.blog-pagination .pagination {
  gap: 6px;
  flex-wrap: wrap;
}

.blog-pagination .page-link {
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 600;
  color: #273d4e;
  border: 2px solid #dee2e6;
  border-radius: 6px !important;
  padding: 8px 16px;
  transition: all 0.2s ease;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-pagination .page-link:hover {
  background-color: #ff4a17;
  border-color: #ff4a17;
  color: #fff;
}

.blog-pagination .page-item.active .page-link {
  background-color: #ff4a17;
  border-color: #ff4a17;
  color: #fff;
}

.blog-pagination .page-item.disabled .page-link {
  color: #adb5bd;
  border-color: #e9ecef;
  background-color: #f8f9fa;
  cursor: not-allowed;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 28px 24px;
  margin-bottom: 28px;
}

.sidebar-widget__title {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: #273d4e;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f0f2f5;
  position: relative;
}

.sidebar-widget__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background-color: #ff4a17;
}

/* Search */
.sidebar-search {
  display: flex;
  border: 1.5px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.sidebar-search:focus-within {
  border-color: #0d6efd;
}

.sidebar-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-family: var(--default-font);
  font-size: 14px;
  color: #444;
  background: transparent;
}

.sidebar-search input::placeholder {
  color: #adb5bd;
}

.sidebar-search button {
  background: transparent;
  border: none;
  padding: 0 14px;
  color: #888;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s;
}

.sidebar-search button:hover {
  color: #ff4a17;
}

/* Recent posts list */
.sidebar-recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-recent-posts li {
  border-bottom: 1px solid #f0f2f5;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.sidebar-recent-posts li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-recent-posts__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.sidebar-recent-posts__item:hover {
  opacity: 0.8;
}

.sidebar-recent-posts__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  margin: 0;
}

.sidebar-recent-posts__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sidebar-recent-posts__info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.sidebar-recent-posts__info span {
  font-family: var(--default-font);
  font-size: 13px;
  font-weight: 600;
  color: #273d4e;
  line-height: 1.4;
}

.sidebar-recent-posts__info time {
  font-family: var(--nav-font);
  font-size: 12px;
  color: #888;
}

/* Categories list */
.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-categories li {
  border-bottom: 1px solid #f0f2f5;
  padding: 8px 0;
}

.sidebar-categories li:last-child {
  border-bottom: none;
}

.sidebar-categories a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--default-font);
  font-size: 14px;
  color: #444;
  transition: color 0.2s;
}

.sidebar-categories a:hover {
  color: #ff4a17;
}

.sidebar-categories a i {
  font-size: 12px;
  color: #ff4a17;
}

.sidebar-categories a span {
  margin-left: auto;
  background: #f0f2f5;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
}

/* Responsive */
@media (max-width: 767px) {
  .blog-card__img img {
    height: 200px;
  }

  .blog-archive-section {
    padding: 40px 0 60px;
  }
}

/* ---- Category filter active state ---- */
.sidebar-categories a.cat-filter {
  cursor: pointer;
}

.sidebar-categories a.cat-filter.active,
.sidebar-categories a.cat-filter:hover {
  color: #ff4a17;
  font-weight: 700;
}

.sidebar-categories a.cat-filter.active span {
  background-color: #ff4a17;
  color: #ffffff;
}

.sidebar-categories a.cat-filter.active i {
  color: #ff4a17;
}

/* ---- Popular Tags widget ---- */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  display: inline-block;
  padding: 5px 14px;
  background: #f0f2f5;
  color: #444;
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.tag-pill:hover,
.tag-pill.active {
  background: #ff4a17;
  color: #ffffff;
  border-color: #ff4a17;
}

/* Student Blog badge colour */
.blog-card__category[data-category="Student Blog"],
.blog-card .blog-card__category:contains("Student") {
  background-color: #6f42c1;
}

/* Student Blog category badge — purple accent */
.blog-card__category.cat-student {
  background-color: #6f42c1;
}

/* =============================================================
   BLOG POST DETAIL PAGE
   ============================================================= */

.blog-post-section {
  padding: 60px 0 80px;
  background-color: #f8f9fa;
}

/* Hero image */
.post-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  display: block;
  margin-bottom: 28px;
}

/* Post header */
.post-header {
  margin-bottom: 28px;
}

.post-header .blog-card__category {
  margin: 0 0 14px;
}

.post-header h1 {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 800;
  color: #273d4e;
  line-height: 1.3;
  margin-bottom: 16px;
}

.post-header .post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #666;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f2f5;
}

.post-meta-bar i {
  color: #ff4a17;
  margin-right: 5px;
}

/* Article body */
.post-body {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.85;
  color: #444;
}

.post-body h2 {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  color: #273d4e;
  margin: 36px 0 14px;
}

.post-body h3 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: #273d4e;
  margin: 28px 0 10px;
}

.post-body p {
  margin-bottom: 20px;
}

.post-body ul,
.post-body ol {
  padding-left: 22px;
  margin-bottom: 20px;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body blockquote {
  border-left: 4px solid #ff4a17;
  padding: 14px 20px;
  margin: 28px 0;
  background: #fff8f6;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
  font-size: 17px;
}

/* Post tags */
.post-tags {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 2px solid #f0f2f5;
}

.post-tags span {
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 700;
  color: #273d4e;
  margin-right: 8px;
}

.post-tags a {
  display: inline-block;
  padding: 4px 14px;
  background: #f0f2f5;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  margin: 4px 4px 0 0;
  transition: background 0.2s, color 0.2s;
}

.post-tags a:hover {
  background: #ff4a17;
  color: #fff;
}

/* Post nav (prev / next) */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid #f0f2f5;
}

.post-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 700;
  color: #273d4e;
  text-decoration: none;
  transition: color 0.2s;
}

.post-nav a:hover { color: #ff4a17; }
.post-nav .next-post { margin-left: auto; }

/* Author card */
.author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff8f6;
  border: 1px solid #ffe0d6;
  border-radius: 10px;
  padding: 20px;
  margin-top: 40px;
}

.author-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #ff4a17;
}

.author-card__name {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: #273d4e;
  margin-bottom: 4px;
}

.author-card__bio {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .post-hero-img { height: 240px; }
  .post-header h1 { font-size: 24px; }
}

/* =============================================================
   HERO — Proof line (trust signals below sub-headline)
   ============================================================= */
.hero-proof-line {
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 14px;
  margin-bottom: 0;
  text-align: center;
  text-transform: uppercase;
}
