/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --color-bg: #ffffff;
  --color-bg-dark: #0a0a0f;
  --color-text: #17171c;
  --color-text-muted: #6b6b7f;
  --color-border: #e2e2e9;
  --color-surface: #f4f4f7;
  --color-accent: #e87a1e;
  --color-accent-hover: #c96510;
  --color-accent-light: #fff3e8;
  --color-overlay-scrim: rgba(10, 10, 15, 0.7);
  --color-green: #25d366;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.12);
  --shadow-premium: 0 20px 40px rgba(232, 122, 30, 0.08);
  --shadow-premium-glow: 0 0 30px rgba(232, 122, 30, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-premium: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: 1px solid rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 24px 60px rgba(10, 10, 15, 0.12);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 2.5rem;
  /* 40px */
}

h2 {
  font-size: 2rem;
  /* 32px */
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  /* 24px */
  margin-bottom: 1rem;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--color-surface);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-accent {
  color: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 122, 30, 0.2);
}

.btn-secondary {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

.btn-secondary:hover {
  background-color: #ffe6d1;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  background-color: var(--color-surface);
  border-color: var(--color-text-muted);
  transform: translateY(-2px);
}

/* Header */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

body.admin-bar #main-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar #main-header {
    top: 46px;
  }
}

#main-header.scrolled {
  box-shadow: var(--shadow-md);
}

/* Global Hero Section for Subpages with Guaranteed Header Clearance */
.about-hero {
  padding-top: max(145px, 9.5rem) !important;
  padding-bottom: 3.5rem;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(232, 122, 30, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(232, 122, 30, 0.05) 0%, transparent 50%),
              var(--color-bg);
  text-align: center;
  overflow: hidden;
  clear: both;
}

body.admin-bar .about-hero {
  padding-top: max(175px, 11rem) !important;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: var(--color-accent-light, rgba(232, 122, 30, 0.12));
  color: var(--color-accent, #e87a1e);
  font-family: var(--font-sans, inherit);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full, 9999px);
  margin-bottom: 0.75rem;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 2.5rem;
  width: auto;
}

.logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  letter-spacing: -0.5px;
}

.logo span span {
  color: var(--color-accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-contact-link svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--color-accent);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-tag {
  align-self: flex-start;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-bg {
  position: absolute;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, var(--color-accent-light) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  border-radius: var(--radius-full);
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  max-width: 380px;
  background-color: var(--color-surface);
}

/* Trust Strip */
.trust-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
  background-color: #ffffff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-light);
  border-radius: var(--radius-md);
  color: var(--color-accent);
}

.trust-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.trust-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  gap: 1.5rem;
}

/* Bento Grid Span Utilities for Portfolio */
@media (min-width: 981px) {
  .portfolio-bento-col-span-2 {
    grid-column: span 2;
  }
  .portfolio-bento-row-span-2 {
    grid-row: span 2;
  }
}

/* Premium Project Card Design */
.premium-project-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-premium);
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.premium-project-card .portfolio-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f8f9fa;
  border-bottom: 1px solid var(--color-border);
}
.premium-project-card .portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-premium);
}
.premium-project-card:hover .portfolio-thumb img {
  transform: scale(1.05);
}
.premium-project-card .card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 1.5rem;
}
.premium-project-card .card-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.premium-project-card .card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
}
.premium-project-card .card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0;
  font-family: var(--font-display);
}
.premium-project-card .card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.premium-project-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-surface);
  padding-top: 1.25rem;
  margin-top: auto;
}
.premium-project-card .card-metric {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
}
.premium-project-card .card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}
.premium-project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-premium-glow);
  border-color: rgba(232, 122, 30, 0.25);
}
.premium-project-card:hover .card-link {
  color: var(--color-accent);
}

/* Home Page Bento Configurations */
.bento-services-home {
  grid-template-columns: repeat(2, 1fr);
}

.bento-portfolio-home {
  grid-template-columns: repeat(3, 1fr);
}

.bento-blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Bento Cards styling */
.bento-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition-premium);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  opacity: 0;
  transition: var(--transition-premium);
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg), var(--shadow-premium-glow);
  border-color: rgba(232, 122, 30, 0.35);
}

.bento-card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: var(--transition);
}

.bento-card:hover .card-icon {
  background-color: var(--color-accent-light);
  transform: scale(1.05);
}

.card-icon svg {
  width: 2rem;
  height: 2rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.card-title {
  font-size: 1.25rem;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}

.price-badge {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-md);
}

.metric-badge {
  background-color: #e2fbe8;
  color: #1b8a3e;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-md);
}

.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-link svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: var(--transition);
}

.bento-card:hover .card-link svg {
  transform: translateX(4px);
}

