/* ========================================================================
   MATCRAFTER CUSTOM STYLES
   ======================================================================== */

/* Header Styles */
.header-top {
  background-color: var(--color-neutral-900);
  color: var(--color-neutral-100);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact {
  display: flex;
  gap: var(--space-6);
}

.header-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-neutral-100);
  text-decoration: none;
}

.header-contact-item:hover {
  color: var(--color-accent);
}

/* Sticky Header Fix */
body.is-scrolled .header-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-neutral-100);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: var(--space-2) 0;
  animation: slideDown 0.3s ease-out;
}

body.is-scrolled {
  padding-top: 80px;
  /* Prevents content jump when header becomes fixed */
}

.admin-bar.is-scrolled .header-main {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar.is-scrolled .header-main {
    top: 46px;
  }

  body.is-scrolled {
    padding-top: 70px;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-main {
  background-color: var(--color-neutral-100);
  padding: var(--space-4) 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header-main-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
}

.site-title-link {
  text-decoration: none;
}

.site-title {
  font-size: var(--text-2xl);
  margin: 0;
  color: var(--color-primary);
}

/* Navigation */
.primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-6);
}

.primary-menu a {
  color: var(--color-neutral-800);
  font-weight: 500;
  padding: var(--space-2) var(--space-3);
  text-decoration: none;
  transition: color var(--transition-base);
}

