/**
 * Nexura Digital - Premium Custom Styles
 * Modern, Luxurious, Professional Design
 * Version: 2.0
 */

/* Import Google Fonts - Match Porto Theme (Lexend + Poppins) */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ========================================
   ROOT VARIABLES & CONFIGURATION
   ======================================== */
:root {
  --nexura-primary: #6b39f4;
  --nexura-secondary: #9e17f1;
  --nexura-tertiary: #c5d4fb;
  --nexura-quaternary: #d6efe8;
  --nexura-dark: #212529;
  --nexura-light: #ffffff;
  --nexura-gradient-primary: linear-gradient(135deg, var(--nexura-primary) 0%, var(--nexura-secondary) 100%);
  --nexura-gradient-tertiary: linear-gradient(135deg, var(--nexura-tertiary) 0%, var(--nexura-quaternary) 100%);
  --nexura-glass-bg: rgba(255, 255, 255, 0.15);
  --nexura-glass-border: rgba(255, 255, 255, 0.25);
  --nexura-shadow-soft: 0 8px 32px rgba(107, 57, 244, 0.15);
  --nexura-shadow-medium: 0 15px 50px rgba(107, 57, 244, 0.2);
  --nexura-shadow-heavy: 0 25px 80px rgba(0, 0, 0, 0.15);
  --nexura-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --nexura-transition-fast: all 0.2s ease-out;
  --nexura-border-radius: 16px;
  --nexura-border-radius-lg: 24px;
  --nexura-border-radius-xl: 32px;
  /* Font families - matching Porto theme */
  --nexura-font-body: 'Poppins', sans-serif;
  --nexura-font-heading: 'Lexend', sans-serif;
}

/* ========================================
   TYPOGRAPHY - Match Demo Pages (Porto Theme)
   ======================================== */
body,
.nexura-enhanced,
.nexura-enhanced p,
.nexura-enhanced li {
  font-family: var(--nexura-font-body) !important;
  font-size: 14px;
  line-height: 24px;
  color: var(--nexura-dark);
}

h1, h2, h3, h4, h5, h6,
.nexura-enhanced h1,
.nexura-enhanced h2,
.nexura-enhanced h3,
.nexura-enhanced h4,
.nexura-enhanced h5,
.nexura-enhanced h6,
.page-header h1,
.section-header h2,
.split-content h2,
.service-card h3,
.testimonial-name,
.stat-number,
.faq-question span,
.cta-content h2,
.process-step h3,
.feature-item h4 {
  font-family: var(--nexura-font-heading) !important;
  font-weight: 700 !important;
  color: var(--nexura-dark);
}

h1, .page-header h1, .nexura-enhanced h1 {
  font-size: 36px !important;
  line-height: 44px !important;
}

h2, .section-header h2, .split-content h2, .cta-content h2, .nexura-enhanced h2 {
  font-size: 30px !important;
  line-height: 40px !important;
}

h3, .service-card h3, .nexura-enhanced h3 {
  font-size: 25px !important;
  line-height: 32px !important;
}

h4, .feature-item h4, .process-step h3, .nexura-enhanced h4 {
  font-size: 20px !important;
  line-height: 27px !important;
}

p, .nexura-enhanced p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 1rem;
}

/* Responsive typography */
@media (max-width: 991px) {
  h1, .page-header h1, .nexura-enhanced h1 {
    font-size: 30px !important;
    line-height: 38px !important;
  }

  h2, .section-header h2, .split-content h2, .cta-content h2, .nexura-enhanced h2 {
    font-size: 26px !important;
    line-height: 34px !important;
  }

  h3, .service-card h3, .nexura-enhanced h3 {
    font-size: 22px !important;
    line-height: 28px !important;
  }
}

@media (max-width: 576px) {
  h1, .page-header h1, .nexura-enhanced h1 {
    font-size: 26px !important;
    line-height: 34px !important;
  }

  h2, .section-header h2, .cta-content h2, .nexura-enhanced h2 {
    font-size: 22px !important;
    line-height: 30px !important;
  }
}

/* ========================================
   GLASSMORPHISM EFFECTS
   ======================================== */
.glass-effect,
.glassmorphism {
  background: var(--nexura-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--nexura-glass-border);
  border-radius: var(--nexura-border-radius);
  box-shadow: var(--nexura-shadow-soft);
}

.glass-effect-dark {
  background: rgba(33, 37, 41, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--nexura-border-radius-lg);
  box-shadow: var(--nexura-shadow-medium);
  transition: var(--nexura-transition);
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--nexura-shadow-heavy);
}

/* ========================================
   HEADER FIXES & ENHANCEMENT
   ======================================== */
#header {
  position: relative;
  z-index: 9999;
}

#header .header-main,
#header.sticky-header .header-main {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

#header.sticky-header .header-main.sticky {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(25px);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.1);
}

/* Fix header content alignment */
#header .header-main > .container,
#header .header-main > .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

/* Logo spacing fix */
#header .porto-logo {
  margin-right: auto;
  flex-shrink: 0;
}

/* Menu alignment fix */
#header .main-menu-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

#header .main-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Navigation hover effects */
#header .main-menu > li.menu-item > a {
  position: relative;
  transition: var(--nexura-transition-fast);
}

#header .main-menu > li.menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--nexura-gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

#header .main-menu > li.menu-item:hover > a::after,
#header .main-menu > li.menu-item.active > a::after {
  width: 80%;
}