/* Portfolio Thumbnail container inside bento cards */
.portfolio-thumb {
  width: 100%;
  height: 180px;
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.bento-card:hover .portfolio-thumb img {
  transform: scale(1.05);
}

.portfolio-client-logo {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  height: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-client-logo img {
  height: 1.5rem;
  width: auto;
  object-fit: contain;
}


/* Brands Carousel (3D Orbit Experience) */
.brands-carousel-section {
  padding: 5.5rem 0 6rem;
  background-image: radial-gradient(circle at top left, rgba(232, 122, 30, 0.08), transparent 25%),
    radial-gradient(circle at 80% 15%, rgba(244, 244, 247, 0.8), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f4f4f7 100%);
  color: var(--color-text);
  overflow: hidden;
}

.brands-header {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Responsive Brands Title Toggle */
.brands-title-desktop {
  display: inline;
}
.brands-title-mobile {
  display: none;
}

.brands-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0.6rem 0 0.75rem;
}

.brands-intro {
  max-width: 680px;
  margin: 0 auto;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.brands-orbit-wrap {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  transition: min-height 0.4s ease;
}

.brands-orbit-wrap[data-shells="2"] {
  min-height: 680px;
}

.brands-orbit-wrap[data-shells="3"] {
  min-height: 750px;
}

.brands-orbit-wrap:active {
  cursor: grabbing;
}

.brands-orbit {
  position: relative;
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  perspective: 1200px;
}

/* Atomic Electron Shell Orbit Rings styling */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  border-radius: 50%;
  pointer-events: none;
  box-sizing: border-box;
  transition: border-color 0.4s ease;
}

/* Shell 0 (Inner Orbital): Warm Amber Accent */
.orbit-ring-shell-0,
.orbit-ring-1 {
  border: 1.5px dashed rgba(232, 122, 30, 0.32);
  box-shadow: 0 0 25px rgba(232, 122, 30, 0.08), inset 0 0 25px rgba(232, 122, 30, 0.04);
}

/* Shell 1 (Outer Crossed Orbital): Luminous Azure */
.orbit-ring-shell-1,
.orbit-ring-2 {
  border: 1.5px dashed rgba(34, 139, 230, 0.28);
  box-shadow: 0 0 35px rgba(34, 139, 230, 0.08), inset 0 0 35px rgba(34, 139, 230, 0.03);
}

/* Shell 2 (Extended Orbital): Radiant Purple */
.orbit-ring-shell-2,
.orbit-ring-3 {
  border: 1.5px dashed rgba(168, 85, 247, 0.26);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.08), inset 0 0 40px rgba(168, 85, 247, 0.03);
}

/* Planet Cards (Client Brands) */
.brand-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(232, 122, 30, 0.12);
  box-shadow: 0 10px 30px rgba(10, 10, 15, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  transform-origin: center center;
  overflow: hidden;
  transition: border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    filter 0.3s ease,
    opacity 0.3s ease;
  z-index: 10;
  text-decoration: none;
}

.brand-node::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 70%);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.brand-node img {
  position: relative;
  max-height: 98%;
  max-width: 98%;
  object-fit: contain;
  opacity: 0.95;
  filter: brightness(1) contrast(1.05);
  transition: all 0.4s ease;
  z-index: 2;
}

.dr-madhavi-orbit-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent, #e87a1e);
  letter-spacing: -0.5px;
  transition: all 0.4s ease;
  z-index: 2;
}

.brand-node:hover .dr-madhavi-orbit-text {
  transform: scale(1.08);
}