.primary-menu a:hover,
.primary-menu .current-menu-item a {
  color: var(--color-accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

/* Global Section Rhythm */
/* Global Section Rhythm - Scoped to avoid affecting designer tool components */
.bg-white,
.bg-light {
  width: 100%;
  display: block;
  overflow: hidden;
}

.bg-white {
  background-color: #ffffff;
}

.bg-light {
  background-color: #f9fafb;
}

/* Only apply 100px padding to top-level site sections */
.site-main>section,
.bg-white>section,
.bg-light>section,
#quote-form.contact-cta-section {
  padding: 100px 0;
}

/* Hero Section Refinement - Compact & Punchy */
.hero-section {
  position: relative;
  background-color: var(--color-neutral-900);
  background-size: cover;
  background-position: center;
  color: var(--color-neutral-100);
  padding: 80px 0 !important;
  /* Ensure hero doesn't use the scoped 100px */
  text-align: center;
  min-height: 60vh;
  /* Reduced from 85vh */
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 30px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
  color: var(--color-neutral-100);
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;

  /* Continuous Floating Animation */
  animation: heroFloat 3s ease-in-out infinite;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #00d2ff;
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
  }

  .hero-content {
    padding: 30px 20px;
    border-radius: 30px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary.btn-large,
  .btn-hero-design.btn-large {
    padding: 15px 30px;
    width: 100%;
  }
}

/* Chic Hero Buttons */
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-primary.btn-large {
  background: linear-gradient(135deg, #0046be 0%, #00d2ff 100%);
  border: none;
  border-radius: 50px;
  padding: 18px 45px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 70, 190, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary.btn-large:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 70, 190, 0.4);
}

.btn-hero-design.btn-large {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  border-radius: 50px;
  padding: 16px 45px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.btn-hero-design.btn-large:hover {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

/* Quantity Input Fix */
.quantity-input-wrapper {
  display: flex;
  align-items: center;
  max-width: 150px;
  height: 48px;
  border: 2px solid #e2e8f0;
  border-radius: 12px !important;
  overflow: hidden;
  background: #f8fafc;
}

.q-btn {
  width: 44px;
  height: 100% !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: all 0.2s;
  cursor: pointer;
}

.q-btn:hover {
  background: var(--color-light-blue);
}

.quantity-input-wrapper input {
  width: 100%;
  height: 48px !important;
  /* Match wrapper height */
  border: none !important;
  text-align: center;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  background: #f8fafc;
  color: var(--color-neutral-800);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  /* Remove any padding that shifts text */
  margin: 0 !important;
  line-height: normal !important;
}

/* Mobile Alignment Fix */
@media (max-width: 480px) {
  .quantity-input-wrapper {
    max-width: 120px;
    height: 40px;
  }

  .q-btn {
    width: 35px;
  }

  .quantity-input-wrapper input {
    height: 40px !important;
    font-size: 1rem !important;
  }
}

/* Solutions Section Fix - Removed to use global section padding */

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-title {
  margin-bottom: var(--space-4);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

.solution-card {
  padding: var(--space-8);
  background: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

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

.solution-icon {
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.solution-link {
  color: var(--color-accent);
  font-weight: 600;
  display: inline-block;
  margin-top: var(--space-4);
}

/* Footer */
.site-footer {
  background-color: var(--color-neutral-900);
  color: var(--color-neutral-300);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-bottom {
  border-top: 1px solid var(--color-neutral-600);
  padding-top: var(--space-6);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.social-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-4);
}

.social-links a {
  color: var(--color-neutral-300);
  transition: color var(--transition-base);
}

.social-links a:hover {
  color: var(--color-accent);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-2);
}

.breadcrumb-item::after {
  content: "›";
  margin-left: var(--space-2);
  color: var(--color-neutral-400);
}

.breadcrumb-item:last-child::after {
  content: "";
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.post-card {
  background: var(--color-neutral-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.post-card:hover {
  box-shadow: var(--shadow-lg);
}

.post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-content {
  padding: var(--space-6);
}

/* Form Styles */
.quote-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}

.quote-form textarea {
  min-height: 120px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-main-inner {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .primary-menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .primary-menu.active {
    display: flex;
  }

  .hero-actions {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================
   ENHANCED STYLES - WHITE & BLUE THEME
   ======================================================================== */

/* Blog Carousel Section */
.blog-carousel-section {
  padding: var(--space-16) 0;
  background: var(--color-neutral-100);
}

.blog-carousel-wrapper {
  position: relative;
  margin: var(--space-12) 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  color: var(--color-neutral-100);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.carousel-btn:hover {
  background: var(--color-secondary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: -24px;
}

.carousel-next {
  right: -24px;
}

.blog-carousel {
  overflow: hidden;
  padding: var(--space-4) 0;
}

.blog-carousel-track {
  display: flex;
  gap: var(--space-6);
  transition: transform 0.5s ease-in-out;
}

.blog-carousel-card {
  flex: 0 0 calc(33.333% - var(--space-4));
  background: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.blog-carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

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

.blog-carousel-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-category {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-primary);
  color: var(--color-neutral-100);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
}

.blog-card-category a {
  color: var(--color-neutral-100);
  text-decoration: none;
}

.blog-card-content {
  padding: var(--space-6);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-neutral-600);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.blog-card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--color-neutral-900);
  text-decoration: none;
  transition: color var(--transition-base);
}

.blog-card-title a:hover {
  color: var(--color-primary);
}

.blog-card-excerpt {
  color: var(--color-neutral-600);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: gap var(--transition-base);
}

.blog-card-link:hover {
  gap: var(--space-3);
}

.blog-view-all {
  text-align: center;
  margin-top: var(--space-8);
}

/* Enhanced Product Highlights */
.product-highlights-section {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.product-highlights-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.section-header .section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-neutral-900);
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.section-header .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.highlight-card {
  background: var(--color-neutral-100);
  padding: var(--space-8);
  /* Changed from undefined --space-10 to --space-8 */
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px;
  /* Ensure uniform height */
  overflow: hidden;
  /* Prevent content spill */
}

.highlight-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 70, 190, 0.1);
  border-color: var(--color-primary);
}

.highlight-icon {
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: var(--color-light-blue);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  width: 80px;
  /* Fixed size for icons */
  height: 80px;
  flex-shrink: 0;
}

.highlight-card:hover .highlight-icon {
  background: var(--color-primary);
  color: white;
  transform: rotateY(360deg);
}

.highlight-title {
  font-size: var(--text-lg);
  /* Slightly smaller title for better fit */
  font-weight: 700;
  color: var(--color-neutral-900);
  margin-bottom: var(--space-3);
  width: 100%;
}

.highlight-description {
  color: var(--color-neutral-600);
  line-height: 1.5;
  font-size: var(--text-sm);
  /* Standard smaller text for descriptions */
  width: 100%;
  margin: 0;
}

/* Sticky Action Buttons */
.sticky-actions {
  position: fixed;
  right: 0;
  bottom: 120px;
  /* Elevated to clear space at bottom */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  z-index: 9999;
  pointer-events: none;
}

.sticky-btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  overflow: hidden;
}

.design-btn {
  background: #FF2E63;
  color: white;
  padding: 14px 25px 14px 30px;
  gap: 12px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1.5px;
  border-radius: 50px 0 0 50px;
}

.design-btn:hover {
  transform: scale(1.05) translateX(-10px);
  background: #FF2E63;
  box-shadow: -10px 10px 30px rgba(255, 46, 99, 0.4);
}

.design-btn svg {
  animation: pencilWrite 2s ease-in-out infinite;
}



.top-btn {
  width: 60px;
  height: 60px;
  background: white;
  color: var(--color-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  border: 1px solid #eee;
  margin-right: 25px;
  border-radius: 50%;
}

.top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.top-btn:hover {
  transform: scale(1.1);
  background: var(--color-primary);
  color: white;
}

/* Header Menu Item Enhancement */
.primary-menu .menu-item-design-text {
  font-weight: 800;
  color: var(--color-primary);
}

.primary-menu .menu-pencil-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  margin-top: -3px;
  color: #FF2E63;
  animation: pencilWrite 2s ease-in-out infinite;
}

@keyframes pencilWrite {

  0%,
  100% {
    transform: rotate(0deg) translate(0, 0);
  }

  25% {
    transform: rotate(-15deg) translate(-2px, -2px);
  }

  50% {
    transform: rotate(0deg) translate(2px, 0);
  }

  75% {
    transform: rotate(-10deg) translate(-1px, 1px);
  }
}

/* Process Animation Styles */
.process-item-card.is-active {
  border-color: var(--step-color) !important;
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.process-item-card.is-active .step-badge {
  animation: badgePulse 1.5s infinite;
}

@keyframes badgePulse {
  0% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  50% {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 768px) {
  .sticky-actions {
    right: 15px;
    bottom: 150px;
  }

  .design-btn span {
    display: none;
  }

  .design-btn {
    width: 60px;
    height: 60px;
    padding: 0;
  }
}

/* Enhanced Industries Section */
.industries-section {
  padding: var(--space-16) 0;
  background: var(--color-neutral-200);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

.industry-card {
  background: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.industry-card-inner {
  position: relative;
}

.industry-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-image img {
  transform: scale(1.1);
}

.industry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 70, 190, 0.7) 100%);
}

.industry-content {
  padding: var(--space-6);
}

.industry-icon {
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.industry-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  color: var(--color-neutral-900);
}

.industry-excerpt {
  color: var(--color-neutral-600);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.industry-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: gap var(--transition-base);
}

.industry-link:hover {
  gap: var(--space-3);
}

/* Enhanced Process Section */
.process-section {
  padding: var(--space-16) 0;
  background: var(--color-neutral-100);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  position: relative;
  margin-top: var(--space-12);
}

.process-step {
  text-align: center;
  padding: var(--space-8);
  background: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-base);
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  color: var(--color-neutral-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-4xl);
  font-weight: 700;
  margin: 0 auto var(--space-4);
  box-shadow: 0 8px 16px rgba(0, 70, 190, 0.3);
}

.process-step h3 {
  font-size: var(--text-2xl);
  color: var(--color-neutral-900);
  margin-bottom: var(--space-3);
}

.process-step p {
  color: var(--color-neutral-600);
  line-height: 1.6;
}

/* Button Styles */
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-neutral-100);
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
  .blog-carousel-card {
    flex: 0 0 calc(100% - var(--space-4));
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-prev {
    left: -12px;
  }

  .carousel-next {
    right: -12px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {

  .carousel-btn,
  .header-top,
  .site-footer {
    display: none;
  }
}

/* FAQ Section Enhanced */
.faq-section {
  padding: var(--space-16) 0;
  background: var(--color-neutral-100);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-neutral-100);
  border: 2px solid var(--color-neutral-300);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: var(--space-6);
  background: transparent;
  border: none;
  text-align: left;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-neutral-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-base);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-primary);
}

.faq-question:focus {
  outline: none;
}

.faq-question[aria-expanded="true"] {
  color: var(--color-primary);
  border-bottom: 1px solid #f0f0f0;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.faq-answer.active {
  max-height: 1000px;
}

.faq-answer p {
  padding: var(--space-6);
  color: var(--color-neutral-600);
  line-height: 1.8;
  margin: 0;
}

.faq-cta {
  text-align: center;
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--color-light-blue);
  border-radius: var(--radius-lg);
}

.faq-cta p {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-neutral-900);
  margin-bottom: var(--space-4);
}

/* Section Headers Enhancement */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
  padding: 0 var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-neutral-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Animations */


.faq-answer.active {
  animation: slideDown 0.3s ease-out;
}

/* Case Studies / References Section */
.case-studies-section {
  padding: var(--space-16) 0;
  background: linear-gradient(to bottom, var(--color-neutral-100) 0%, var(--color-neutral-200) 100%);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

.case-study-card {
  background: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

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

.case-study-image img,
.case-study-placeholder {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: var(--space-4);
  background: var(--color-neutral-100);
}

.case-study-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-400);
}

.case-study-content {
  padding: var(--space-4);
  text-align: center;
}

.case-study-title {
  font-size: var(--text-lg);
  color: var(--color-neutral-900);
  margin: 0;
}

.case-studies-cta {
  text-align: center;
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--color-light-blue);
  border-radius: var(--radius-xl);
}

.case-studies-cta p {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

/* Contact CTA / Quote Form Enhanced */
.contact-cta-section {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, var(--color-light-blue) 0%, var(--color-neutral-100) 100%);
}

.quote-form-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-12);
  max-width: 1200px;
  margin: 0 auto;
}