/* Mobile header fixes */
@media (max-width: 991px) {
  #header .header-main {
    padding: 10px 0;
  }

  #header .header-main > .container,
  #header .header-main > .container-fluid {
    padding: 0 15px;
  }

  #header .mobile-toggle {
    border-radius: 8px;
    transition: var(--nexura-transition-fast);
  }

  #header .mobile-toggle:hover {
    transform: scale(1.05);
  }
}

/* ========================================
   FAQ SECTION FIXES & ENHANCEMENT
   ======================================== */
.faq-section {
  padding: 60px 0;
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-section .section-label {
  display: inline-block;
  padding: 8px 20px;
  background: var(--nexura-gradient-primary);
  color: var(--nexura-light);
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.faq-item {
  background: var(--nexura-light);
  border-radius: var(--nexura-border-radius);
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--nexura-transition);
  border: 1px solid rgba(107, 57, 244, 0.1);
}

.faq-item:hover {
  box-shadow: var(--nexura-shadow-soft);
  border-color: rgba(107, 57, 244, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--nexura-dark);
  text-align: left;
  transition: var(--nexura-transition-fast);
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--nexura-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

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

.faq-answer-inner {
  padding: 0 25px 25px;
  color: #666;
  line-height: 1.8;
}

/* Porto FAQ widget fixes */
.porto-faqs .faq-item,
.porto-faqs-wrap .faq-item,
.porto-faq .faq-item {
  background: var(--nexura-light) !important;
  border-radius: var(--nexura-border-radius) !important;
  margin-bottom: 16px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.porto-faqs .toggle,
.porto-faq .toggle,
.toggle {
  background: var(--nexura-light);
  border-radius: var(--nexura-border-radius) !important;
  border: 1px solid rgba(107, 57, 244, 0.1);
  margin-bottom: 15px;
  overflow: hidden;
}

.toggle.active {
  border-color: var(--nexura-primary);
  box-shadow: var(--nexura-shadow-soft);
}

.toggle > label,
.toggle-title {
  padding: 20px 25px !important;
  font-weight: 600 !important;
  color: var(--nexura-dark) !important;
  cursor: pointer;
  transition: var(--nexura-transition-fast);
}

.toggle.active > label,
.toggle.active .toggle-title {
  color: var(--nexura-primary) !important;
}

.toggle-content {
  padding: 0 25px 25px !important;
  color: #666;
}

/* ========================================
   FULL WIDTH RESPONSIVE LAYOUT
   ======================================== */
.page-wrapper {
  width: 100%;
  overflow-x: hidden;
}

.container-fluid-custom {
  width: 100%;
  max-width: 100%;
  padding: 0 5%;
}

@media (min-width: 1400px) {
  .container-fluid-custom {
    padding: 0 8%;
  }
}

/* Full width sections */
.full-width-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 80px 5%;
}

@media (max-width: 767px) {
  .full-width-section {
    padding: 50px 4%;
  }
}

/* ========================================
   PAGE HEADER STYLES (For Service Pages)
   ======================================== */
.page-header,
.service-page-header {
  background: var(--nexura-gradient-tertiary);
  padding: 100px 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(107, 57, 244, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--nexura-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-header p,
.page-header-description {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--nexura-primary);
  text-decoration: none;
  transition: var(--nexura-transition-fast);
}

.breadcrumb a:hover {
  color: var(--nexura-secondary);
}

.breadcrumb span {
  color: #999;
}

/* ========================================
   CONTENT WRAPPER & SECTIONS
   ======================================== */
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 5%;
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
}

.content-wrapper h2 {
  font-size: 2rem;
  color: var(--nexura-dark);
  margin: 50px 0 25px;
  font-weight: 700;
}

.content-wrapper h3 {
  font-size: 1.5rem;
  color: var(--nexura-dark);
  margin: 35px 0 20px;
  font-weight: 600;
}

.content-wrapper p {
  margin-bottom: 20px;
}

.content-wrapper ul,
.content-wrapper ol {
  margin: 25px 0;
  padding-left: 30px;
}

.content-wrapper li {
  margin-bottom: 12px;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
}

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background: var(--nexura-gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

/* ========================================
   SPLIT SECTIONS
   ======================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 5%;
  }
}

.split-content {
  padding: 20px 0;
}

.split-image img {
  width: 100%;
  border-radius: var(--nexura-border-radius-lg);
  box-shadow: var(--nexura-shadow-medium);
}

.section-label {
  display: inline-block;
  padding: 8px 20px;
  background: var(--nexura-gradient-primary);
  color: white;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* ========================================
   FEATURE LIST STYLES
   ======================================== */
.feature-list {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  margin-bottom: 15px;
  background: rgba(107, 57, 244, 0.03);
  border-radius: var(--nexura-border-radius);
  transition: var(--nexura-transition);
  border: 1px solid transparent;
}

.feature-item:hover {
  background: white;
  border-color: rgba(107, 57, 244, 0.1);
  box-shadow: var(--nexura-shadow-soft);
  transform: translateX(5px);
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nexura-gradient-primary);
  border-radius: 12px;
  color: white;
}

.feature-item h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--nexura-dark);
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
  padding: 100px 5%;
  background: var(--nexura-gradient-tertiary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: var(--nexura-border-radius-lg);
  box-shadow: var(--nexura-shadow-soft);
  transition: var(--nexura-transition);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--nexura-shadow-heavy);
}

.testimonial-stars {
  color: #ffc107;
  font-size: 1.2rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--nexura-gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--nexura-dark);
}

.testimonial-role {
  font-size: 0.9rem;
  color: #666;
}

/* ========================================
   CTA SECTIONS
   ======================================== */
