/* InsightCore Custom CSS — LAST stylesheet, always */
/* No !important except template accent color resets */

:root {
  --accent: #DC2626;
  --accent-hover: #B91C1C;
  --accent-light: #FEF2F2;
  --dark-bg: #0F172A;
  --nav-dark: #1E293B;
  --text-heading: #1E293B;
  --text-body: #475569;
  --text-secondary: #64748B;
}

/* ================================================
   TEMPLATE ACCENT OVERRIDES (yellow -> red)
   ================================================ */
.text-warning, .text-danger { color: #DC2626 !important; }
.bg-danger, .bg-warning { background-color: #DC2626 !important; }
.custom-btn, .custom-bg-primary { background: #DC2626; color: #fff; border: none; }
.custom-btn:hover { background: #B91C1C; }
section.contact > svg path { fill: #DC2626; }
.services, .about, .projects, .contact { min-height: auto; }
section { min-height: auto; }

/* ================================================
   SCROLL ARROW — HIDE
   ================================================ */
.scroll-down, .scroll-arrow, .mouse-scroll, .mouse, .scroll-indicator { display: none; }

/* ================================================
   NAVIGATION
   ================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: #FFFFFF;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
}

.site-nav .nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav .nav-logo {
  height: 32px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-nav .nav-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #1E293B;
  letter-spacing: -0.02em;
}

.site-nav .nav-logo-text span {
  color: #DC2626;
}

.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #1E293B;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a.active {
  color: #DC2626;
}

.site-nav a:focus { outline: none; }

.site-nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #1E293B;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
}

.site-nav.nav-solid {
  background: #FFFFFF;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

@media (max-width: 991px) {
  .site-nav .nav-toggle { display: block; }
  .site-nav .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .site-nav .nav-links.open { display: flex; }
  .site-nav .nav-links li { width: 100%; }
  .site-nav .nav-links a {
    display: block;
    padding: 10px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
}

/* ================================================
   HERO
   ================================================ */
.site-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #0F172A;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.72);
  z-index: 1;
  pointer-events: none;
}

.site-hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #DC2626;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: #FFFFFF;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 28px;
  font-weight: 700;
  color: #F1F5F9;
}

.hero-stat-label {
  font-size: 13px;
  color: #94A3B8;
}

@media (max-width: 767px) {
  .hero-title { font-size: 36px; }
  .hero-stat-number { font-size: 22px; }
  .hero-stats { gap: 24px; }
}

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary-ic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #DC2626;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn-primary-ic:hover {
  background: #B91C1C;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(220,38,38,0.3);
}

.btn-secondary-ic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #DC2626;
  border: 1.5px solid #DC2626;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}

.btn-secondary-ic:hover {
  background: #FEF2F2;
  color: #DC2626;
}

.btn-outline-dark-ic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #F1F5F9;
  border: 1.5px solid rgba(241,245,249,0.4);
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline-dark-ic:hover {
  background: rgba(241,245,249,0.08);
  color: #F1F5F9;
  border-color: rgba(241,245,249,0.7);
}

.btn-form-ic {
  width: 100%;
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
  cursor: pointer;
}

.btn-form-ic:hover {
  background: #DC2626;
  color: #FFFFFF;
}

/* ================================================
   SECTION PADDING
   ================================================ */
.section-padding {
  padding: 80px 0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  color: #DC2626;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: #475569;
  max-width: 600px;
}

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
  background: #1E293B;
  padding: 48px 0;
}

.stats-bar .section-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #F1F5F9;
  display: block;
}

.stat-icon {
  font-size: 24px;
  color: #DC2626;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #94A3B8;
}

/* ================================================
   FEATURES / TABS
   ================================================ */
.features-section {
  background: #F8FAFC;
}

.feature-tabs-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.feature-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.feature-tab-btn.active,
.feature-tab-btn:hover {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
}

.feature-tab-panel {
  display: none;
}