.quote-form {
  background: var(--color-neutral-100);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-neutral-900);
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: var(--space-3);
  border: 2px solid var(--color-neutral-300);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  transition: border-color var(--transition-base);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 70, 190, 0.1);
}

.quote-form small {
  display: block;
  margin-top: var(--space-1);
  color: var(--color-neutral-600);
  font-size: var(--text-sm);
}

.form-actions {
  margin-top: var(--space-8);
}

.form-message {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  background: #D1FAE5;
  color: #065F46;
  border: 2px solid #10B981;
}

.form-message.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 2px solid #EF4444;
}

/* Quote Info Sidebar */
.quote-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.quote-info-item {
  background: var(--color-neutral-100);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.quote-info-item svg {
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.quote-info-item h4 {
  font-size: var(--text-xl);
  color: var(--color-neutral-900);
  margin-bottom: var(--space-2);
}

.quote-info-item p {
  color: var(--color-neutral-600);
  margin: 0;
  line-height: 1.6;
}

/* Process CTA */
.process-cta {
  text-align: center;
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--color-light-blue);
  border-radius: var(--radius-xl);
}

.process-cta p {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.step-icon {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .quote-form-wrapper {
    grid-template-columns: 1fr;
  }

  .quote-info {
    flex-direction: row;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .quote-info {
    flex-direction: column;
  }

  .section-title {
    font-size: var(--text-3xl);
  }
}

/* Loading State */
.quote-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Hover Effects */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* ========================================================================
   HERO SLIDER
   ======================================================================== */

.hero-slider-section {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 600px;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.slider-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.slider-content {
  position: relative;
  z-index: 2;
  color: var(--color-neutral-100);
  text-align: center;
  padding-top: 150px;
  max-width: 800px;
  margin: 0 auto;
}

.slider-title {
  font-size: var(--text-5xl);
  color: var(--color-neutral-100);
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-description {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.slider-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

/* Slider Navigation */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: var(--space-8);
}

.slider-next {
  right: var(--space-8);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  cursor: pointer;
  transition: all var(--transition-base);
}

.slider-dot.active,
.slider-dot:hover {
  background: white;
  transform: scale(1.3);
}

/* Slide Animations */
.animate-fade-up {
  animation: fadeUpSlide 0.8s ease-out;
}

.delay-1 {
  animation-delay: 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.delay-2 {
  animation-delay: 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
}

@keyframes fadeUpSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slider {
    height: 500px;
  }

  .slider-content {
    padding-top: 100px;
  }

  .slider-title {
    font-size: var(--text-3xl);
  }

  .slider-description {
    font-size: var(--text-base);
  }

  .slider-prev,
  .slider-next {
    width: 45px;
    height: 45px;
  }

  .slider-prev {
    left: var(--space-4);
  }

  .slider-next {
    right: var(--space-4);
  }

  .slider-actions {
    flex-direction: column;
  }
}

/* ========================================================================
   NEW PAGE TEMPLATES STYLES
   ======================================================================== */

/* General Page Header */
.page-header {
  padding: var(--space-16) 0 var(--space-12);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  text-align: center;
}

.page-header .page-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: white;
}

.page-header .page-description,
.page-header .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  font-size: var(--text-lg);
  line-height: 1.6;
}

/* Gallery Page */
.gallery-page-content {
  padding: var(--space-16) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

/* Styling for standard WP gallery in our grid */
.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-cta-section {
  padding-bottom: var(--space-24);
}

.gallery-cta-card {
  background: var(--color-light-blue);
  padding: var(--space-12);
  border-radius: var(--radius-xl);
  text-align: center;
  border: 2px dashed var(--color-primary);
}

.gallery-cta-card h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

/* Contact Page */
.contact-page-content {
  padding: var(--space-16) 0;
}

/* Contact Page Tiered Layout */
.contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.contact-card-v3 {
  background: white;
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card-v3:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.method-icon-v3 {
  width: 60px;
  height: 60px;
  background: var(--color-light-blue);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.contact-card-v3 h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-neutral-900);
}

.contact-card-v3 p,
.contact-card-v3 a {
  color: var(--color-neutral-600);
  text-decoration: none;
  font-weight: 600;
}

.contact-page-form-wrapper-v3 {
  max-width: 900px;
  margin: 0 auto var(--space-16);
}

.form-card-v3 {
  background: white;
  padding: var(--space-12);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (max-width: 992px) {
  .contact-info-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .form-card-v3 {
    padding: var(--space-6);
  }
}

.contact-map {
  height: 400px;
  width: 100%;
}

.styled-map {
  height: 100%;
  background: #f0f4f8;
}

/* About Us Page */
.about-story-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-12);
  padding: var(--space-16) 0;
}

.about-content {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-neutral-600);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.stat-card {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid var(--color-primary);
}

.stat-number {
  display: block;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-primary);
}

.stat-label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-neutral-600);
}