.cta-section {
  padding: 100px 5%;
  background: var(--nexura-dark);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
}

.cta-banner {
  background: var(--nexura-gradient-tertiary);
  padding: 80px 5%;
  border-radius: var(--nexura-border-radius-xl);
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--nexura-dark);
  margin-bottom: 15px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.btn-primary,
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 35px;
  background: var(--nexura-gradient-primary);
  color: white !important;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--nexura-transition);
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(107, 57, 244, 0.35);
}

.btn-primary:hover,
.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(107, 57, 244, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 35px;
  background: transparent;
  color: var(--nexura-dark) !important;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: 2px solid var(--nexura-dark);
  cursor: pointer;
  transition: var(--nexura-transition);
  text-decoration: none !important;
}

.btn-secondary:hover {
  background: var(--nexura-dark);
  color: white !important;
}

/* ========================================
   SECTION BACKGROUNDS
   ======================================== */
.section {
  padding: 80px 5%;
}

.section-light {
  background: #f8f9fa;
}

.section-gradient {
  background: var(--nexura-gradient-tertiary);
}

.section-dark {
  background: var(--nexura-dark);
  color: white;
}

.section-dark h2,
.section-dark h3 {
  color: white;
}

/* ========================================
   IMAGE SLIDER / CAROUSEL ENHANCEMENTS
   ======================================== */
.owl-carousel,
.porto-carousel {
  position: relative;
}

.owl-nav button,
.porto-carousel .owl-nav button {
  background: white !important;
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  box-shadow: var(--nexura-shadow-soft);
  transition: var(--nexura-transition);
}

.owl-nav button:hover,
.porto-carousel .owl-nav button:hover {
  background: var(--nexura-primary) !important;
  color: white !important;
  transform: scale(1.1);
}

.owl-dots {
  text-align: center;
  margin-top: 30px;
}

.owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  background: rgba(107, 57, 244, 0.3);
  border-radius: 50%;
  margin: 0 6px;
  transition: var(--nexura-transition);
}

.owl-dots .owl-dot.active {
  background: var(--nexura-primary);
  transform: scale(1.3);
}

/* ========================================
   ANIMATIONS & EFFECTS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

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

.animate-fade-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-left {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-right {
  animation: fadeInRight 0.8s ease forwards;
}

.animate-pulse {
  animation: pulse 2s ease infinite;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Intersection Observer animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hover lift effect */
.hover-lift {
  transition: var(--nexura-transition);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--nexura-shadow-heavy);
}

/* ========================================
   STATS / COUNTER SECTION
   ======================================== */
.stats-section {
  padding: 80px 5%;
  background: var(--nexura-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  padding: 30px;
}

.stat-number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  background: var(--nexura-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--nexura-border-radius-lg);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: var(--nexura-transition);
  border: 1px solid transparent;
  text-align: center;
}

.service-card:hover {
  border-color: rgba(107, 57, 244, 0.2);
  box-shadow: var(--nexura-shadow-medium);
  transform: translateY(-10px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--nexura-gradient-tertiary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.5rem;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--nexura-dark);
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  line-height: 1.7;
}

/* ========================================
   PROCESS STEPS
   ======================================== */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 40px 0;
}

.process-step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--nexura-gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 3px;
  background: var(--nexura-tertiary);
}

@media (max-width: 767px) {
  .process-step:not(:last-child)::after {
    display: none;
  }
}

.process-step h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--nexura-dark);
  margin-bottom: 10px;
}

.process-step p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================
   MOBILE RESPONSIVE ENHANCEMENTS
   ======================================== */
@media (max-width: 991px) {
  .page-header,
  .service-page-header {
    padding: 70px 5% 60px;
  }

  .content-wrapper {
    padding: 50px 5%;
  }

  .section {
    padding: 60px 5%;
  }

  .testimonials-section {
    padding: 70px 5%;
  }

  .cta-section {
    padding: 70px 5%;
  }
}

@media (max-width: 767px) {
  .page-header h1 {
    font-size: 2rem;
  }

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

  .testimonial-card {
    padding: 30px 25px;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto 15px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .btn-primary,
  .hero-btn-primary,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

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

/* ========================================
   PORTO THEME SPECIFIC OVERRIDES
   ======================================== */
/* Fix Porto page top spacing */
.page-top {
  background: var(--nexura-gradient-tertiary) !important;
  border-bottom: none !important;
}

/* Porto button enhancements */
.porto-btn,
.btn.btn-modern {
  border-radius: 50px !important;
  padding: 14px 30px !important;
  transition: var(--nexura-transition) !important;
}

.porto-btn:hover,
.btn.btn-modern:hover {
  transform: translateY(-3px) !important;
}

/* Porto icon box enhancements */
.porto-sicon-box,
.porto-icon-box {
  transition: var(--nexura-transition);
}

.porto-sicon-box:hover,
.porto-icon-box:hover {
  transform: translateY(-5px);
}

/* Porto counter styling */
.porto-stat-counter .counter-value,
.porto_stat_counter .counter-value {
  background: var(--nexura-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Porto testimonial enhancements */
.porto-testimonial {
  background: white;
  border-radius: var(--nexura-border-radius-lg);
  box-shadow: var(--nexura-shadow-soft);
  transition: var(--nexura-transition);
}

.porto-testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--nexura-shadow-medium);
}

/* ========================================
   LUXURY POLISH & FINISHING TOUCHES
   ======================================== */
/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Better text rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Selection color */
::selection {
  background: var(--nexura-primary);
  color: white;
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--nexura-primary);
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--nexura-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--nexura-secondary);
}

