/* SC&A Global Unified Corporate Design System */
:root {
  --brand-blue: #006DB6;
  --brand-purple: #8E278F;
  --brand-teal: #0180A2;
  --navy-primary: #006DB6;
  --navy-dark: #0A1128;
  --gold-accent: #8E278F;
  --gold-hover: #0180A2;
  --purple-accent: #8E278F;
  --teal-accent: #0180A2;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  --radius-card: 12px;
  --radius-btn: 6px;
  --shadow-card: 0 4px 12px rgba(0, 109, 182, 0.06);
  --shadow-hover: 0 10px 25px rgba(142, 39, 143, 0.15);
  --font-heading: 'Montserrat', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-white);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--brand-purple);
}

.gradient-button, .btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #0180a2 0%, #006db6 45%, #8e278f 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-btn);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 109, 182, 0.3);
  transition: all 0.3s ease;
}

.gradient-button:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(142, 39, 143, 0.4);
  background: linear-gradient(135deg, #006db6 0%, #701a75 100%);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--brand-purple);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-btn);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--brand-blue);
  transform: translateY(-2px);
}

/* Unified Subpage 10-Tier Layout Blocks */
.subpage-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.subpage-intro {
  padding: 60px 0;
  background: var(--bg-white);
}

.subpage-overview {
  padding: 60px 0;
  background: var(--bg-light);
}

.subpage-features {
  padding: 60px 0;
  background: var(--bg-white);
}

.subpage-process {
  padding: 60px 0;
  background: var(--bg-light);
}

.subpage-tech {
  padding: 60px 0;
  background: var(--bg-white);
}

.subpage-industries {
  padding: 60px 0;
  background: var(--bg-light);
}

.subpage-faq {
  padding: 60px 0;
  background: var(--bg-white);
}

.subpage-cta {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
  color: #ffffff;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--navy-primary);
}

.tech-badge {
  display: inline-block;
  background: #e2e8f0;
  color: var(--navy-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin: 6px;
}

.faq-accordion details {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.faq-accordion summary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-primary);
  cursor: pointer;
}

.faq-accordion p {
  margin-top: 12px;
  color: var(--text-body);
  font-size: 15px;
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL HEADER LOGO — Override framework constraints site-wide
   ═══════════════════════════════════════════════════════════════ */
header .headerWrapper .logo img,
header .logo img,
.headerWrapper .logo img {
  max-height: 58px !important;
  height: 58px !important;
  width: auto !important;
  display: block !important;
  object-fit: contain !important;
}
header .headerWrapper .logo,
header .logo {
  display: flex !important;
  align-items: center !important;
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL FOOTER LOGO — Override framework constraints site-wide
   ═══════════════════════════════════════════════════════════════ */
footer .footer-brand-logo,
.footer-logo img,
.footer-logo .footer-brand-logo {
  max-height: 72px !important;
  height: 72px !important;
  width: auto !important;
  display: block !important;
  object-fit: contain !important;
}

/* ═══════════════════════════════════════════════════════════════
   BLOG CARD COMPONENT — Shared across blogs.php & blog-detail.php
   ═══════════════════════════════════════════════════════════════ */
.blog-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 17, 40, 0.12);
}

/* Image box — 16:9 aspect ratio */
.blog-img-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #1e293b;
}
.blog-img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img-box img {
  transform: scale(1.06);
}

/* Category badge — bottom-left corner of image */
.blog-category-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: linear-gradient(135deg, #0A1128 0%, #1c2d5a 100%);
  color: #FFC800;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 200, 0, 0.3);
  z-index: 2;
}

/* Card content area */
.blog-content-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Date row */
.blog-date {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Blog title */
.blog-title {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-card:hover .blog-title {
  color: #1e3a8a;
}

/* Blog excerpt */
.blog-excerpt {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Read Article link */
.blog-read-more {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}
.blog-read-more:hover {
  gap: 10px;
  color: #d97706;
}

/* Filter bar used on blogs.php */
.filter-wrapper-custom {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 40px;
}
.filter-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: center;
}
@media (max-width: 991px) {
  .filter-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .filter-grid { grid-template-columns: 1fr; }
}
.custom-input,
.custom-select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #1e293b;
  background-color: #f8fafc;
  transition: all 0.2s ease;
  outline: none;
}
.custom-input:focus,
.custom-select:focus {
  border-color: #1e3a8a;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}
.no-results-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #f8fafc;
  border-radius: 12px;
  color: #64748b;
}