.mission-vision-section {
  background: var(--color-neutral-200);
  padding: var(--space-16) 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.mission-card {
  background: white;
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

/* Responsive Fixes */
@media (max-width: 992px) {

  .contact-grid,
  .about-story-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-card {
    flex: 1 1 200px;
  }
}

/* Additional Contact Page Fixes */
.contact-page-form-wrapper .contact-cta-section {
  padding: 0;
  background: transparent;
}

.contact-page-form-wrapper .contact-cta-section .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.contact-page-form-wrapper .contact-cta-section .section-header {
  display: none;
  /* Hide redundant header on contact page */
}

.contact-page-form-wrapper .quote-form-wrapper {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-neutral-300);
}

.contact-page-form-wrapper .quote-info {
  display: none;
  /* Already have info cards on contact page */
}

/* Breadcrumbs Styling */
.breadcrumbs {
  background: rgba(0, 0, 0, 0.05);
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--space-2);
  align-items: center;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--color-neutral-600);
}

.breadcrumb-item a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "/";
  margin-right: var(--space-2);
  color: var(--color-neutral-400);
}

.breadcrumb-item.active {
  color: var(--color-neutral-800);
  font-weight: 500;
  pointer-events: none;
}

/* Page Header Adjustments */
.page-header {
  padding-bottom: var(--space-8);
  /* Reduce padding if breadcrumbs are above/below */
}