/* Image hover zoom effect */
.img-hover-zoom {
  overflow: hidden;
  border-radius: var(--nexura-border-radius);
}

.img-hover-zoom img {
  transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
  transform: scale(1.08);
}

/* Gradient text effect */
.gradient-text {
  background: var(--nexura-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Underline animation on hover */
.link-underline {
  position: relative;
  text-decoration: none;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nexura-gradient-primary);
  transition: width 0.3s ease;
}

.link-underline:hover::after {
  width: 100%;
}

/* Card hover glow effect */
.card-glow {
  position: relative;
}

.card-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--nexura-gradient-primary);
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  filter: blur(10px);
}

.card-glow:hover::before {
  opacity: 0.4;
}

/* Salient features styling */
.salient-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.salient-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 25px;
  background: white;
  border-radius: var(--nexura-border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: var(--nexura-transition);
  border: 1px solid rgba(107, 57, 244, 0.08);
}

.salient-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--nexura-shadow-soft);
  border-color: rgba(107, 57, 244, 0.15);
}

.salient-feature-icon {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  background: var(--nexura-gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.salient-feature-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--nexura-dark);
  margin-bottom: 8px;
}

.salient-feature-content p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Review box styling */
.review-box {
  background: var(--nexura-gradient-tertiary);
  padding: 30px;
  border-radius: var(--nexura-border-radius-lg);
  margin: 30px 0;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--nexura-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.3rem;
}

.review-rating {
  color: #ffc107;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  font-style: italic;
}

.review-author {
  margin-top: 15px;
  font-weight: 600;
  color: var(--nexura-dark);
}

.review-company {
  font-size: 0.9rem;
  color: #666;
}

/* ========================================
   PAGE-SPECIFIC CLEANUP
   ======================================== */
/* Ensure consistent spacing for all page content */
.page-content,
.entry-content,
#main .page > .entry-content {
  overflow-x: hidden;
}

/* Fix potential overflow issues */
.vc_row,
.elementor-section {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   PORTO STEP COUNTER STYLING
   ======================================== */
.custom-step-number .counter-value,
.custom-step-number .porto-stat-counter {
  font-size: 4rem !important;
  font-weight: 700;
  background: var(--nexura-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* Porto toggle/FAQ enhancements */
.porto-toggles .toggle,
.porto_toggles .toggle {
  background: white !important;
  border: 1px solid rgba(107, 57, 244, 0.1) !important;
  border-radius: var(--nexura-border-radius) !important;
  margin-bottom: 16px !important;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--nexura-transition);
}

.porto-toggles .toggle:hover,
.porto_toggles .toggle:hover {
  border-color: rgba(107, 57, 244, 0.2) !important;
  box-shadow: var(--nexura-shadow-soft);
}

.porto-toggles .toggle > label,
.porto_toggles .toggle > label,
.porto-toggles .toggle-title,
.porto_toggles .toggle-title {
  padding: 20px 25px !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  color: var(--nexura-dark) !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
}

.porto-toggles .toggle.active > label,
.porto_toggles .toggle.active > label {
  color: var(--nexura-primary) !important;
}

.porto-toggles .toggle-content,
.porto_toggles .toggle-content {
  padding: 0 25px 25px !important;
  border-top: none !important;
}

/* Porto sicon box enhancements */
.porto-sicon-box {
  padding: 25px !important;
  background: white !important;
  border-radius: var(--nexura-border-radius) !important;
  margin-bottom: 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  transition: var(--nexura-transition) !important;
  border: 1px solid rgba(107, 57, 244, 0.08);
}

.porto-sicon-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--nexura-shadow-soft) !important;
  border-color: rgba(107, 57, 244, 0.15);
}

.porto-sicon-box .porto-icon {
  color: var(--nexura-primary) !important;
}

.porto-sicon-box .porto-sicon-header h4 {
  font-weight: 600 !important;
  color: var(--nexura-dark) !important;
}

/* Porto button improvements */
.porto-btn,
a.btn,
.vc_btn3 {
  border-radius: 50px !important;
  transition: var(--nexura-transition) !important;
}

.porto-btn:hover,
a.btn:hover,
.vc_btn3:hover {
  transform: translateY(-3px) !important;
}

.vc_btn3-color-primary,
.btn-primary {
  background: var(--nexura-gradient-primary) !important;
  border: none !important;
  box-shadow: 0 8px 25px rgba(107, 57, 244, 0.35) !important;
}

.vc_btn3-color-primary:hover,
.btn-primary:hover {
  box-shadow: 0 15px 40px rgba(107, 57, 244, 0.45) !important;
}

/* Porto stat counter styling */
.porto-stat-counter,
.porto_stat_counter {
  text-align: center;
}