/* Hover highlights for nodes */
.brand-node:hover {
  border-color: rgba(232, 122, 30, 0.6);
  box-shadow: 0 15px 40px rgba(232, 122, 30, 0.15),
    0 0 20px rgba(232, 122, 30, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
  opacity: 1 !important;
  filter: blur(0px) !important;
  z-index: 9999 !important;
}

.brand-node:hover::before {
  transform: translate(50%, 50%) rotate(45deg);
}

.brand-node:hover img {
  opacity: 1;
  transform: scale(1.08);
  filter: brightness(1) contrast(1.1);
}

/* Shell-specific node themes (Electron Orbital Accents) */
.brand-node[data-shell="1"] {
  border-color: rgba(34, 139, 230, 0.18);
}

.brand-node[data-shell="1"]:hover {
  border-color: rgba(34, 139, 230, 0.7);
  box-shadow: 0 15px 40px rgba(34, 139, 230, 0.2),
    0 0 20px rgba(34, 139, 230, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.brand-node[data-shell="2"] {
  border-color: rgba(168, 85, 247, 0.18);
}

.brand-node[data-shell="2"]:hover {
  border-color: rgba(168, 85, 247, 0.7);
  box-shadow: 0 15px 40px rgba(168, 85, 247, 0.2),
    0 0 20px rgba(168, 85, 247, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* Centerpiece (Sun Logo) */
.brands-orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(232, 122, 30, 0.3);
  box-shadow: 0 0 50px rgba(232, 122, 30, 0.12),
    inset 0 0 30px rgba(232, 122, 30, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  animation: sun-pulse 6s infinite ease-in-out;
  overflow: hidden;
}

.brands-orbit-center::before {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px solid rgba(232, 122, 30, 0.05);
  border-top-color: rgba(232, 122, 30, 0.6);
  border-bottom-color: rgba(232, 122, 30, 0.4);
  animation: spin-corona 20s linear infinite;
  pointer-events: none;
}

.brands-orbit-center img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: none;
  padding: 2.2rem;
  transition: transform 0.4s ease;
}

.brands-orbit-center:hover {
  border-color: #e87a1e;
  animation: sun-pulse 2s infinite ease-in-out;
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 80px rgba(232, 122, 30, 0.3),
    inset 0 0 40px rgba(232, 122, 30, 0.15);
}

.brands-orbit-center:hover img {
  transform: scale(1.08) rotate(5deg);
}

@keyframes sun-pulse {
  0% {
    box-shadow: 0 0 50px rgba(232, 122, 30, 0.12),
      inset 0 0 30px rgba(232, 122, 30, 0.08);
    border-color: rgba(232, 122, 30, 0.3);
  }

  50% {
    box-shadow: 0 0 80px rgba(232, 122, 30, 0.25),
      0 0 120px rgba(232, 122, 30, 0.06),
      inset 0 0 50px rgba(232, 122, 30, 0.18);
    border-color: rgba(232, 122, 30, 0.5);
  }

  100% {
    box-shadow: 0 0 50px rgba(232, 122, 30, 0.12),
      inset 0 0 30px rgba(232, 122, 30, 0.08);
    border-color: rgba(232, 122, 30, 0.3);
  }
}

@keyframes spin-corona {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .brands-orbit-wrap {
    min-height: 500px;
  }

  .brands-orbit {
    min-height: 500px;
  }

  .brand-node {
    width: 140px;
    height: 80px;
    border-radius: 1rem;
    padding: 0.4rem;
  }

  .brands-orbit-center {
    width: 140px;
    height: 140px;
  }
}

/* Trust Badges Row */
/* Redesigned Trust Badges Section */
.trust-badges-section {
  padding: 5rem 0;
  text-align: center;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  position: relative;
}

.badges-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  position: relative;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-premium);
  text-align: left;
}

.badge-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.google-partner-badge:hover {
  border-color: rgba(66, 133, 244, 0.4);
  box-shadow: 0 10px 30px rgba(66, 133, 244, 0.08);
}

.meta-partner-badge:hover {
  border-color: rgba(0, 100, 224, 0.4);
  box-shadow: 0 10px 30px rgba(0, 100, 224, 0.08);
}

.badge-icon-wrapper {
  background: var(--color-surface);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.badge-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0;
}

.badge-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.pulsing-amber {
  background-color: #d97706; /* amber */
  box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4);
  animation: pulse-amber 2s infinite;
}

@keyframes pulse-amber {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(217, 119, 6, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
  }
}

.status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Services Page Specific Styles */
.services-grid-full {
  grid-template-columns: repeat(3, 1fr);
}

/* Local SEO Area Cards */
.local-area-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.local-area-card:hover span,
.local-area-card:hover h4 {
  color: var(--color-accent) !important;
}

/* Reusable Bottom CTA Sections */
.section-cta {
  text-align: center;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.section-cta-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

/* Category Filters (Shared by Portfolio & Services) */
.portfolio-filters-container {
  display: flex;
  gap: 0.5rem;
  background-color: var(--color-surface);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  margin-bottom: 3rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--color-border);
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio-filter-btn {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-filter-btn:hover {
  color: var(--color-accent);
}

.portfolio-filter-btn.active {
  background-color: #ffffff;
  color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-category-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: var(--color-surface);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(232, 122, 30, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-success-state {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background-color: #e2fbe8;
  color: #1b8a3e;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.success-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}


/* FAQ Accordion */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-group-title {
  font-size: 1.5rem;
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent-light);
}

.faq-group-title:first-of-type {
  margin-top: 0;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background-color: #ffffff;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  user-select: none;
}

.faq-question:hover {
  background-color: var(--color-surface);
}

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--color-text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  fill: var(--color-accent);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  border-top-color: var(--color-border);
}

/* Footer */
footer {
  background: radial-gradient(circle at 50% 0%, rgba(232, 122, 30, 0.08) 0%, var(--color-bg-dark) 70%), var(--color-bg-dark);
  color: #ffffff;
  padding: 6rem 0 2.5rem;
  border-top: 1px solid rgba(232, 122, 30, 0.25);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-logo,
footer .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img,
footer .logo img {
  height: 2.75rem;
  width: auto;
}

.footer-logo span,
footer .logo span,
#main-footer .logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: #ffffff !important;
  letter-spacing: -0.02em;
}

.footer-logo span span,
footer .logo span span,
#main-footer .logo span span {
  color: var(--color-accent) !important;
}

.footer-desc {
  color: #a0a0b2;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.75rem;
  height: 2.75rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0a0b2;
  transition: var(--transition-premium);
}

.social-link:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(232, 122, 30, 0.2);
}

.social-link svg {
  width: 1.35rem;
  height: 1.35rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #a0a0b2;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-list li {
  display: flex;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #a0a0b2;
  line-height: 1.5;
}

.footer-contact-list li svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer-contact-list li a {
  color: #a0a0b2;
  transition: var(--transition);
}

.footer-contact-list li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: #8e8e9f;
}

/* WhatsApp Widget (Slide-out Label) */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 3.5rem;
  height: 3.5rem;
  padding-left: 0.75rem;
  border-radius: 100px;
  background-color: var(--color-green);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.whatsapp-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: pulse-green 2s infinite;
  pointer-events: none;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-btn:hover {
  width: 14.5rem;
  /* expand width to fit label */
  padding-left: 0.75rem;
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 2rem;
  height: 2rem;
  fill: #ffffff;
  flex-shrink: 0;
}

.wa-hover-label {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 0.75rem;
  margin-right: 1.25rem;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-btn:hover .wa-hover-label {
  opacity: 1;
  transform: translateX(0);
}

/* Lead Popup */
.lead-popup {
  position: fixed;
  bottom: 2rem;
  right: 6.5rem;
  width: 350px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 95;
  padding: 1.75rem;
  transform: translateY(150%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lead-popup.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.lead-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.lead-popup-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.lead-popup-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 0.25rem;
}

.lead-popup-close:hover {
  color: var(--color-text);
}

.lead-popup-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lead-popup-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.lead-popup .form-group {
  margin-bottom: 1rem;
}

.lead-popup .form-control {
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
}


/* Detail Fragment Inner Layouts */
.detail-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: transform, opacity;
}

.detail-content.page-entrance {
  opacity: 1;
  transform: none;
}

.detail-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-meta-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.detail-body {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 0;
}

.detail-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-left: 4px solid var(--color-accent);
  padding-left: 0.75rem;
}

.detail-feature-list,
.detail-deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-feature-list li,
.detail-deliverables-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 1rem;
}