/* ========================================================================
   REFINED BLOG SINGLE V2 STYLES
   ======================================================================== */

.blog-single-v2 {
  background: white;
}

.blog-header {
  padding: var(--space-16) 0 var(--space-8);
  background: var(--color-neutral-200);
  text-align: center;
}

.blog-header-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.blog-header-meta .cat-badge a {
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: var(--text-xs);
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
}

.blog-header-meta .read-time {
  color: var(--color-neutral-600);
  font-size: var(--text-sm);
}

.blog-title-main {
  font-size: 3rem;
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto var(--space-8);
  color: var(--color-neutral-900);
}

.blog-author-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-neutral-300);
  max-width: 600px;
  margin: 0 auto;
}

.author-info-mini {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-align: left;
}

.author-info-mini img {
  border-radius: 50%;
}

.author-details .author-name {
  display: block;
  font-weight: 700;
  font-size: var(--text-sm);
}

.author-details .post-date {
  font-size: var(--text-xs);
  color: var(--color-neutral-600);
}

.blog-content-area {
  padding: var(--space-12) 0;
  max-width: 1000px;
  margin: 0 auto;
}

.blog-featured-image {
  margin-bottom: var(--space-12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.blog-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-main-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: var(--space-12);
}

.blog-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-neutral-800);
}

.blog-body p {
  margin-bottom: var(--space-6);
}

.blog-body h2,
.blog-body h3 {
  margin-top: var(--space-12);
  color: var(--color-neutral-900);
}

.post-tags-v2 {
  margin: var(--space-8) 0;
  padding: var(--space-4);
  background: var(--color-neutral-200);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.blog-social-bottom {
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--color-light-blue);
  border-radius: var(--radius-lg);
  text-align: center;
}

.blog-sidebar .sidebar-widget {
  background: var(--color-neutral-100);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-neutral-300);
  margin-bottom: var(--space-6);
}

.sidebar-widget h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.cta-widget {
  background: var(--color-primary) !important;
  color: white !important;
  text-align: center;
}

.cta-widget h3 {
  color: white;
  border-color: white;
}

.related-blog-posts {
  padding: var(--space-16) 0;
  background: var(--color-neutral-200);
}

.related-blog-posts .section-title {
  text-align: center;
  margin-bottom: var(--space-12);
}

@media (max-width: 992px) {
  .blog-main-layout {
    grid-template-columns: 1fr;
  }

  .blog-title-main {
    font-size: 2.25rem;
  }

  .blog-author-bar {
    flex-direction: column;
    gap: var(--space-4);
  }
}

/* ========================================================================
   GLOBAL MOBILE OVERRIDES & HARMONY FIXES
   ======================================================================== */

@media (max-width: 991px) {

  /* Reduce excessive section padding on mobile */
  .hero-section,
  .product-highlights-section,
  .process-section,
  .industries-section,
  .blog-carousel-section,
  .faq-section,
  .case-studies-section,
  .contact-cta-section {
    padding: var(--space-12) 0 !important;
  }

  .section-header {
    margin-bottom: var(--space-8);
  }

  .section-header .section-title {
    font-size: var(--text-3xl) !important;
  }
}

@media (max-width: 768px) {

  /* Smaller screens refinements */
  .hero-section {
    padding: var(--space-16) 0 !important;
  }

  .hero-title {
    font-size: var(--text-3xl) !important;
  }

  .blog-title-main {
    font-size: 2rem !important;
    padding: 0 var(--space-4);
  }

  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  /* Fix for sidebar stacking on mobile */
  .blog-main-layout {
    gap: var(--space-8);
  }

  .sidebar-widget {
    padding: var(--space-4) !important;
  }
}

