/* ============================================
   AKJ ELECTRIC - Custom Styles
   Brand: #181f6f (Deep Blue) | #f1620f (Orange)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --primary: #181f6f;
  --primary-dark: #0f1550;
  --primary-light: #2d3a9e;
  --accent: #f1620f;
  --accent-light: #ff7a2e;
  --accent-dark: #c44d00;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, .25);
  --shadow-orange: 0 8px 25px rgba(241, 98, 15, .35);
  --shadow-blue: 0 8px 25px rgba(24, 31, 111, .35);
  --border-radius: .75rem;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- GLOBAL SECTION Top-Bottom PADDING ---- */
.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-padding-sm {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (max-width: 1024px) {
  .section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-padding-sm {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* ---- SCROLL PROGRESS BAR ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  width: 0%;
  transition: width .1s linear;
}

/* ---- BACK TO TOP ---- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(1rem);
  transition: var(--transition);
  z-index: 1000;
  border: none;
  box-shadow: var(--shadow-blue);
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--accent);
  box-shadow: var(--shadow-orange);
  transform: translateY(-3px);
}

/* ---- NAVBAR ---- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: var(--transition);
}

#navbar.scrolled {
  background: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
}

.nav-link {
  position: relative;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile nav */
#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  z-index: 800;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

#mobile-menu.open {
  display: flex;
}

.mobile-nav-link {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

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

/* Prevent mobile menu on desktop */
@media (min-width: 1024px) {
  #mobile-menu {
    display: none !important;
  }
}

/* Hamburger button stays above mobile menu */
#menu-btn {
  position: relative;
  z-index: 1001;
}

/* Keep close button fixed when mobile menu scrolls */
#menu-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 801;
}

/* ---- LOGO SIZE ---- */
.nav-logo-img {
  height: 80px !important;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@media (max-width: 768px) {
  .nav-logo-img {
    height: 60px !important;
  }
}

/* ================================================================
   SERVICES MEGA DROPDOWN
   ================================================================ */

.nav-services-wrapper {
  position: relative;
}

.nav-services-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-chevron {
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.nav-services-wrapper:hover .nav-chevron {
  transform: rotate(180deg);
}

/* ---- Dropdown Panel ---- */
.nav-mega-menu {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translateX(-50%) translateY(-14px);
  opacity: 0;
  visibility: hidden;
  width: 820px;
  max-width: calc(100vw - 2rem);
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(24, 31, 111, .22),
    0 8px 24px rgba(0, 0, 0, .08),
    0 0 0 1px rgba(24, 31, 111, .07);
  transition: opacity .28s cubic-bezier(.4, 0, .2, 1),
    transform .28s cubic-bezier(.4, 0, .2, 1),
    visibility .28s;
  z-index: 1000;
}

/* Arrow pointer */
.nav-mega-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid var(--primary);
  z-index: 2;
  pointer-events: none;
}

.nav-services-wrapper:hover .nav-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---- Dropdown Header (matches page-hero style) ---- */
.nav-mega-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Dot-grid texture (same as orange-banner) */
.nav-mega-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%23ffffff' fill-opacity='0.07'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

/* Orange radial glow (matches page-hero::after) */
.nav-mega-header::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(241, 98, 15, .28) 0%, transparent 70%);
  top: -70px;
  right: 20px;
  pointer-events: none;
}

.nav-mega-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.nav-mega-header-icon {
  width: 40px;
  height: 40px;
  background: rgba(241, 98, 15, .2);
  border: 1.5px solid rgba(241, 98, 15, .4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-mega-header-text strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.nav-mega-header-text span {
  font-size: .7rem;
  color: rgba(255, 255, 255, .55);
  display: block;
}

.nav-mega-header-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(241, 98, 15, .18);
  border: 1px solid rgba(241, 98, 15, .38);
  color: #ffa070;
  font-size: .67rem;
  font-weight: 600;
  padding: .3rem .85rem;
  border-radius: 2rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---- Grid content ---- */
.nav-mega-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.25rem .875rem;
  gap: .25rem;
  background: #fafafa;
}

.nav-mega-col {
  padding: .875rem .8rem;
  border-radius: .75rem;
  transition: background .22s;
  position: relative;
  background: white;
}

/* Fade-out column divider */
.nav-mega-col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 0;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #e2e8f0 25%, #e2e8f0 75%, transparent);
}