.feature-tab-panel.active {
  display: flex;
  gap: 48px;
  align-items: center;
}

.feature-tab-text { flex: 1; }
.feature-tab-image { flex: 1; }

.feature-tab-title {
  font-size: 24px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 16px;
}

.feature-tab-desc {
  font-size: 15px;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.7;
}

.feature-tab-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-tab-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #475569;
}

.feature-tab-list li i {
  color: #DC2626;
  margin-top: 3px;
  flex-shrink: 0;
}

.feature-tab-image .tab-img-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #1E293B, #334155);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-tab-image .tab-img-placeholder i {
  font-size: 64px;
  color: #DC2626;
  opacity: 0.5;
}

@media (max-width: 767px) {
  .feature-tab-panel.active { flex-direction: column; }
}

/* ================================================
   FEATURE CARD
   ================================================ */
.feature-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FEF2F2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card-icon i {
  font-size: 20px;
  color: #DC2626;
}

.feature-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 8px;
}

.feature-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* ================================================
   HOW IT WORKS
   ================================================ */
.hiw-steps {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.hiw-step {
  flex: 1;
  min-width: 240px;
  max-width: 340px;
  text-align: center;
}

.hiw-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.hiw-step-icon {
  font-size: 24px;
  color: #DC2626;
  margin-bottom: 12px;
}

.hiw-step-title {
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 10px;
}

.hiw-step-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonial-card {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 32px;
  color: #DC2626;
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 14px;
  color: #475569;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #DC2626;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
}

.testimonial-role {
  font-size: 13px;
  color: #64748B;
}

/* ================================================
   CTA BANNER
   ================================================ */
.cta-banner {
  background: #0F172A;
  text-align: center;
}

.cta-banner-title {
  font-size: 32px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 12px;
}

.cta-banner-sub {
  font-size: 16px;
  color: #CBD5E1;
  margin-bottom: 32px;
}

/* ================================================
   BLOG CARDS
   ================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.blog-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.blog-card-thumb {
  width: 100%;
  height: 192px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-tag {
  display: inline-block;
  background: #FEF2F2;
  color: #DC2626;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  padding: 2px 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-date {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 8px;
}

.blog-card-excerpt {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-link {
  font-size: 14px;
  font-weight: 600;
  color: #DC2626;
  text-decoration: none;
}

.blog-card-link:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: #1E293B;
  color: #CBD5E1;
  padding: 60px 0 0;
}

.site-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand-text {
  font-size: 18px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 8px;
}

.footer-brand-text span { color: #DC2626; }

.footer-tagline {
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  font-size: 14px;
}

.footer-social a:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: #F1F5F9;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  font-size: 14px;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: #F1F5F9; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #94A3B8;
}

.footer-contact-item i {
  color: #DC2626;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #94A3B8;
  text-decoration: none;
}

.footer-contact-item a:hover { color: #F1F5F9; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding: 20px 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: #64748B;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-size: 13px;
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover { color: #F1F5F9; }

@media (max-width: 767px) {
  .site-footer .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ================================================
   COOKIE BANNER
   ================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1E293B;
  color: #F1F5F9;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 9999;
  flex-wrap: wrap;
}

.cookie-banner-text {
  font-size: 14px;
  color: #CBD5E1;
  flex: 1;
}

.cookie-banner-text a {
  color: #DC2626;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cookie-accept-btn {
  background: #DC2626;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-accept-btn:hover { background: #B91C1C; }

.cookie-learn-link {
  font-size: 14px;
  color: #94A3B8;
  text-decoration: none;
}

.cookie-learn-link:hover { color: #F1F5F9; }

/* ================================================
   PAGE HERO (sub-pages)
   ================================================ */
.page-hero {
  background: #0F172A;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.85);
  z-index: 1;
  pointer-events: none;
}

.page-hero .section-container {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: 44px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-size: 16px;
  color: #CBD5E1;
}

.breadcrumb-ic {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 16px;
  list-style: none;
  padding: 0;
}

.breadcrumb-ic a {
  color: #94A3B8;
  text-decoration: none;
}

.breadcrumb-ic a:hover { color: #F1F5F9; }

.breadcrumb-ic .sep { color: #64748B; }

.breadcrumb-ic .current { color: #F1F5F9; }

/* ================================================
   TEAM CARDS
   ================================================ */
.team-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-card .team-bio {
  flex: 1;
}

.team-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.team-avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #DC2626;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.team-badge {
  display: inline-block;
  background: #FEF2F2;
  color: #DC2626;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.team-name {
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 4px;
}

.team-title {
  font-size: 14px;
  font-weight: 500;
  color: #DC2626;
  margin-bottom: 10px;
}

.team-bio {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* ================================================
   PRICING CARDS
   ================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 32px 28px;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid #DC2626;
  box-shadow: 0 8px 32px rgba(220,38,38,0.1);
}

.pricing-badge {
  display: inline-block;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.pricing-tier-name {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 4px;
}

.pricing-desc {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 20px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.price-amount {
  font-size: 40px;
  font-weight: 700;
  color: #1E293B;
}

.price-period {
  font-size: 14px;
  color: #64748B;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #475569;
  margin-bottom: 10px;
}

.pricing-features li i {
  color: #DC2626;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-features li i.fa-star {
  color: #DC2626;
}

@media (max-width: 767px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ================================================
   ABOUT PAGE
   ================================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.timeline-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #DC2626;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
  padding-top: 8px;
}

.timeline-year {
  font-size: 12px;
  font-weight: 700;
  color: #DC2626;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-form-section {
  background: #FFFFFF;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  color: #1E293B;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #DC2626;
}

.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-info-card {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 32px;
}

.contact-info-title {
  font-size: 20px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #475569;
}

.contact-info-item i {
  color: #DC2626;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
}

.contact-info-item a {
  color: #475569;
  text-decoration: none;
}

.contact-info-item a:hover { color: #DC2626; }

.map-embed {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: none;
}

@media (max-width: 767px) {
  .contact-split { grid-template-columns: 1fr; }
}

/* ================================================
   PRODUCT PAGE TABS
   ================================================ */
.product-tabs-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.product-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.product-tab-btn.active,
.product-tab-btn:hover {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-tab-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.product-tab-img-placeholder {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, #1E293B, #334155);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-tab-img-placeholder i {
  font-size: 80px;
  color: #DC2626;
  opacity: 0.4;
}

.product-tab-title {
  font-size: 24px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 14px;
}

.product-tab-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-tab-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-tab-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #475569;
  margin-bottom: 10px;
}

.product-tab-bullets li i {
  color: #DC2626;
  margin-top: 3px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .product-tab-panel.active { grid-template-columns: 1fr; }
}

/* ================================================
   LEGAL PAGES
   ================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1E293B;
  margin: 32px 0 12px;
}

.legal-content p, .legal-content li {
  font-size: 14px;
  color: #475569;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content a {
  color: #DC2626;
}

/* ================================================
   BODY OFFSET FOR FIXED NAV (sub-pages)
   ================================================ */
body.has-fixed-nav {
  padding-top: 64px;
}

/* ================================================
   PRICING TOGGLE
   ================================================ */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  font-size: 14px;
  color: #475569;
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }

.toggle-track {
  position: absolute;
  inset: 0;
  background: #CBD5E1;
  border-radius: 24px;
  transition: background 0.2s;
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked ~ .toggle-track { background: #DC2626; }
.toggle-switch input:checked ~ .toggle-thumb { left: 23px; }

.save-label {
  font-size: 12px;
  font-weight: 600;
  color: #DC2626;
  background: #FEF2F2;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ================================================
   MISC
   ================================================ */
a:focus { outline: none; }

img { max-width: 100%; height: auto; }

.text-accent { color: #DC2626; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 767px) {
  .values-grid { grid-template-columns: 1fr; }
}

.values-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
}

.values-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FEF2F2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.values-card-icon i { font-size: 22px; color: #DC2626; }

.values-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 10px;
}

.values-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 767px) {
  .about-split { grid-template-columns: 1fr; }
}

.about-split-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.about-split-img-placeholder {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, #1E293B, #334155);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-split-img-placeholder i {
  font-size: 64px;
  color: #DC2626;
  opacity: 0.4;
}

.stat-inline {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.stat-inline-item {}
.stat-inline-number {
  font-size: 28px;
  font-weight: 700;
  color: #DC2626;
}

.stat-inline-label {
  font-size: 13px;
  color: #64748B;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 20px 0;
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i { color: #DC2626; font-size: 14px; }

.faq-answer {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}

/* === Related Articles (3-col, square images) === */
.related-articles { padding: 60px 0 80px; margin-top: 40px; border-top: 1px solid rgba(0,0,0,0.08); }
.related-articles h2 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); text-decoration: none; }
.related-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.related-card-body { padding: 12px 16px 16px; }
.related-card-body h3 { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 0 0 6px; }
.related-card-body .related-date { font-size: 12px; color: #94A3B8; }

/* === Prev/Next Nav (2-col) === */
.article-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(0,0,0,0.08); }
.article-nav a { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.article-nav a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); text-decoration: none; }
.article-nav .article-nav-next { text-align: right; justify-content: flex-end; }
.article-nav img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.article-nav h4 { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 4px 0 0; }
.article-nav span { font-size: 12px; color: #94A3B8; }

/* === Related Articles Fix === */
.related-card img { width: 100%; height: 180px; object-fit: cover; display: block; aspect-ratio: auto; }
.related-card-body h3 { color: #E2E8F0; }
.related-card-body .related-date { color: #94A3B8; }
.related-card { background: #1E293B; border-color: rgba(255,255,255,0.1); }

/* === Logo size control in nav === */
.site-header .nav-logo img,
.site-nav .nav-logo img,
.site-nav__logo img {
  height: 28px;
  width: auto;
  max-height: 28px;
  vertical-align: middle;
  margin-right: 8px;
}
.site-header .nav-logo,
.site-nav .nav-logo,
.site-nav__logo {
  display: flex;
  align-items: center;
  height: 64px;
  white-space: nowrap;
}

/* === Universal Blog Grid (auto-adaptive) === */
/* Works with Bootstrap row+col OR custom blog-grid class */
.blog-grid,
#blog .row,
.blog-section .row,
section[id*="blog"] .row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  float: none !important;
}
.blog-grid > *,
#blog .row > *,
.blog-section .row > *,
section[id*="blog"] .row > * {
  max-width: 100% !important;
  width: auto !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
}
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.blog-card-body,
.blog-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card p,
.blog-card .card-text {
  flex: 1;
}
.blog-card .read-more,
.blog-card a:last-child {
  margin-top: auto;
}
@media(max-width:992px) {
  .blog-grid,
  #blog .row,
  .blog-section .row,
  section[id*="blog"] .row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media(max-width:576px) {
  .blog-grid,
  #blog .row,
  .blog-section .row,
  section[id*="blog"] .row {
    grid-template-columns: 1fr !important;
  }
}

/* === Blog Article Full-Width Images === */
.blog-img-full {
  text-align: center;
  margin: 32px auto;
  max-width: 100%;
}
.blog-img-full img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Pricing feature check/cross contrast */
.check, .fa-check { color: #22C55E; }
.cross, .fa-times { color: #64748B; opacity: 0.35; }

/* Team card grid equal height */
.team-card-grid .row,
section:has(.team-card) .row {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}
section:has(.team-card) .row > div[class*="col-"] {
  max-width: 100% !important;
  width: auto !important;
  padding: 0 !important;
}
/* Team card social links pinned to bottom */
.team-card .team-card-social,
.team-card ul:last-child {
  margin-top: auto;
}