.porto-stat-counter .counter-value,
.porto_stat_counter .counter-value {
  background: var(--nexura-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Porto carousel improvements */
.porto-carousel .owl-nav button,
.owl-carousel .owl-nav button {
  width: 50px !important;
  height: 50px !important;
  background: white !important;
  border-radius: 50% !important;
  box-shadow: var(--nexura-shadow-soft) !important;
  transition: var(--nexura-transition) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.porto-carousel .owl-nav button:hover,
.owl-carousel .owl-nav button:hover {
  background: var(--nexura-primary) !important;
  color: white !important;
  transform: scale(1.1);
}

/* Porto ultimate heading mark highlight */
.porto-u-heading mark {
  background: linear-gradient(180deg, transparent 50%, var(--nexura-tertiary) 50%) !important;
  padding: 0 5px;
}

/* Service page header styling */
.service-page .page-top,
.location-page .page-top {
  background: var(--nexura-gradient-tertiary) !important;
  border-bottom: none !important;
  padding: 50px 0;
}

/* Mobile optimizations for Porto elements */
@media (max-width: 767px) {
  .porto-sicon-box {
    padding: 20px !important;
    margin-bottom: 15px !important;
  }

  .porto-toggles .toggle > label,
  .porto_toggles .toggle > label {
    padding: 15px 20px !important;
    font-size: 1rem !important;
  }

  .porto-toggles .toggle-content,
  .porto_toggles .toggle-content {
    padding: 0 20px 20px !important;
  }

  .custom-step-number .counter-value {
    font-size: 3rem !important;
  }

  .vc_row[data-vc-full-width] {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Image gallery/grid enhancements */
.porto-grid-item,
.porto-grid .porto-grid-item {
  transition: var(--nexura-transition);
}

.porto-grid-item:hover {
  transform: translateY(-5px);
}

.porto-grid-item img {
  border-radius: var(--nexura-border-radius);
}

/* Modern gradient overlays */
.gradient-overlay {
  position: relative;
}

.gradient-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(33, 37, 41, 0.8) 100%);
  z-index: 1;
}

.gradient-overlay > * {
  position: relative;
  z-index: 2;
}

/* Contact form styling */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpforms-field input,
.wpforms-field textarea {
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;
  padding: 15px 20px !important;
  transition: var(--nexura-transition) !important;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpforms-field input:focus,
.wpforms-field textarea:focus {
  border-color: var(--nexura-primary) !important;
  box-shadow: 0 0 0 3px rgba(107, 57, 244, 0.1) !important;
}

.wpcf7-form input[type="submit"],
.wpforms-submit {
  background: var(--nexura-gradient-primary) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 15px 40px !important;
  font-weight: 600 !important;
  transition: var(--nexura-transition) !important;
  box-shadow: 0 8px 25px rgba(107, 57, 244, 0.35) !important;
}

.wpcf7-form input[type="submit"]:hover,
.wpforms-submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 40px rgba(107, 57, 244, 0.45) !important;
}

/* Loading animation for lazy images */
img.lazy-load {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img.lazy-load.loaded {
  opacity: 1;
}

/* Print styles */
@media print {
  .glass-effect,
  .glassmorphism,
  .glass-card {
    background: white !important;
    backdrop-filter: none !important;
  }

  .cta-section,
  .stats-section {
    background: #f8f9fa !important;
  }
}

/* ========================================
   VIDEO HERO SECTION
   ======================================== */
.video-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nexura-gradient-tertiary);
  overflow: hidden;
}

.video-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.95) 100%);
  z-index: 1;
}

.floating-elements {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--nexura-gradient-primary);
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

.floating-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 20%;
  animation-delay: 4s;
}

.video-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 80px 5%;
}

.hero-badge {
  display: inline-block;
  padding: 10px 25px;
  background: var(--nexura-gradient-primary);
  color: white;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.video-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--nexura-dark);
  margin-bottom: 25px;
  line-height: 1.15;
}

.video-hero-content h1 span {
  background: var(--nexura-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.video-hero-content > p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #555;
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.video-hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .video-hero {
    min-height: auto;
    padding: 60px 0;
  }

  .video-hero-content {
    padding: 40px 5%;
  }

  .video-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .video-hero-buttons .btn-primary,
  .video-hero-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .floating-shape {
    display: none;
  }
}

/* ========================================
   IMAGE SLIDER / MARQUEE
   ======================================== */
.image-slider {
  overflow: hidden;
  padding: 60px 0;
  background: #f8f9fa;
}

.slider-track {
  display: flex;
  animation: scroll-marquee 40s linear infinite;
  width: max-content;
}

.slider-item {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  margin: 0 15px;
  border-radius: var(--nexura-border-radius);
  overflow: hidden;
  box-shadow: var(--nexura-shadow-soft);
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.slider-item:hover img {
  transform: scale(1.08);
}

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

@media (max-width: 767px) {
  .slider-item {
    width: 220px;
    height: 150px;
    margin: 0 10px;
  }
}

/* ========================================
   SECTION HEADER STYLES
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--nexura-dark);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.15rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   PROCESS GRID
   ======================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 70px;
  height: 70px;
  background: var(--nexura-gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--nexura-dark);
  margin-bottom: 10px;
}

.process-step p {
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
}

@media (max-width: 991px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   SERVICE CARD IMAGE STYLES
   ======================================== */
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--nexura-border-radius) var(--nexura-border-radius) 0 0;
  margin: -40px -30px 25px;
  width: calc(100% + 60px);
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--nexura-primary);
  font-weight: 600;
  text-decoration: none;
  margin-top: 15px;
  transition: var(--nexura-transition-fast);
}

.service-link:hover {
  color: var(--nexura-secondary);
  transform: translateX(5px);
}

/* ========================================
   FAQ CONTAINER STYLES
   ======================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

/* ========================================
   CONTACT GRID
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.contact-info-item {
  margin-bottom: 25px;
}

.contact-info-item h4 {
  font-size: 1rem;
  color: #666;
  margin-bottom: 8px;
}

.contact-info-item a,
.contact-info-item p {
  color: var(--nexura-dark);
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--nexura-primary);
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ========================================
   ANIMATE ON SCROLL
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated,
.animate-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   CASE STUDIES SECTION
   ======================================== */