.nav-mega-col:hover {
  background: linear-gradient(160deg, rgba(24, 31, 111, .04), rgba(241, 98, 15, .04));
}

/* Category header */
.nav-mega-cat-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef0f6;
  transition: border-color .22s;
}

.nav-mega-col:hover .nav-mega-cat-header {
  border-bottom-color: var(--accent);
}

.nav-mega-cat-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .22s;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .18);
}

.nav-mega-col:hover .nav-mega-cat-icon {
  transform: scale(1.12) rotate(-4deg);
}

.nav-mega-cat-title {
  font-family: 'Poppins', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Service list */
.nav-mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-mega-list li a {
  display: flex;
  align-items: center;
  font-size: .775rem;
  color: #4b5563;
  padding: 5px 8px 5px 8px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all .18s cubic-bezier(.4, 0, .2, 1);
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
}

.nav-mega-list li a:hover {
  color: var(--primary);
  background: rgba(24, 31, 111, .06);
  border-left-color: var(--accent);
  padding-left: 12px;
}

/* ---- Footer CTA bar ---- */
.nav-mega-footer {
  background: linear-gradient(135deg, var(--accent) 0%, #c94d0a 100%);
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Same dot pattern as header */
.nav-mega-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%23ffffff' fill-opacity='0.08'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.nav-mega-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: .85rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: gap .2s;
}

.nav-mega-cta:hover {
  gap: 14px;
}

.nav-mega-footer-right {
  position: relative;
  z-index: 1;
}

.nav-mega-cta-pill {
  display: inline-block;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .9);
  font-size: .68rem;
  font-weight: 600;
  padding: .28rem .75rem;
  border-radius: 2rem;
  letter-spacing: .04em;
}

/* ================================================================
   MOBILE SERVICES ACCORDION
   ================================================================ */

/* Make mobile menu scrollable when accordion opens */
#mobile-menu {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  justify-content: center;
  align-items: center;
}

/* When services accordion is expanded, shift to top-align so content is scrollable */
#mobile-menu:has(#mobile-services-acc.open) {
  justify-content: flex-start;
}

.mobile-services-accordion {
  width: 100%;
  text-align: center;
}

.mobile-services-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .3s;
  width: 100%;
  padding: 0;
}

.mobile-services-toggle:hover {
  color: var(--accent);
}

.mobile-services-chevron {
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  flex-shrink: 0;
}

.mobile-services-accordion.open .mobile-services-chevron {
  transform: rotate(180deg);
}

.mobile-services-accordion.open .mobile-services-toggle {
  color: var(--accent);
}

.mobile-services-sub {
  display: none;
  flex-direction: column;
  gap: .3rem;
  padding: .875rem .75rem .75rem;
  margin-top: .5rem;
  width: 100%;
}

.mobile-services-accordion.open .mobile-services-sub {
  display: flex;
}

/* Category label with decorative lines */
.mobile-services-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  color: var(--accent-light);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: .75rem 0 .2rem;
  text-align: center;
}

.mobile-services-cat::before,
.mobile-services-cat::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .12);
  max-width: 36px;
}

.mobile-services-sub a {
  color: rgba(255, 255, 255, .78);
  font-size: .875rem;
  font-weight: 500;
  padding: .45rem 1.25rem;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid transparent;
  transition: all .2s;
  text-decoration: none;
  text-align: center;
  display: block;
}

.mobile-services-sub a:hover,
.mobile-services-sub a:active {
  background: rgba(241, 98, 15, .18);
  border-color: rgba(241, 98, 15, .3);
  color: #ffa070;
}

.mobile-services-viewall {
  margin-top: .625rem !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: .875rem !important;
  padding: .6rem 1.5rem !important;
  border-radius: .5rem !important;
}

/* ---- DROPDOWN RESPONSIVE ---- */
/* Mid-size laptops: shift dropdown left so it doesn't clip right edge */
@media (min-width: 1024px) and (max-width: 1200px) {
  .nav-mega-menu {
    width: min(760px, calc(100vw - 2rem));
    left: auto;
    right: -80px;
    transform: translateY(-14px);
  }

  .nav-mega-menu::before {
    left: auto;
    right: 94px;
    transform: none;
  }

  .nav-services-wrapper:hover .nav-mega-menu {
    transform: translateY(0);
  }
}