/* Ensure color harmony for focus states */
a:focus,
button:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

/* Fix for gallery grid on very small screens */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* ========================================================================
   MODERN MOBILE DRAWER & HAMBURGER
   ======================================================================== */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}

@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }

  .header-cta,
  .primary-menu {
    display: none;
  }
}

.hamburger-box {
  width: 24px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

/* Mobile Drawer */
/* Mobile Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  /* Align to right edge */
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  z-index: 2000;
  transform: translateX(100%);
  /* Start fully hidden to the right */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

.mobile-menu-drawer.is-open {
  transform: translateX(0);
  /* Slide to natural position */
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;
  z-index: 10;
  /* Lower than inner content */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.mobile-menu-active .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-active {
  overflow: hidden;
}

.mobile-menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px 25px;
  position: relative;
  /* Context */
  z-index: 20;
  /* Higher than overlay */
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #e2e8f0;
  /* Softer border */
}

.mobile-logo img {
  max-height: 45px;
  width: auto;
}

.mobile-menu-close {
  background: #f8fafc;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  /* Soft square */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s;
  cursor: pointer;
}

.mobile-menu-close:active {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(0.95);
}

.mobile-menu-container {
  flex-grow: 1;
  overflow-y: auto;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-list li {
  margin: 0;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s;
  background: transparent;
  border: none;
  /* No separator lines, cleaner look */
}

.mobile-nav-list a:active {
  background: #f1f5f9;
  color: #0046be;
  transform: translateX(5px);
}

.mobile-menu-footer {
  margin-top: 20px;
  /* Pulled closer to menu instead of auto-bottom */
  padding: 15px 20px;
  border-top: 1px dashed #e2e8f0;
  background: #f8fafc;
}

.mobile-menu-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.mobile-action-item {
  flex: 1;
  display: flex;
  flex-direction: row;
  /* Horizontal alignment */
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  height: 44px;
  /* Fixed height for better alignment */
  border-radius: 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
  text-align: center;
}

.mobile-action-item svg {
  flex-shrink: 0;
}

.mobile-action-item.whatsapp {
  background: #25D366;
  color: white;
}

.mobile-action-item.cta {
  background: var(--color-primary-600);
  color: white;
}

.mobile-action-item:active {
  transform: scale(0.98);
}

/* Redesign Sticky Action Buttons for Mobile */
@media (max-width: 768px) {
  .sticky-actions {
    right: 0;
    bottom: 0;
    flex-direction: row;
    width: 100%;
    background: white;
    padding: 10px 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
  }

  .design-btn {
    border-radius: 30px !important;
    padding: 12px 20px !important;
    flex-grow: 1;
    max-width: 70%;
    margin-right: 15px;
    box-shadow: none !important;
  }

  .design-btn span {
    display: inline !important;
    /* Force text to show on mobile now that we have a bar */
    font-size: 11px;
  }

  .top-btn {
    margin-right: 0 !important;
    width: 45px !important;
    height: 45px !important;
    position: relative !important;
    transform: none !important;
  }
}

/* Highlight "Tasarla" in Mobile Menu */
.mobile-nav-list li a[href*="tasarla"] {
  background: #FF2E63;
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  display: inline-block;
  width: 100%;
  margin: 10px 0;
  text-align: center;
}

/* ========================================================================
   HEADER & HERO REFINEMENTS
   ======================================================================== */

.mobile-header-contacts {
  display: none;
  align-items: center;
  gap: var(--space-4);
  margin-right: var(--space-2);
}

@media (max-width: 991px) {
  .mobile-header-contacts {
    display: flex;
  }

  .main-navigation {
    display: flex;
    align-items: center;
  }
}

.mobile-contact-icon {
  color: var(--color-primary);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.mobile-contact-icon:active {
  transform: scale(0.9);
}

.mobile-contact-icon.whatsapp {
  color: #25D366;
}

/* Hide bottom actions on mobile as per user request */
@media (max-width: 768px) {
  .sticky-actions {
    display: none !important;
  }
}

/* Hero "Tasarla" Button Style */
.btn-hero-design {
  background: #FF2E63;
  color: white;
  border-color: #FF2E63;
}

.btn-hero-design:hover {
  background: #e62a59;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 46, 99, 0.3);
}

/* Blur effect for mobile drawer overlay */
/* Blur effect removed
.mobile-menu-overlay {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
} */

/* ========================================================================
   PREMIUM 404 ERROR PAGE STYLES
   ======================================================================== */

.error-page-wrapper {
  padding: var(--space-24) 0;
  background: var(--color-neutral-100);
  text-align: center;
}

.error-404-v2 {
  max-width: 800px;
  margin: 0 auto;
}

.error-visual {
  margin-bottom: var(--space-12);
}

.error-icon {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  animation: pulseRotate 4s infinite ease-in-out;
}

@keyframes pulseRotate {

  0%,
  100% {
    transform: scale(1) rotate(0);
  }

  50% {
    transform: scale(1.1) rotate(5deg);
    opacity: 0.8;
  }
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-neutral-300);
  margin: 0;
  letter-spacing: -5px;
}

.error-text-content {
  margin-bottom: var(--space-12);
}

.error-title {
  font-size: var(--text-4xl);
  color: var(--color-neutral-900);
  margin-bottom: var(--space-4);
}

.error-description {
  font-size: var(--text-lg);
  color: var(--color-neutral-600);
  max-width: 600px;
  margin: 0 auto;
}

.error-search-box {
  background: var(--color-neutral-200);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-12);
}

.error-search-box p {
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.error-search-box form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: var(--space-2);
}

.error-navigation {
  margin-bottom: var(--space-16);
}

.error-navigation h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  color: var(--color-neutral-900);
}