.case-studies-section {
  padding: 100px 5%;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.case-study-card {
  background: white;
  border-radius: var(--nexura-border-radius);
  padding: 35px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: var(--nexura-transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.case-study-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--nexura-gradient-primary);
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(107, 57, 244, 0.15);
}

.case-study-badge {
  display: inline-block;
  background: var(--nexura-gradient-tertiary);
  color: var(--nexura-primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.case-study-card h3 {
  font-size: 1.4rem !important;
  margin-bottom: 25px;
  color: var(--nexura-dark);
  line-height: 1.3;
}

.case-study-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.case-study-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.case-study-section h4 {
  font-size: 0.9rem !important;
  color: var(--nexura-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.case-study-section p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

.results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.results-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.results-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--nexura-primary);
  font-weight: 700;
  font-size: 16px;
}

.results-list li:last-child {
  margin-bottom: 0;
}

/* Responsive case studies */
@media (max-width: 768px) {
  .case-studies-section {
    padding: 60px 5%;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .case-study-card {
    padding: 25px;
  }

  .case-study-card h3 {
    font-size: 1.2rem !important;
  }
}

/* ========================================
   HOME PAGE HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 5% 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--nexura-gradient-primary);
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(158, 23, 241, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(107, 57, 244, 0.3) 0%, transparent 50%);
}

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

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  color: white !important;
  font-size: 3.5rem !important;
  line-height: 1.15 !important;
  margin-bottom: 25px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero-content > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-cta .btn-primary {
  background: white;
  color: var(--nexura-primary) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.hero-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: white !important;
}

.hero-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--nexura-border-radius-lg);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  font-family: var(--nexura-font-heading);
}

.hero-stat .stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 5px;
}

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding: 100px 5% 60px;
  }

  .hero-content h1 {
    font-size: 2.5rem !important;
  }

  .hero-content > p {
    font-size: 1.1rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 30px;
  }

  .hero-stat .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem !important;
  }

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

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   SERVICES OVERVIEW SECTION
   ======================================== */
.services-overview {
  padding: 100px 5%;
}

.service-category {
  margin-bottom: 60px;
}

.service-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 1.1rem !important;
  color: var(--nexura-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--nexura-tertiary);
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.why-choose-us {
  padding: 100px 5%;
}

.split-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.split-content .check-list {
  text-align: left;
}

.split-content .check-list li strong {
  color: var(--nexura-primary);
}

@media (max-width: 991px) {
  .split-section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-image {
    order: -1;
  }
}

/* ========================================
   LOCATIONS SECTION
   ======================================== */
.locations-section {
  padding: 100px 5%;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.province-group h4 {
  font-size: 1.1rem !important;
  color: var(--nexura-primary);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--nexura-tertiary);
}

.city-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.city-list li {
  margin-bottom: 10px;
}

.city-list a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 15px;
}

.city-list a:hover {
  color: var(--nexura-primary);
}

@media (max-width: 576px) {
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* ========================================
   SERVICE LINK STYLES
   ======================================== */
.service-link {
  display: inline-block;
  color: var(--nexura-primary);
  font-weight: 600;
  text-decoration: none;
  margin-top: 15px;
  transition: var(--nexura-transition-fast);
  font-size: 14px;
}

.service-link:hover {
  color: var(--nexura-secondary);
  transform: translateX(5px);
}

/* ========================================
   ADDITIONAL BUTTON STYLES
   ======================================== */
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--nexura-primary) !important;
  padding: 14px 33px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: var(--nexura-transition);
  border: 2px solid var(--nexura-primary);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--nexura-primary);
  color: white !important;
  transform: translateY(-3px);
}

/* ========================================
   PORTO THEME OVERRIDES - Ensure Consistency
   ======================================== */

/* Override Porto header styles */
#header,
.header-wrapper,
.main-menu-wrapper {
  font-family: var(--nexura-font-body) !important;
}

#header h1, #header h2, #header h3,
.header-wrapper h1, .header-wrapper h2, .header-wrapper h3 {
  font-family: var(--nexura-font-heading) !important;
}

/* Ensure body content uses our fonts */
.page-content,
.post-content,
article,
.wpb_wrapper,
.vc_row {
  font-family: var(--nexura-font-body) !important;
}

.page-content h1, .page-content h2, .page-content h3, .page-content h4,
.post-content h1, .post-content h2, .post-content h3, .post-content h4,
article h1, article h2, article h3, article h4 {
  font-family: var(--nexura-font-heading) !important;
}

/* Fix Porto page wrapper padding */
#main.main-content {
  padding: 0 !important;
}

.main-content-wrap {
  padding: 0 !important;
}