/* ---- HERO ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 31, 111, .92) 0%, rgba(24, 31, 111, .75) 50%, rgba(241, 98, 15, .4) 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 70% center;
  width: 100%;
  height: 100%;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-section.loaded .hero-bg {
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(241, 98, 15, .2);
  border: 1px solid rgba(241, 98, 15, .4);
  color: #ffa070;
  padding: .4rem 1rem;
  border-radius: 2rem;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--accent-light);
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .85);
  max-width: 42rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: white;
  padding: .875rem 2rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(241, 98, 15, .45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .12);
  color: white;
  padding: .875rem 2rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .5);
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, .25);
  border-color: white;
  transform: translateY(-2px);
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary);
  color: white;
  padding: .875rem 2rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-shadow: var(--shadow-blue);
}

.btn-blue:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(24, 31, 111, .45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--primary);
  padding: .75rem 1.75rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid var(--primary);
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* ---- SECTION HEADERS ---- */
.section-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: #6b7280;
  line-height: 1.8;
  max-width: 42rem;
}

/* ---- DIVIDER ---- */
.accent-divider {
  width: 4rem;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
  margin: 1rem 0;
}

.accent-divider.center {
  margin: 1rem auto;
}

/* ---- CARDS ---- */
.card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

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

.service-card {
  padding: 2rem;
  text-align: center;
}

.service-card .icon-wrap {
  width: 4.5rem;
  height: 4.5rem;
  background: linear-gradient(135deg, rgba(24, 31, 111, .08), rgba(241, 98, 15, .08));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.service-card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.service-card:hover .icon-wrap svg {
  color: white;
}

.service-card:hover {
  border-color: rgba(241, 98, 15, .2);
}

/* ---- STATS ---- */
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-number .accent {
  color: var(--accent);
}

/* ---- PRODUCTS ---- */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  background: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(241, 98, 15, .3);
}

.product-card .product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: white;
  padding: .25rem .75rem;
  border-radius: 2rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ---- PROJECTS ---- */
.project-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.project-card>img,
.project-card>picture,
.project-card>picture img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.project-card:hover>img,
.project-card:hover>picture img {
  transform: scale(1.08);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  height: 260px;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(24, 31, 111, .95) 0%, rgba(24, 31, 111, .4) 60%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card-info {
  padding: 1.25rem 1.5rem;
  background: white;
}

.project-category {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .5rem;
}

/* Filter buttons */
.filter-btn {
  padding: .5rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: .875rem;
  border: 2px solid var(--gray-200);
  background: white;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* ---- MODAL ---- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: white;
  border-radius: 1.25rem;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(.95) translateY(1rem);
  transition: var(--transition);
}

.modal-backdrop.open .modal-box {
  transform: scale(1) translateY(0);
}

/* ---- BLOG ---- */
.blog-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.blog-featured-link,
.blog-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
}

.blog-featured-link:hover,
.blog-card-link:hover {
  color: inherit;
}

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

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

.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform .4s ease;
}

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

.blog-skeleton {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  background: linear-gradient(90deg, #edf2f7 0%, #f8fafc 50%, #edf2f7 100%);
  background-size: 200% 100%;
  animation: blogShimmer 1.6s linear infinite;
}

.blog-skeleton-featured {
  height: 420px;
  border-radius: 1.25rem;
}

.blog-skeleton-card {
  height: 360px;
}

.blog-detail-back {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.blog-detail-back:hover {
  color: var(--accent);
  transform: translateX(-2px);
}

.blog-detail-shell {
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-lg);
}

.blog-detail-image {
  width: 100%;
  height: min(520px, 48vh);
  object-fit: cover;
  display: block;
}

.blog-detail-body {
  padding: 3rem;
}

.blog-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.blog-spinner {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 3px solid rgba(24, 31, 111, .15);
  border-top-color: var(--accent);
  animation: blogSpin 1s linear infinite;
}

.blog-prose {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.85;
}

.blog-prose > * + * {
  margin-top: 1.25rem;
}

.blog-prose .blog-lead {
  font-size: 1.125rem;
  color: var(--gray-900);
  font-weight: 500;
}

.blog-prose h1,
.blog-prose h2,
.blog-prose h3,
.blog-prose h4,
.blog-prose h5,
.blog-prose h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-prose h1 {
  font-size: 2.35rem;
  font-weight: 900;
}

.blog-prose h2 {
  font-size: 1.875rem;
  font-weight: 800;
}

.blog-prose h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.blog-prose h4,
.blog-prose h5,
.blog-prose h6 {
  font-size: 1.2rem;
  font-weight: 700;
}

.blog-prose a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.blog-prose ul,
.blog-prose ol {
  padding-left: 1.25rem;
}

.blog-prose li + li {
  margin-top: .5rem;
}

.blog-prose blockquote {
  border-left: 4px solid var(--accent);
  background: var(--gray-50);
  border-radius: .75rem;
  padding: 1rem 1.25rem;
  color: var(--gray-900);
}

.blog-prose img,
.blog-prose .blog-prose-image {
  width: 100%;
  border-radius: 1rem;
}

.blog-prose pre {
  background: #111827;
  color: #f9fafb;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  overflow-x: auto;
}

.blog-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .92em;
}