.error-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-4);
}

.nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background: white;
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.nav-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-2);
}

.nav-card-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-neutral-900);
}

.error-recent-posts {
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-neutral-300);
}

.error-recent-posts h3 {
  margin-bottom: var(--space-8);
}

.error-footer-cta {
  margin-top: var(--space-16);
  padding: var(--space-8);
  background: var(--color-light-blue);
  border-radius: var(--radius-xl);
}

.error-footer-cta p {
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.error-cta-btns {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
}

.btn-whatsapp:hover {
  background: #128C7E;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .error-code {
    font-size: 5rem;
  }

  .error-title {
    font-size: var(--text-2xl);
  }

  .error-nav-grid {
    grid-template-columns: 1fr 1fr;
  }

  .error-cta-btns {
    flex-direction: column;
  }
}

/* ========================================================================
   STABLE MOBILE HEADER & LAYOUT REFINEMENTS
   ======================================================================== */

@media (max-width: 991px) {

  /* Hide the top bar on mobile/tablet */
  .header-top {
    display: none !important;
  }

  /* Stabilize the main header alignment */
  .header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: var(--space-4);
  }

  /* Ensure the logo container doesn't shift */
  .site-branding {
    flex-shrink: 0;
    max-width: 60%;
  }

  .site-branding img {
    height: 40px !important;
    /* Fixed height for consistency */
    width: auto;
  }

  .site-title {
    font-size: var(--text-xl) !important;
    white-space: nowrap;
  }

  /* Sync sticky header padding (no top bar offset) */
  body.is-scrolled {
    padding-top: 70px !important;
  }

  .admin-bar.is-scrolled .header-main {
    top: 46px;
    /* WP Admin bar shift for mobile */
  }
}

/* Global Container Stabilization */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  width: 100%;
  box-sizing: border-box;
}

/* Prevent horizontal overflow on mobile from wide elements */
html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Fix flex-wrap shifts in hero/footer */
.hero-content,
.footer-widgets {
  width: 100%;
}

/* ========================================================================
   TECHNICAL SPECIFICATIONS SECTION
   ======================================================================== */

.tech-specs-section {
  padding: var(--space-20) 0;
  background-color: #fcfcfc;
  overflow: hidden;
}

.tech-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.tech-specs-card {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-neutral-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tech-specs-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.tech-specs-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.tech-icon-circle {
  width: 60px;
  height: 60px;
  background: var(--color-light-blue);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-specs-card:hover .tech-icon-circle {
  background: var(--color-primary);
  color: white;
  transform: rotate(360deg) scale(1.1);
}

.tech-specs-header h3 {
  margin: 0;
  font-size: var(--text-2xl);
  color: var(--color-neutral-900);
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.tech-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.tech-list li .dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
  opacity: 0.6;
}

.tech-list li p {
  margin: 0;
  color: var(--color-neutral-700);
  line-height: 1.6;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid #f0f0f0;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.cert-item:hover {
  opacity: 1;
  transform: scale(1.1);
  color: var(--color-primary);
}

.cert-item span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.specs-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  background: var(--color-neutral-900);
  padding: 30px 40px;
  border-radius: 20px;
  color: white;
}

.footer-spec-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.spec-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
}