/* Ensure full width for our sections */
.page-content > .section,
.page-content > .hero-section,
.page-content > .cta-section,
.page-content > .testimonials-section,
.page-content > .faq-section,
.page-content > .case-studies-section,
.page-content > .case-studies-preview,
.page-content > .services-overview,
.page-content > .locations-section,
.page-content > .why-choose-us,
.page-content > .page-header,
.page-content > .split-section,
.page-content > div[class*="section"] {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Fix for WPBakery pages */
.vc_row-full-width {
  overflow: visible !important;
}

/* Case studies preview specific styles */
.case-studies-preview {
  padding: 100px 5%;
  background: #ffffff;
}

/* Ensure consistent section padding */
.section,
.services-overview,
.why-choose-us,
.locations-section,
.testimonials-section,
.faq-section,
.case-studies-section,
.case-studies-preview {
  padding: 100px 5%;
}

@media (max-width: 768px) {
  .section,
  .services-overview,
  .why-choose-us,
  .locations-section,
  .testimonials-section,
  .faq-section,
  .case-studies-section,
  .case-studies-preview {
    padding: 60px 5%;
  }
}

/* ========================================
   CRITICAL FIXES - January 25, 2026
   ======================================== */

/* Fix #4: Industries section overflow fix */
.section[style*="max-width: 900px"],
div[style*="max-width: 900px"] {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 5% !important;
  padding-right: 5% !important;
  box-sizing: border-box !important;
}

/* Fix #5: CTA section - use gradient instead of dark */
.cta-section {
  background: var(--nexura-gradient-tertiary) !important;
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  background: radial-gradient(circle, rgba(107, 57, 244, 0.1) 0%, transparent 50%) !important;
}

.cta-section h2,
.cta-content h2 {
  color: var(--nexura-dark) !important;
  font-size: 2.2rem !important;
  margin-bottom: 20px;
}

.cta-section p,
.cta-content p {
  color: #555 !important;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.cta-section .btn-primary,
.cta-content .btn-primary {
  background: var(--nexura-gradient-primary) !important;
  color: white !important;
}

/* Fix #6: Full-width sections - remove Porto constraints */
body.nexura-enhanced #main,
body.nexura-enhanced .main-content,
body.nexura-enhanced .page-content,
body.nexura-enhanced .post-content,
body.nexura-enhanced article.page {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.nexura-enhanced .container,
body.nexura-enhanced .main-content .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

/* Full-width sections */
.page-header,
.hero-section,
.section,
.section-light,
.section-dark,
.split-section,
.testimonials-section,
.faq-section,
.cta-section,
.case-studies-section,
.case-studies-preview,
.services-overview,
.locations-section,
.why-choose-us {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding-left: 5% !important;
  padding-right: 5% !important;
  box-sizing: border-box !important;
}

/* Fix inner content max-widths */
.services-grid,
.testimonials-grid,
.case-studies-grid,
.process-steps,
.locations-grid,
.split-section-inner {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Fix split sections */
.split-section {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 60px !important;
  align-items: center !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

.split-content,
.split-image {
  width: 100% !important;
  max-width: 100% !important;
}

/* ========================================
   MOBILE RESPONSIVE FIXES
   ======================================== */
@media (max-width: 991px) {
  .split-section {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  .split-image {
    order: -1 !important;
  }

  .hero-content h1 {
    font-size: 2rem !important;
  }

  .page-header h1 {
    font-size: 2rem !important;
  }

  .services-grid,
  .testimonials-grid,
  .case-studies-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr !important;
  }

  .locations-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 80px 5% 60px !important;
    min-height: auto !important;
  }

  .hero-content h1 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
    padding: 20px !important;
  }

  .hero-stat .stat-number {
    font-size: 1.5rem !important;
  }

  .page-header {
    padding: 60px 5% 40px !important;
  }

  .page-header h1 {
    font-size: 1.75rem !important;
  }

  .page-header p {
    font-size: 1rem !important;
  }

  .section,
  .section-light,
  .section-dark,
  .testimonials-section,
  .faq-section,
  .cta-section,
  .case-studies-section {
    padding: 50px 5% !important;
  }

  .section-header h2,
  .split-content h2,
  .cta-content h2 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

  .service-card,
  .testimonial-card,
  .case-study-card {
    padding: 25px !important;
  }

  .process-steps {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .locations-grid {
    grid-template-columns: 1fr !important;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 25px !important;
    font-size: 14px !important;
    display: block !important;
    text-align: center !important;
    margin-bottom: 10px !important;
  }

  .hero-cta {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .faq-question {
    padding: 20px !important;
  }

  .faq-question span {
    font-size: 14px !important;
  }

  .faq-answer-inner {
    padding: 0 20px 20px !important;
    font-size: 14px !important;
  }

  .check-list li {
    font-size: 14px !important;
    padding-left: 30px !important;
  }
}

/* ========================================
   PORTO THEME OVERRIDES - CRITICAL
   ======================================== */

/* Remove Porto's default container constraints */
body.nexura-enhanced .wpb_wrapper,
body.nexura-enhanced .vc_row,
body.nexura-enhanced .vc_column-inner {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* Ensure our content shows above Porto elements */
body.nexura-enhanced .page-content > * {
  position: relative;
  z-index: 1;
}

/* Fix Porto header if needed */
body.nexura-enhanced #header {
  position: relative;
  z-index: 999;
}

/* Hide Porto breadcrumbs if we have our own */
body.nexura-enhanced .page-top .breadcrumb {
  display: none;
}

/* Industries section specific fix */
.section[style*="text-align: center"] {
  text-align: center !important;
  padding-left: 5% !important;
  padding-right: 5% !important;
}

.section[style*="text-align: center"] h2 {
  margin-bottom: 20px !important;
}

.section[style*="text-align: center"] p {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ========================================
   INDUSTRY TABS - Interactive Content
   ======================================== */
.industry-tabs,
.industry-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.industry-tab,
.seo-tab {
  padding: 12px 24px;
  border: 2px solid var(--nexura-primary);
  background: white;
  color: var(--nexura-primary);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: var(--nexura-transition);
}

.industry-tab:hover,
.seo-tab:hover {
  background: var(--nexura-tertiary);
}

.industry-tab.active,
.seo-tab.active {
  background: var(--nexura-gradient-primary);
  color: white;
  border-color: var(--nexura-primary);
}

.industry-panel,
.seo-industry-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.industry-panel.active,
.seo-industry-panel.active,
.industry-panel:first-child,
.seo-industry-panel:first-child {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   WHY CHOOSE US SECTION - FIXED LAYOUT
   ======================================== */
.why-choose-us {
  padding: 80px 5%;
}

.why-choose-us .split-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.why-choose-us .split-content {
  max-width: 100%;
}

.why-choose-us .split-image {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-us .split-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: var(--nexura-border-radius-lg);
  box-shadow: var(--nexura-shadow-medium);
}

/* Fix for overly large images in split sections */
.split-section .split-image img,
.split-section-inner .split-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: var(--nexura-border-radius-lg);
}

@media (max-width: 991px) {
  .why-choose-us .split-section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .why-choose-us .split-image {
    order: -1;
  }
  
  .why-choose-us .split-image img {
    max-width: 100%;
    max-height: 350px;
  }
}

/* ========================================
   FAQ SECTION IMPROVEMENTS
   ======================================== */
.faq-item {
  background: white;
  border-radius: var(--nexura-border-radius);
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--nexura-transition);
  border: 1px solid rgba(107, 57, 244, 0.1);
}

.faq-item:hover,
.faq-item.active {
  box-shadow: var(--nexura-shadow-soft);
  border-color: rgba(107, 57, 244, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--nexura-dark);
  text-align: left;
  transition: var(--nexura-transition-fast);
  font-family: var(--nexura-font-heading);
}

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

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--nexura-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

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

.faq-answer-inner {
  padding: 0 25px 25px;
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}

.faq-answer-inner a {
  color: var(--nexura-primary);
  text-decoration: none;
}

.faq-answer-inner a:hover {
  text-decoration: underline;
}

/* ========================================
   SERVICES GRID IMPROVEMENTS
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.service-card {
  background: white;
  padding: 35px 30px;
  border-radius: var(--nexura-border-radius-lg);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: var(--nexura-transition);
  border: 1px solid transparent;
  text-align: left;
}

.service-card:hover {
  border-color: rgba(107, 57, 244, 0.15);
  box-shadow: var(--nexura-shadow-medium);
  transform: translateY(-8px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--nexura-gradient-tertiary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--nexura-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  color: #555;
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 0;
}

.service-card a {
  color: var(--nexura-primary);
  text-decoration: none;
}

.service-card a:hover {
  text-decoration: underline;
}

/* ========================================
   TESTIMONIALS IMPROVEMENTS
   ======================================== */
.testimonials-section {
  padding: 80px 5%;
  background: var(--nexura-gradient-tertiary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 35px;
  border-radius: var(--nexura-border-radius-lg);
  box-shadow: var(--nexura-shadow-soft);
  transition: var(--nexura-transition);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--nexura-shadow-heavy);
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  font-style: italic;
  margin-bottom: 20px;
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
   ======================================== */
@media (max-width: 767px) {
  .industry-tabs,
  .industry-tab-buttons {
    gap: 8px;
  }
  
  .industry-tab,
  .seo-tab {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card,
  .testimonial-card {
    padding: 25px;
  }
  
  .faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }
  
  .faq-answer-inner {
    padding: 0 20px 20px;
  }
}

/* ========================================
   PROCESS GRID IMPROVEMENTS
   ======================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
}

.process-number {
  width: 65px;
  height: 65px;
  background: var(--nexura-gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  font-family: var(--nexura-font-heading);
}

.process-step h3 {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: var(--nexura-dark);
  margin-bottom: 10px;
}

.process-step p {
  color: #555;
  line-height: 1.6;
  font-size: 14px;
}

@media (max-width: 991px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ========================================
   WHY CHOOSE US SECTION - GLOBAL FIX
   ======================================== */
.why-choose-us,
.section.why-choose-us,
div[class*="why-choose"] {
  padding: 80px 5% !important;
}

.why-choose-us .split-section-inner,
.why-choose-us > div:first-child {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 60px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  align-items: center !important;
}

.why-choose-us .split-image,
.why-choose-us .split-section-inner > div:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.why-choose-us .split-image img,
.why-choose-us img {
  width: 100% !important;
  max-width: 500px !important;
  max-height: 400px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  box-shadow: 0 15px 50px rgba(107, 57, 244, 0.2) !important;
}

/* Mobile responsive for Why Choose Us */
@media (max-width: 991px) {
  .why-choose-us .split-section-inner,
  .why-choose-us > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .why-choose-us .split-image {
    order: -1 !important;
  }
  
  .why-choose-us .split-image img,
  .why-choose-us img {
    max-width: 100% !important;
    max-height: 350px !important;
  }
}

/* ========================================
   SPLIT SECTION IMAGE FIXES - GLOBAL
   ======================================== */
.split-section .split-image img,
.split-section-inner .split-image img,
div[class*="split"] img {
  max-height: 450px;
  object-fit: cover;
  width: 100%;
  border-radius: var(--nexura-border-radius-lg);
}

/* Ensure consistent image sizing across all service pages */
.section .split-image img {
  max-height: 450px !important;
  object-fit: cover !important;
}

@media (max-width: 767px) {
  .section .split-image img {
    max-height: 300px !important;
  }
}

/* ========================================
   ADDITIONAL RESPONSIVE FIXES
   ======================================== */
@media (max-width: 767px) {
  .locations-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
  
  .glass-card {
    padding: 20px !important;
  }
  
  .industry-tabs {
    gap: 8px !important;
  }
  
  .industry-tab {
    padding: 8px 16px !important;
    font-size: 12px !important;
  }
  
  .industry-panel {
    padding: 25px !important;
  }
}

@media (max-width: 480px) {
  .locations-grid {
    grid-template-columns: 1fr !important;
  }
}