.blog-prose :not(pre) > code {
  background: var(--gray-100);
  color: var(--primary-dark);
  border-radius: .35rem;
  padding: .15rem .35rem;
}

@keyframes blogShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@keyframes blogSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- TIMELINE ---- */
.timeline {
  position: relative;
  padding: 1rem 0;
}

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

.timeline-item {
  display: flex;
  width: 50%;
  padding: 0 3rem 3rem;
  position: relative;
}

.timeline-item.left {
  flex-direction: row-reverse;
  text-align: right;
  margin-left: 0;
}

.timeline-item.right {
  margin-left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--accent);
  border: 3px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item.left .timeline-dot {
  right: -0.625rem;
}

.timeline-item.right .timeline-dot {
  left: -0.625rem;
}

/* ---- CONTACT FORM ---- */
.contact-input {
  width: 100%;
  padding: .875rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: .5rem;
  outline: none;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  background: white;
  color: var(--gray-900);
}

.contact-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24, 31, 111, .1);
}

.contact-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
}

.input-error-msg {
  color: #ef4444;
  font-size: .8rem;
  margin-top: .25rem;
  display: none;
}

.contact-input.error+.input-error-msg {
  display: block;
}

/* ---- ORANGE BANNER ---- */
.orange-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #e5500a 100%);
  position: relative;
  overflow: hidden;
}

.orange-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ---- FOOTER ---- */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .8);
}

.footer-logo {
  filter: brightness(10);
}

.footer-link {
  color: rgba(255, 255, 255, .6);
  transition: var(--transition);
  text-decoration: none;
}

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

.footer-heading {
  color: white;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
  margin-top: .5rem;
}

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity .7s ease;
}

.fade-in.visible {
  opacity: 1;
}

.stagger-1 {
  transition-delay: .1s;
}

.stagger-2 {
  transition-delay: .2s;
}

.stagger-3 {
  transition-delay: .3s;
}

.stagger-4 {
  transition-delay: .4s;
}

.stagger-5 {
  transition-delay: .5s;
}

.stagger-6 {
  transition-delay: .6s;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(241, 98, 15, .15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

/* ---- TOP INFO BAR ---- */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .85);
  font-size: .8125rem;
  padding: .5rem 0;
}

/* ---- TRUSTED BADGES ---- */
.trust-badge {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: .75rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.trust-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ---- WHY CHOOSE US CARDS ---- */
.why-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  background: var(--gray-50);
  border-left: 4px solid transparent;
  transition: var(--transition);
}

.why-card:hover {
  background: white;
  border-left-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

/* ---- UTILITY ---- */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23181f6f' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ---- TEAM SECTION V2 ---- */
.team-section-bg {
  background: #f4f6fb;
  position: relative;
  overflow: hidden;
}

.team-section-bg::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 31, 111, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.team-section-bg::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 98, 15, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.team-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

/* ── Card Shell ── */
.team-card-v2 {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid rgba(24, 31, 111, 0.08);
  box-shadow: 0 2px 16px rgba(24, 31, 111, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px -8px rgba(24, 31, 111, 0.16),
    0 4px 16px rgba(241, 98, 15, 0.10);
}

/* ── Card Header ── */
.team-card-header {
  background: linear-gradient(145deg, #181f6f 0%, #1e2880 50%, #2d3a9e 100%);
  padding: 1.75rem 1.5rem 1.75rem;
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* Name + avatar centered column inside header */
.team-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 3;
}

/* Soft glow blobs inside header */
.team-card-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.team-card-bg-pattern::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.team-card-bg-pattern::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(241, 98, 15, 0.12);
}

/* Orange diagonal stripe accent at header top */
.team-card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #ffa54e 60%, transparent 100%);
}

/* ── Role icon pill (top-right) ── */
.team-header-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 3px 10px rgba(241, 98, 15, 0.45);
  transition: transform 0.25s ease;
}