.spec-value {
  font-size: var(--text-base);
  font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .tech-specs-grid {
    grid-template-columns: 1fr;
  }

  .tech-specs-card {
    padding: var(--space-6);
  }

  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Intersection Observer Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Integrated Tech Specs Tweak */
.tech-specs-section.is-integrated {
  padding: 0 !important;
  background: transparent !important;
}

.tech-specs-section.is-integrated .container {
  padding: 0 !important;
}

.designer-specs-wrapper .tech-specs-section {
  padding-top: 0 !important;
  background: transparent !important;
}

/* Force visibility if animations are stuck */
.designer-specs-wrapper .animate-on-scroll {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Standard Size Button Active State */
.standard-size-btn.active {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.standard-size-btn.active small {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Phase 33: UX & Conversion Optimization */

/* WhatsApp Pulse Button */
.whatsapp-pulse-btn {
  background-color: #25d366 !important;
  color: #fff !important;
  position: relative;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  border: none !important;
  overflow: visible !important;
}

.whatsapp-pulse-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2s infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.whatsapp-pulse-btn:hover {
  background-color: #128c7e !important;
  transform: translateY(-5px);
}

/* Fast Quote Button styling */
.sticky-actions .quote-btn {
  background: var(--color-secondary) !important;
}

/* Homepage Rhythm: Alternating Section Backgrounds */
.section-bg-light {
  background-color: #f8fafc !important;
  /* Very light cool gray */
}

.section-bg-dim {
  background-color: #f1f5f9 !important;
  /* Slightly darker cool gray */
}

/* Responsive adjustment for sticky actions on mobile */
@media (max-width: 768px) {
  .sticky-actions {
    bottom: 20px;
    right: 20px;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .whatsapp-pulse-btn {
    width: 56px;
    height: 56px;
  }
}

/* Quote Form Refinements */
.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
}

.quote-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* Ensure padding on section-bg classes */
.section-bg-light,
.section-bg-dim {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 1024px) {

  .section-bg-light,
  .section-bg-dim {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Modern Action Dock styling */
.action-dock {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: auto;
  max-width: 90vw;
}

.dock-inner {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 40px;
  padding: 8px 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  gap: 8px;
}

.dock-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.dock-item svg {
  transition: transform 0.3s ease;
}

.dock-item:hover svg {
  transform: scale(1.1);
}

.wa-item {
  color: #25d366;
  padding: 10px;
}

.wa-item:hover {
  background: rgba(37, 211, 102, 0.1);
}

.pulse-dock-item {
  position: relative;
}

.pulse-dock-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border: 2px solid #25d366;
  border-radius: 50%;
  animation: dock-pulse 2s infinite;
  pointer-events: none;
}

@keyframes dock-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

.design-item {
  background: var(--color-primary);
  color: white !important;
}

.design-item:hover {
  background: var(--color-secondary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quote-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.dock-divider {
  width: 1px;
  height: 24px;
  background: rgba(0, 0, 0, 0.1);
}

.top-item {
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  width: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.top-item.visible {
  opacity: 1;
  visibility: visible;
  width: 44px;
  padding: 10px;
}

@media (max-width: 768px) {
  .action-dock {
    bottom: 20px;
  }

  .dock-inner {
    padding: 6px 10px;
    gap: 4px;
  }

  .dock-item span {
    display: none;
    /* Icons only on very small screens */
  }

  .design-item span,
  .quote-item span {
    display: block;
    /* Keep labels for main CTAs if space allows */
    font-size: 0.85rem;
  }

  .dock-item {
    padding: 8px 12px;
  }
}

/* Design Page Minimal Dock */
.minimal-dock-design {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
}

.minimal-dock-design .dock-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  border-radius: 30px;
}

.minimal-dock-design .wa-item {
  color: #25d366;
}

@media (max-width: 768px) {
  .minimal-dock-design .dock-item span {
    display: none;
  }

  .minimal-dock-design .dock-item {
    padding: 12px;
  }
}

/* Premium Section Headers */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-neutral-800);
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-neutral-600);
  line-height: 1.6;
}

/* Process Flow Refined */
.process-steps-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 60px;
}

.process-item-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: stretch;
  /* Enforce same height for children */
}

.process-item-card {
  background: white;
  padding: 50px 25px 35px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border-bottom: 5px solid var(--step-color);
  width: 100%;
  min-height: 280px;
  /* Uniform height for desktop */
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s ease;
}

.process-item-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.step-badge {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--step-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-icon-box {
  margin-bottom: 20px;
  color: var(--step-color);
}

.step-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--step-color);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--color-neutral-600);
  line-height: 1.5;
}

.step-connector {
  flex: 0 0 40px;
  height: 2px;
  background: #f1f5f9;
  margin: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connector-arrow {
  width: 8px;
  height: 8px;
  border-top: 2px solid #cbd5e1;
  border-right: 2px solid #cbd5e1;
  transform: rotate(45deg);
}

@media (max-width: 992px) {
  .process-steps-container {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .process-item-wrapper {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .process-item-card {
    max-width: 400px;
    padding: 40px 20px 30px;
    min-height: auto;
    /* Allow natural height on mobile stack */
  }

  .process-item-card.is-active {
    transform: translateY(-10px) scale(1.02);
  }

  .step-connector {
    flex: 0 0 50px;
    width: 2px;
    height: 50px;
    margin: 10px 0;
  }

  .connector-arrow {
    transform: rotate(135deg);
    margin-top: 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}