.detail-feature-list li svg,
.detail-deliverables-list li svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.fact-box {
  background-color: var(--color-accent-light);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.fact-box h4 {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.fact-box p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text);
}

.step-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-flow-item {
  display: flex;
  gap: 1.25rem;
}

.step-number {
  width: 2.25rem;
  height: 2.25rem;
  background-color: var(--color-accent);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.step-details h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-details p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.detail-sidebar-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.detail-sidebar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.detail-sidebar-card .form-group {
  margin-bottom: 1.25rem;
}

.detail-sidebar-card .form-control {
  background-color: #ffffff;
  padding: 0.75rem 1rem;
}

/* Responsive Breakpoints */

/* Desktop & Laptop (1280px and down) */
@media (max-width: 1200px) {
  h1 {
    font-size: 2.25rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .bento-portfolio-home {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

}

/* Medium Devices & Tablet Portrait Layouts (991px and down) */
@media (max-width: 991px) {
  .detail-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .detail-sidebar {
    position: relative;
    top: 0;
  }
}

/* Tablet (768px and down) */
/* Home Blog Header Layout */
.home-blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  /* Responsive Headings */
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }

  /* Responsive Detail Header */
  .detail-header {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  .detail-header h1 {
    font-size: 1.85rem;
  }
  .detail-header .text-muted {
    font-size: 1rem;
    line-height: 1.5;
  }

  .section {
    padding: 2.75rem 0 !important;
  }

  .section-header {
    margin-bottom: 1.75rem !important;
  }

  .section-header h2 {
    margin: 0.35rem 0 0.5rem !important;
  }

  .hero-section {
    padding-top: 5.25rem !important;
    padding-bottom: 2.25rem !important;
  }

  .trust-strip {
    padding: 1.25rem 0 !important;
  }

  .trust-badges-section {
    padding: 2.5rem 0 !important;
  }

  .badges-grid {
    gap: 1rem !important;
  }

  .badge-item {
    padding: 1.15rem 1.25rem !important;
  }

  .home-portfolio-section {
    padding: 2.25rem 0 1.5rem !important;
  }

  .home-portfolio-header {
    margin-bottom: 1.25rem !important;
    gap: 0.5rem !important;
  }

  #home-blog {
    padding: 1.75rem 0 !important;
  }

  .home-blog-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.25rem !important;
  }

  footer {
    padding: 3rem 0 1.5rem !important;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: var(--shadow-lg);
    z-index: 105;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 3rem;
    transition: var(--transition);
  }

  body.nav-open .nav-menu {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 2rem;
  }

  .nav-links a {
    font-size: 1.15rem;
    width: 100%;
    display: block;
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 1.5rem;
  }

  .nav-contact-link {
    justify-content: flex-start;
  }

  body.nav-open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 320px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .bento-services-home {
    grid-template-columns: 1fr;
  }

  .bento-portfolio-home {
    grid-template-columns: 1fr;
  }

  .bento-blog-grid {
    grid-template-columns: 1fr;
  }


  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .founder-story-content blockquote {
    text-align: left;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .detail-content {
    padding: 6.5rem 1.25rem 4rem;
  }

  .browser-mockup-content {
    padding: 2rem;
  }

  .browser-address {
    margin: 0 1.5rem;
  }
}

/* Mobile (480px and down) */
@media (max-width: 480px) {
  .section {
    padding: 2.25rem 0 !important;
  }

  .section-header {
    margin-bottom: 1.25rem !important;
  }

  .hero-section {
    padding-top: 4.75rem !important;
    padding-bottom: 1.75rem !important;
  }

  .hero-title {
    font-size: 1.95rem !important;
  }

  .home-portfolio-section {
    padding: 1.75rem 0 1.25rem !important;
  }

  .home-portfolio-header {
    margin-bottom: 1rem !important;
  }

  .brands-carousel-section {
    padding: 1.25rem 0 1.5rem !important;
  }

  #home-blog {
    padding: 1.5rem 0 !important;
  }

  .home-blog-header {
    margin-bottom: 1rem !important;
  }

  /* Responsive Headings Mobile */
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  /* Responsive Detail Header Mobile */
  .detail-header {
    padding: 1.5rem 1rem;
  }
  .detail-header h1 {
    font-size: 1.5rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .services-grid-full {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lead-popup {
    width: calc(100% - 2rem);
    right: 1rem;
    left: 1rem;
    bottom: 6rem;
  }

  .whatsapp-widget {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .detail-content {
    padding: 6.25rem 1rem 3.5rem;
  }

  .browser-mockup-content {
    padding: 1.25rem;
  }

  .browser-address {
    margin: 0 0.5rem;
    font-size: 0.7rem;
  }

  .browser-mockup-header {
    padding: 0 0.75rem;
  }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations for list / grid child items */
.reveal-stagger>*:nth-child(1) {
  transition-delay: 0.05s;
}

.reveal-stagger>*:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal-stagger>*:nth-child(3) {
  transition-delay: 0.15s;
}

.reveal-stagger>*:nth-child(4) {
  transition-delay: 0.2s;
}

.reveal-stagger>*:nth-child(5) {
  transition-delay: 0.25s;
}

.reveal-stagger>*:nth-child(6) {
  transition-delay: 0.3s;
}

.reveal-stagger>*:nth-child(7) {
  transition-delay: 0.35s;
}

.reveal-stagger>*:nth-child(8) {
  transition-delay: 0.4s;
}

/* ==========================================================================
   CONTACT PAGE MOCK REDESIGN STYLE
   ========================================================================== */

#contact-hero {
  background-color: #fcfaf6 !important;
}

.contact-page-section {
  background-color: #fcfaf6 !important;
  padding: 5rem 0;
}

.contact-grid-new {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  /* Narrower left column, wider form column */
  gap: 2.5rem;
  align-items: start;
  /* Align naturally without stretching */
}

@media (max-width: 992px) {
  .contact-grid-new {
    grid-template-columns: 1fr;
    align-items: start;
  }
}


/* ==========================================================================
   DYNAMIC BREADCRUMBS STYLE
   ========================================================================== */

.breadcrumb-nav {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background-color: #ffffff;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-back:hover {
  color: #e87a1e;
  border-color: rgba(232, 122, 30, 0.3);
  transform: translateX(-4px);
  box-shadow: 0 6px 15px rgba(232, 122, 30, 0.08);
}

.btn-back svg {
  transition: transform 0.2s;
}

.btn-back:hover svg {
  transform: translateX(-2px);
}

/* ==========================================================================
   PREMIUM EDITORIAL & CASE STUDY REDESIGN
   ========================================================================== */

/* Hero area upgrade with mesh gradient and refined shadow */
.detail-content .detail-header {
  background: radial-gradient(at 0% 0%, rgba(243, 237, 230, 0.45) 0px, transparent 50%),
    radial-gradient(at 50% 0%, rgba(254, 244, 226, 0.35) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(232, 122, 30, 0.08) 0px, transparent 50%),
    #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
  position: relative;
  overflow: hidden;
}

.detail-header h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: var(--font-display);
  color: var(--color-text);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.detail-header .text-muted {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 850px;
  color: var(--color-text-muted);
}

.detail-content .detail-meta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.detail-meta-row .metric-badge {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  border: 1px solid rgba(232, 122, 30, 0.2);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
}

.detail-meta-row .industry-client-badge {
  background-color: #f1ede6;
  color: var(--color-text);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 550;
  font-size: 0.9rem;
}

/* Browser Mockup container around metrics dashboard */
.browser-mockup {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  margin: 2.5rem 0;
}

.browser-mockup-header {
  height: 2.5rem;
  background-color: #f5f3ef;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: 0.5rem;
}

.browser-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #ff5f56;
}

.browser-dot:nth-child(2) {
  background-color: #ffbd2e;
}

.browser-dot:nth-child(3) {
  background-color: #27c93f;
}

.browser-address {
  flex-grow: 1;
  background-color: #ffffff;
  border-radius: 6px;
  height: 1.5rem;
  margin: 0 2rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-mockup-content {
  padding: 2.5rem;
  background: radial-gradient(circle at 100% 100%, rgba(254, 244, 226, 0.15) 0%, transparent 40%);
}

.metrics-dashboard-title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
  color: var(--color-text);
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  padding-bottom: 0.75rem;
}

/* Stats dashboard cards grid */
.stats-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card-modern {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

.stat-card-modern:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 122, 30, 0.2);
  box-shadow: 0 8px 20px rgba(232, 122, 30, 0.04);
}

.stat-value-modern {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.stat-desc-modern {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Quote Bubble Testimonial styling */
.detail-content .testimonial-card-content {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: var(--radius-lg) !important;
  padding: 2.5rem !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.015) !important;
  position: relative;
  margin-top: 2rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.detail-content .testimonial-card-content::before {
  content: "“";
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  font-size: 8rem;
  font-family: var(--font-display);
  color: rgba(232, 122, 30, 0.08);
  line-height: 1;
  pointer-events: none;
}

.detail-content .testimonial-quote {
  font-size: 1.15rem !important;
  font-style: italic !important;
  line-height: 1.6 !important;
  color: var(--color-text) !important;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.detail-content .testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail-content .testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.detail-content .testimonial-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.detail-content .testimonial-author-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   MOBILE BRAND SLIDER / MARQUEE STYLES (Zero Wasted Space)
   ========================================================================== */
@media (max-width: 767px) {
  .brands-title-desktop {
    display: none !important;
  }

  .brands-title-mobile {
    display: inline !important;
  }

  .brands-carousel-section {
    padding: 1.5rem 0 1.75rem !important;
    background: #ffffff !important;
  }

  .brands-header {
    margin-bottom: 0.85rem !important;
  }

  .brands-header .hero-tag {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.65rem !important;
    margin-bottom: 0.35rem !important;
  }

  .brands-header h2 {
    font-size: 1.45rem !important;
    margin: 0.15rem 0 0.3rem !important;
  }

  .brands-intro {
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
    padding: 0 0.5rem !important;
    margin-bottom: 0 !important;
    max-width: 92% !important;
  }

  .brands-orbit-wrap,
  .brands-orbit-wrap[data-shells],
  .brands-orbit-wrap[data-shells="1"],
  .brands-orbit-wrap[data-shells="2"],
  .brands-orbit-wrap[data-shells="3"] {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 0.25rem 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent) !important;
    cursor: default !important;
  }

  .brands-orbit-wrap:active {
    cursor: default !important;
  }

  .brands-orbit {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    gap: 1rem !important;
    padding: 0.25rem 0 !important;
    animation: mobile-marquee 22s linear infinite !important;
    perspective: none !important;
    transform-style: flat !important;
  }

  .brand-node {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    flex-shrink: 0 !important;
    width: 115px !important;
    height: 62px !important;
    opacity: 1 !important;
    filter: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(232, 122, 30, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.3rem !important;
    border-radius: 10px !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
  }

  .brand-node:hover {
    transform: scale(1.04) !important;
    border-color: rgba(232, 122, 30, 0.4) !important;
    box-shadow: var(--shadow-md) !important;
  }

  .orbit-ring,
  .brands-orbit-center {
    display: none !important;
  }
}

@keyframes mobile-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Fallback: Force visibility of scroll-reveal elements if JS fails */
.reveal, .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   Interactive Service Explorer & Showcase Stage Architecture
   ========================================================================== */

.services-explorer-container {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 1rem;
}

@media (max-width: 991px) {
  .services-explorer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Left Rail: Navigation Menu */
.services-nav-rail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: sticky;
  top: 100px;
}

.service-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--color-bg, #ffffff);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 12px);
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.service-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-nav-item:hover {
  border-color: rgba(232, 122, 30, 0.35);
  transform: translateX(4px);
  background: #ffffff;
}

.service-nav-item.active {
  background: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(232, 122, 30, 0.12);
  transform: translateX(6px);
}

.service-nav-item.active::before {
  opacity: 1;
}

.service-nav-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-surface, #f8fafc);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.service-nav-item.active .service-nav-icon,
.service-nav-item:hover .service-nav-icon {
  background: rgba(232, 122, 30, 0.12);
  color: var(--color-accent);
}

.service-nav-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.service-nav-meta {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.service-nav-title {
  font-size: 0.98rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.service-nav-lead {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.service-nav-item.active .service-nav-lead {
  color: var(--color-accent);
  font-weight: 600;
}

.service-nav-arrow {
  color: var(--color-text-muted);
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.service-nav-item.active .service-nav-arrow {
  color: var(--color-accent);
  opacity: 1;
  transform: translateX(3px);
}

/* Right Rail: Spacious Showcase Stage */
.services-stage {
  background: var(--color-bg, #ffffff);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 16px);
  padding: 3rem 2.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  min-height: 520px;
}

@media (max-width: 767px) {
  .services-stage {
    padding: 2rem 1.5rem;
  }
}

.service-stage-panel {
  display: none;
  animation: stageFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-stage-panel.active {
  display: block;
}

@keyframes stageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stage-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.stage-title-wrap {
  flex-grow: 1;
}

.stage-title {
  font-size: 1.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 0.5rem 0;
  line-height: 1.25;
}

.stage-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
}

.stage-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 680px;
}

/* Deliverables Grid inside Stage */
.stage-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

@media (max-width: 640px) {
  .stage-deliverables-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.stage-deliverable-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--color-surface, #f8fafc);
  border: 1px solid var(--color-border);
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  line-height: 1.5;
}

.stage-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(232, 122, 30, 0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.stage-check-icon svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.stage-deliverable-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: var(--color-text);
}

.stage-deliverable-item p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.45;
}

/* Stage Bottom Bar: Specialist Info & CTA */
.stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.stage-specialist-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stage-specialist-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  object-fit: cover;
}

.stage-specialist-text {
  display: flex;
  flex-direction: column;
}

.stage-specialist-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.stage-specialist-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.stage-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(232, 122, 30, 0.25);
  transition: all 0.25s ease;
}

.stage-cta-btn:hover {
  background: var(--color-accent-hover, #d36916);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 122, 30, 0.35);
}

.stage-cta-btn .btn-arrow {
  transition: transform 0.25s ease;
}

.stage-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Compact Chennai Locality Directory (Zero Cramped Repetition)
   ========================================================================== */

.locality-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .locality-directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .locality-directory-grid {
    grid-template-columns: 1fr;
  }
}

.locality-tile {
  background: var(--color-bg, #ffffff);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.locality-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.locality-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 122, 30, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.locality-tile:hover::before {
  opacity: 1;
}

.locality-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.locality-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(232, 122, 30, 0.08);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.locality-tile-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.locality-tile-arrow {
  color: var(--color-text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.locality-tile:hover .locality-tile-arrow {
  transform: translateX(3px);
  color: var(--color-accent);
}

.locality-tile-name {
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: var(--color-text);
}

.locality-tile-corridor {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.locality-tile-case {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  width: fit-content;
}

/* Closing Strategy CTA Banner */
.services-cta-wrap {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4.5rem 0;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-cta-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 122, 30, 0.15) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.services-cta-content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.services-cta-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  background: rgba(232, 122, 30, 0.15);
  border: 1px solid rgba(232, 122, 30, 0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.services-cta-title {
  font-size: 2.2rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1rem 0;
  line-height: 1.25;
}

.services-cta-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.services-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.services-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(232, 122, 30, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.services-cta-btn-primary:hover {
  background: var(--color-accent-hover, #d36916);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 122, 30, 0.45);
}

.services-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.services-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}


/* ==========================================================================
   Home Page Featured Portfolio Cards Design
   ========================================================================== */

.home-portfolio-section {
  padding: 5.5rem 0;
  background-color: var(--color-surface, #f8fafc);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.home-portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.home-portfolio-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text);
  margin: 0.5rem 0 0.5rem;
}

.home-portfolio-subtitle {
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
  font-size: 1rem;
}

.home-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

@media (max-width: 860px) {
  .home-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.home-project-card {
  background: var(--color-bg, #ffffff);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.home-project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 122, 30, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 4px 14px rgba(232, 122, 30, 0.08);
}

.home-project-thumb {
  height: 220px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2.5rem 2rem;
  overflow: hidden;
}

.home-project-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(232, 122, 30, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.home-project-logo-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-project-logo {
  max-height: 80px;
  max-width: 60%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.04));
}

.home-project-card:hover .home-project-logo {
  transform: scale(1.06);
}

.home-project-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  color: var(--color-text-muted);
}

.home-project-metric-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.08);
}

.home-project-body {
  padding: 2rem 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .home-project-thumb {
    height: 170px !important;
    padding: 1.5rem 1rem !important;
  }

  .home-project-body {
    padding: 1.35rem 1.25rem 1.5rem !important;
  }

  .home-project-title {
    font-size: 1.25rem !important;
    margin-bottom: 0.4rem !important;
  }

  .home-project-desc {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
  }

  .home-project-chips {
    margin-bottom: 1.15rem !important;
    gap: 0.35rem !important;
  }

  .home-project-footer {
    padding-top: 0.85rem !important;
  }
}

.home-project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-project-category {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-project-duration {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.home-project-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.home-project-card:hover .home-project-title {
  color: var(--color-accent);
}

.home-project-desc {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.home-project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.home-project-chip {
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--color-surface, #f8fafc);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.home-project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-project-specialists {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.home-project-cta {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s ease;
}

.home-project-cta .cta-arrow {
  transition: transform 0.25s ease;
}

.home-project-card:hover .home-project-cta .cta-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   DYNAMIC BLOG & RICH MEDIA STYLING (Gutenberg, Images, Videos, Embeds)
   ========================================================================== */
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent) !important;
  box-shadow: 0 12px 32px rgba(232, 122, 30, 0.12);
}

.blog-thumbnail-link:hover img {
  transform: scale(1.04);
}
/* ==========================================================================
   Single Blog Post & Editorial Typography Redesign (Light Theme, High Contrast)
   ========================================================================== */
.single-post-page {
  padding-top: max(6.5rem, 110px);
  padding-bottom: 6rem;
  background-color: #ffffff;
  color: #1e293b;
  position: relative;
}

body.admin-bar .single-post-page {
  padding-top: max(8.5rem, 142px);
}

.blog-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blog-post-header {
  position: static !important;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.blog-header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.blog-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0;
}

.blog-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-breadcrumbs a:hover {
  color: var(--color-accent, #e87a1e);
}

.blog-breadcrumbs .bc-sep {
  color: #94a3b8;
  font-size: 0.95rem;
}

.blog-breadcrumbs .bc-current {
  color: var(--color-accent, #e87a1e);
  font-weight: 700;
}

.blog-category-badge-wrap {
  margin-bottom: 0;
}

.blog-category-badge {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  background: #fff3e8;
  border: 1px solid rgba(232, 122, 30, 0.35);
  color: #c25e00;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-category-badge:hover {
  background: var(--color-accent, #e87a1e);
  color: #ffffff;
}

.blog-post-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a !important;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.025em;
}

.blog-post-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8f0;
}

.blog-meta-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.92rem;
  color: #475569;
}

.blog-meta-author {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.author-mini-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent, #e87a1e);
  flex-shrink: 0;
}

.author-label {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.author-name {
  color: #0f172a;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #475569;
}

.meta-icon {
  width: 16px;
  height: 16px;
  fill: var(--color-accent, #e87a1e);
  flex-shrink: 0;
}

.meta-divider {
  color: #cbd5e1;
}

/* Share Buttons */
.blog-share-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.share-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 0.25rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.share-btn.share-wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.share-btn.share-li:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: #ffffff;
}

.share-btn.share-copy:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

/* Featured Image */
.blog-featured-image-container {
  margin-bottom: 3.5rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
  background: #f8fafc;
}

.blog-featured-image {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

/* Layout Grid */
.blog-article-grid {
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
}

.blog-main-column {
  flex: 1;
  min-width: 0;
  max-width: 820px;
}

.blog-sidebar-column {
  width: 340px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
}

@media (max-width: 1024px) {
  .blog-article-grid {
    flex-direction: column;
    gap: 3rem;
  }
  .blog-main-column {
    max-width: 100%;
    width: 100%;
  }
  .blog-sidebar-column {
    width: 100%;
    position: static;
  }
}

/* ==========================================================================
   Editorial Content Typography (Light Theme, Dark Charcoal, Crystal Clear)
   ========================================================================== */
.single-article-content {
  font-size: 1.15rem;
  line-height: 1.95;
  color: #1e293b;
  font-family: inherit;
}

.single-article-content p {
  margin-bottom: 1.85rem;
  color: #334155;
  line-height: 1.95;
}

.single-article-content p.lead,
.single-article-content .lead {
  font-size: 1.28rem;
  line-height: 1.8;
  color: #0f172a;
  font-weight: 500;
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.single-article-content h2,
.single-article-content h3,
.single-article-content h4,
.single-article-content h5,
.single-article-content h6 {
  color: #0f172a !important;
  font-family: var(--font-display);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.single-article-content h2 {
  font-size: 1.95rem;
  font-weight: 800;
  margin-top: 3.5rem;
  margin-bottom: 1.35rem;
  padding-left: 1.1rem;
  border-left: 4px solid var(--color-accent, #e87a1e);
}

.single-article-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.single-article-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

.single-article-content strong,
.single-article-content b {
  color: #0f172a;
  font-weight: 700;
}

.single-article-content em,
.single-article-content i {
  color: #1e293b;
}

.single-article-content a {
  color: var(--color-accent, #e87a1e);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.single-article-content a:hover {
  color: var(--color-accent-hover, #c96510);
}

.single-article-content ul,
.single-article-content ol {
  margin: 1.75rem 0 2.25rem 2rem;
  padding-left: 0.5rem;
}

.single-article-content li {
  margin-bottom: 0.95rem;
  color: #334155;
  font-size: 1.12rem;
  line-height: 1.85;
}

.single-article-content ul > li::marker {
  color: var(--color-accent, #e87a1e);
  font-size: 1.2em;
}

.single-article-content ol > li::marker {
  color: var(--color-accent, #e87a1e);
  font-weight: 700;
}

/* Blockquote */
.single-article-content blockquote {
  background: #fff8f3;
  border-left: 5px solid var(--color-accent, #e87a1e);
  border-top: 1px solid rgba(232, 122, 30, 0.2);
  border-right: 1px solid rgba(232, 122, 30, 0.2);
  border-bottom: 1px solid rgba(232, 122, 30, 0.2);
  border-radius: 0 16px 16px 0;
  padding: 2rem 2.25rem;
  margin: 2.75rem 0;
  box-shadow: 0 8px 24px rgba(232, 122, 30, 0.06);
  position: relative;
}

.single-article-content blockquote p {
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.75;
  color: #0f172a !important;
  margin-bottom: 0.5rem;
}

.single-article-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Callout & Fact Boxes */
.single-article-content .fact-box,
.single-article-content .callout-box {
  background: #f8fafc;
  border: 1px solid rgba(232, 122, 30, 0.4);
  border-radius: 16px;
  padding: 1.75rem 2.25rem;
  margin: 2.75rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  position: relative;
}

.single-article-content .fact-box h4,
.single-article-content .callout-box h4 {
  color: #c25e00 !important;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.single-article-content .fact-box p,
.single-article-content .callout-box p {
  color: #1e293b;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Code & Pre Blocks */
.single-article-content pre {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2.25rem 0;
  color: #f1f5f9;
  font-size: 0.95rem;
  line-height: 1.7;
}

.single-article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92em;
}

.single-article-content :not(pre) > code {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  color: #c25e00;
  font-weight: 600;
}

/* Tables in Blog */
.single-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.single-article-content th,
.single-article-content td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  font-size: 1rem;
}

.single-article-content th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
}

.single-article-content td {
  color: #334155;
}

.single-article-content tr:last-child td {
  border-bottom: 0;
}

/* Media (Images, Videos) */
.single-article-content img,
.single-article-content .wp-block-image img {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.single-article-content figure {
  margin: 2.5rem 0;
  text-align: center;
}

.single-article-content figcaption {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 0.75rem;
  font-style: italic;
}

.single-article-content video,
.single-article-content .wp-block-video video,
.single-article-content iframe,
.single-article-content .wp-block-embed iframe,
.single-article-content .wp-block-embed-youtube iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 0;
  margin: 2.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Tags Container */
.blog-tags-container {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tags-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-tag-pill {
  padding: 0.4rem 0.95rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-tag-pill:hover {
  border-color: var(--color-accent, #e87a1e);
  color: var(--color-accent, #e87a1e);
  background: #fff3e8;
}

/* Author Box */
.blog-author-bio-box {
  margin-top: 3.5rem;
  padding: 2.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}

.author-bio-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent, #e87a1e);
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(232, 122, 30, 0.25);
}

.author-bio-details {
  flex: 1;
  min-width: 250px;
}

.author-bio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.author-bio-name {
  margin: 0;
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: #0f172a;
  font-weight: 700;
}

.author-bio-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #c25e00;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fff3e8;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(232, 122, 30, 0.3);
}

.author-bio-desc {
  margin: 0 0 1.25rem 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #475569;
}

.author-bio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.author-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.author-link:hover {
  color: #0f172a;
}

.author-link-primary {
  color: var(--color-accent, #e87a1e);
}

.author-link-wa {
  color: #25d366;
  font-weight: 700;
}

/* Post Navigation (Prev / Next) */
.blog-post-nav-grid {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-nav-card {
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.blog-nav-card:hover {
  border-color: var(--color-accent, #e87a1e);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 122, 30, 0.12);
}

.nav-card-next {
  text-align: right;
}

.nav-card-label {
  font-size: 0.8rem;
  color: var(--color-accent, #e87a1e);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.nav-card-title {
  margin: 0;
  font-size: 1.05rem;
  color: #0f172a;
  font-family: var(--font-display);
  line-height: 1.4;
  font-weight: 700;
}

/* Sidebar Widgets */
.blog-sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.widget-cta {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  text-align: center;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
}

.widget-cta-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fb923c;
  background: rgba(232, 122, 30, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.widget-cta-title {
  color: #ffffff !important;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.75rem 0;
  font-family: var(--font-display);
  line-height: 1.3;
}

.widget-cta-desc {
  color: #cbd5e1 !important;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.widget-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.widget-title {
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.widget-service-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.widget-service-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.widget-service-links li a:hover {
  color: var(--color-accent, #e87a1e);
  padding-left: 0.35rem;
}

.widget-recent-posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.widget-post-item {
  text-decoration: none;
  display: block;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.widget-post-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.widget-post-date {
  font-size: 0.75rem;
  color: var(--color-accent, #e87a1e);
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.widget-post-title {
  margin: 0;
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.4;
  font-family: var(--font-display);
  font-weight: 600;
  transition: color 0.2s ease;
}

.widget-post-item:hover .widget-post-title {
  color: var(--color-accent, #e87a1e);
}