.team-card-v2:hover .team-header-icon {
  transform: rotate(15deg) scale(1.1);
}

/* ── Avatar ring ── */
.team-avatar-ring {
  position: relative;
  z-index: 3;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, var(--accent) 0%, #ffa54e 100%);
  box-shadow: 0 6px 20px rgba(241, 98, 15, 0.40);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.team-card-v2:hover .team-avatar-ring {
  transform: scale(1.07);
  box-shadow: 0 10px 28px rgba(241, 98, 15, 0.50);
}

.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.team-card-v2:hover .team-avatar img {
  transform: scale(1.07);
}

/* ── Card body ── */
.team-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.team-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* ── Role badge — all use accent+primary theme ── */
.team-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(24, 31, 111, 0.20);
}

.team-badge-ceo {
  background: linear-gradient(135deg, #0f1550 0%, #181f6f 100%);
}

.team-badge-pm {
  background: linear-gradient(135deg, #181f6f 0%, #2d3a9e 100%);
}

.team-badge-journeyman {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}

.team-badge-electrician {
  background: linear-gradient(135deg, #181f6f 0%, var(--accent) 100%);
}

/* ── Bio text ── */
.team-card-bio {
  font-size: 0.84rem;
  color: #4b5563;
  line-height: 1.72;
  text-align: center;
  flex: 1;
  margin-bottom: 0.25rem;
}

/* ── Footer stats ── */
/* Mobile: side-by-side row */
.team-card-footer {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecf5;
  flex-wrap: wrap;
}

/* Tablet & up: stacked column */
@media (min-width: 768px) {
  .team-card-footer {
    flex-direction: column;
  }
}

.team-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--primary);
  background: #f4f6fb;
  border-radius: 0.5rem;
  padding: 0.45rem 0.75rem;
  transition: background 0.2s;
  flex: 1 1 auto;
}

@media (min-width: 768px) {
  .team-stat {
    flex: unset;
  }
}

.team-card-v2:hover .team-stat {
  background: #eef0fa;
}

.team-stat svg {
  color: var(--accent);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* Legacy selectors kept for other pages */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.team-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- CLIENT MARQUEE (Advanced) ---- */
.clients-section {
  padding: 4rem 0;
  background: white;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
}

/* Add subtle masking gradient at edges */
.clients-section::before,
.clients-section::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15rem;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-section::before {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}

.clients-section::after {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}

.marquee-container {
  display: flex;
  width: fit-content;
  animation: scroll-marquee 40s linear infinite;
  gap: 2rem;
  padding: 1.5rem 0;
}

.marquee-container:hover {
  animation-play-state: paused;
}

.client-logo-item {
  width: 220px;
  height: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid #f3f4f6;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.client-logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  /* Always colorful */
  opacity: 1;
  /* Fully visible */
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% / 2));
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .clients-section {
    padding: 3rem 0;
  }

  .client-logo-item {
    width: 180px;
    height: 90px;
    padding: 1rem;
    border-radius: 1rem;
  }

  .marquee-container {
    animation-duration: 25s;
    /* Slightly faster for small screens */
    gap: 1rem;
  }

  .clients-section::before,
  .clients-section::after {
    width: 6rem;
  }
}

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.testimonial-quote {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: serif;
  line-height: 1;
}

.star-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 1.25rem;
  color: #ffb800;
}

.testimonial-text {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-50);
}

.author-info h4 {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.125rem;
}

.author-info p {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Responsive adjustments for reviews */
@media (max-width: 640px) {
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Responsive timeline (Existing) */
@media (max-width: 768px) {
  .blog-skeleton-featured {
    height: 320px;
  }

  .blog-detail-body {
    padding: 1.5rem;
  }

  .blog-detail-image {
    height: 240px;
  }

  .blog-prose h1 {
    font-size: 2rem;
  }

  .blog-prose h2 {
    font-size: 1.5rem;
  }

  .timeline::before {
    left: 1.25rem;
  }

  .timeline-item {
    width: 100%;
    margin-left: 0 !important;
    padding-left: 3.5rem;
    padding-right: 1rem;
    flex-direction: row !important;
    text-align: left !important;
  }

  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: .625rem;
    right: auto;
  }
}
