/**
 * Nexura Digital - Porto Theme Enhancements
 * Glassmorphism, Animations, Dynamic Effects
 * Matching Porto Marketing Demo
 */

/* ========================================
   TYPOGRAPHY - EXACT PORTO MATCH
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700;800&family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Porto Marketing Colors */
  --porto-primary: #6b39f4;
  --porto-secondary: #9e17f1;
  --porto-tertiary: #c5d4fb;
  --porto-quaternary: #d6efe8;
  --porto-dark: #212529;
  --porto-light: #ffffff;
  --porto-light-purple: #f7f7ff;
  --porto-dark-gray: #424347;

  /* Enhanced Gradients */
  --porto-gradient-primary: linear-gradient(90deg, var(--porto-primary) 0%, var(--porto-secondary) 100%);
  --porto-gradient-tertiary: linear-gradient(90deg, var(--porto-tertiary) 0%, var(--porto-quaternary) 100%);
  --porto-gradient-text: linear-gradient(180deg, var(--porto-secondary) 0%, var(--porto-dark) 80%);

  /* Shadows - Porto Style */
  --porto-shadow-natural: 6px 6px 9px rgba(0, 0, 0, 0.2);
  --porto-shadow-deep: 12px 12px 50px rgba(0, 0, 0, 0.4);
  --porto-shadow-sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);
  --porto-shadow-soft: 0 20px 60px 0 rgba(0, 0, 0, 0.08);
  --porto-shadow-icon: 0 15px 30px -15px rgba(0, 0, 0, 0.45);
  --porto-shadow-glow: 0 0 40px rgba(107, 57, 244, 0.3);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-bg-light: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-blur: blur(20px);

  /* Typography - Porto Exact */
  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'Lexend', sans-serif;
  --font-accent: 'Playfair Display', serif;
}

/* Porto Typography Sizes */
body,
.nexura-enhanced {
  font-family: var(--font-primary) !important;
  font-size: 16px;
  line-height: 1.7;
  color: var(--porto-dark);
}

h1, .h1 {
  font-family: var(--font-heading) !important;
  font-size: 4.375rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

h2, .h2 {
  font-family: var(--font-heading) !important;
  font-size: 3rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

h3, .h3 {
  font-family: var(--font-heading) !important;
  font-size: 1.75rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

h4, .h4 {
  font-family: var(--font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

/* Responsive Typography */
@media (max-width: 1487px) {
  h1, .h1 { font-size: 3.4rem !important; }
  h2, .h2 { font-size: 2.5rem !important; }
}

@media (max-width: 991px) {
  h1, .h1 { font-size: 2.8rem !important; }
  h2, .h2 { font-size: 2rem !important; }
  h3, .h3 { font-size: 1.5rem !important; }
}

@media (max-width: 767px) {
  h1, .h1 { font-size: 2.2rem !important; }
  h2, .h2 { font-size: 1.75rem !important; }
  h3, .h3 { font-size: 1.25rem !important; }
}

/* ========================================
   GLASSMORPHISM EFFECTS
   ======================================== */
.glass-effect,
.glassmorphism {
  background: var(--glass-bg-light) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: 0 8px 32px rgba(107, 57, 244, 0.15) !important;
}

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

.glass-card {
  background: var(--glass-bg-light) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 16px !important;
  box-shadow:
    0 8px 32px rgba(107, 57, 244, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glass-card:hover {
  transform: translateY(-8px) !important;
  box-shadow:
    0 20px 60px rgba(107, 57, 244, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
}

/* ========================================
   IMAGE ENHANCEMENTS - BORDERS & GLOW
   ======================================== */
.split-image img,
.service-image img,
img.enhanced-image {
  border-radius: 20px !important;
  border: 4px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(107, 57, 244, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
}

.split-image img:hover,
.service-image img:hover,
img.enhanced-image:hover {
  transform: scale(1.02) translateY(-5px) !important;
  box-shadow:
    0 30px 80px rgba(107, 57, 244, 0.25),
    0 0 40px rgba(107, 57, 244, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(107, 57, 244, 0.3) !important;
}

/* Image with glow effect */
.img-glow {
  position: relative;
}

.img-glow::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: var(--porto-gradient-primary);
  filter: blur(40px);
  opacity: 0.3;
  z-index: -1;
  border-radius: 20px;
  transition: all 0.5s ease;
}

.img-glow:hover::before {
  opacity: 0.5;
  filter: blur(50px);
}

/* Porto img-shadow class */
.img-shadow {
  box-shadow: var(--porto-shadow-soft) !important;
}

/* ========================================
   ANIMATED DECORATIVE ELEMENTS
   ======================================== */
/* Floating shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.floating-shape.shape-1 {
  width: 100px;
  height: 100px;
  background: var(--porto-gradient-primary);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.floating-shape.shape-2 {
  width: 60px;
  height: 60px;
  background: var(--porto-gradient-tertiary);
  top: 60%;
  right: 10%;
  animation-delay: -2s;
}

.floating-shape.shape-3 {
  width: 80px;
  height: 80px;
  background: var(--porto-quaternary);
  bottom: 20%;
  left: 15%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Rotating background decoration */
.rotate-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--porto-gradient-primary);
  opacity: 0.05;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: rotate-shape 30s linear infinite;
  pointer-events: none;
}

@keyframes rotate-shape {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Pulse animation for CTAs */
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(107, 57, 244, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(107, 57, 244, 0);
  }
}

/* ========================================
   ENHANCED CARD STYLES
   ======================================== */
.service-card {
  background: white !important;
  border-radius: 16px !important;
  padding: 40px !important;
  box-shadow: var(--porto-shadow-soft) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
  overflow: hidden !important;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--porto-gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px) !important;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.12),
    var(--porto-shadow-glow) !important;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Service icon with glow */
.service-icon {
  width: 80px;
  height: 80px;
  background: var(--porto-gradient-tertiary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 25px;
  box-shadow: var(--porto-shadow-icon);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow:
    var(--porto-shadow-icon),
    0 0 30px rgba(107, 57, 244, 0.3);
}

/* ========================================
   TESTIMONIAL CARDS - GLASSMORPHISM
   ======================================== */
.testimonial-card {
  background: var(--glass-bg-light) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 20px !important;
  padding: 40px !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 6rem;
  font-family: var(--font-accent);
  color: var(--porto-tertiary);
  opacity: 0.5;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow:
    0 25px 70px rgba(107, 57, 244, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
}

.testimonial-avatar {
  width: 60px !important;
  height: 60px !important;
  background: var(--porto-gradient-primary) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  box-shadow: 0 8px 25px rgba(107, 57, 244, 0.35) !important;
}

/* ========================================
   CASE STUDY CARDS - ENHANCED
   ======================================== */
.case-study-card {
  background: white !important;
  border-radius: 20px !important;
  padding: 40px !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: var(--porto-shadow-soft) !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

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

.case-study-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--porto-gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.case-study-card:hover {
  transform: translateY(-12px) !important;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.15),
    var(--porto-shadow-glow) !important;
}

.case-study-badge {
  display: inline-block;
  background: var(--porto-gradient-primary) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 25px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 5px 20px rgba(107, 57, 244, 0.3) !important;
}

/* ========================================
   SECTION LABEL - PORTO STYLE
   ======================================== */
.section-label {
  display: inline-block;
  background: var(--porto-gradient-tertiary) !important;
  color: var(--porto-primary) !important;
  padding: 10px 25px !important;
  border-radius: 30px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 5px 20px rgba(197, 212, 251, 0.5) !important;
}

/* ========================================
   BUTTON ENHANCEMENTS - PORTO STYLE
   ======================================== */
.btn-primary {
  display: inline-block !important;
  background: var(--porto-gradient-primary) !important;
  color: white !important;
  padding: 18px 40px !important;
  border-radius: 35px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 10px 30px rgba(107, 57, 244, 0.35) !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-5px) !important;
  box-shadow:
    0 20px 50px rgba(107, 57, 244, 0.45),
    0 0 30px rgba(107, 57, 244, 0.3) !important;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  display: inline-block !important;
  background: transparent !important;
  color: var(--porto-primary) !important;
  padding: 16px 38px !important;
  border-radius: 35px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 2px solid var(--porto-primary) !important;
  cursor: pointer !important;
}

.btn-secondary:hover {
  background: var(--porto-primary) !important;
  color: white !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 40px rgba(107, 57, 244, 0.3) !important;
}

/* ========================================
   PROCESS STEPS - ANIMATED
   ======================================== */
.process-step {
  position: relative !important;
  padding: 30px 25px !important;
  text-align: center !important;
  transition: all 0.4s ease !important;
}

.step-number {
  width: 70px !important;
  height: 70px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 25px !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: white !important;
  transition: all 0.4s ease !important;
  position: relative !important;
}

.step-number::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: pulse-ring 2s ease-out infinite;
  opacity: 0;
}

.process-step:hover .step-number {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: scale(1.1) !important;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3) !important;
}

.process-step:hover .step-number::after {
  opacity: 1;
}

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

/* ========================================
   FAQ SECTION - ENHANCED
   ======================================== */
.faq-item {
  background: white !important;
  border-radius: 16px !important;
  margin-bottom: 15px !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  overflow: hidden !important;
  transition: all 0.4s ease !important;
}

.faq-item:hover {
  box-shadow: 0 10px 35px rgba(107, 57, 244, 0.1) !important;
  border-color: rgba(107, 57, 244, 0.1) !important;
}

.faq-item.active {
  box-shadow: 0 15px 50px rgba(107, 57, 244, 0.15) !important;
  border-color: var(--porto-primary) !important;
}

.faq-question {
  padding: 25px 30px !important;
  background: white !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  transition: all 0.3s ease !important;
}

.faq-question span {
  font-weight: 600 !important;
  font-size: 16px !important;
  color: var(--porto-dark) !important;
}

.faq-icon {
  width: 30px !important;
  height: 30px !important;
  background: var(--porto-gradient-tertiary) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--porto-primary) !important;
  transition: all 0.4s ease !important;
  flex-shrink: 0 !important;
}

.faq-item.active .faq-icon {
  background: var(--porto-gradient-primary) !important;
  color: white !important;
  transform: rotate(45deg) !important;
}

/* ========================================
   HERO SECTION - ENHANCED
   ======================================== */
.hero-section {
  position: relative !important;
  overflow: hidden !important;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--porto-gradient-primary);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--porto-tertiary);
  border-radius: 50%;
  bottom: -100px;
  left: -100px;
  opacity: 0.2;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 24px !important;
  padding: 40px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
}

/* Gradient text for stats */
.hero-stat .stat-number {
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.8) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ========================================
   PAGE HEADER - ENHANCED
   ======================================== */
.page-header {
  position: relative !important;
  overflow: hidden !important;
}

.page-header::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -150px;
  right: -100px;
  animation: float 12s ease-in-out infinite;
}

.page-header::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -50px;
  left: 10%;
  animation: float 8s ease-in-out infinite reverse;
}

/* ========================================
   CTA SECTION - GLASSMORPHISM
   ======================================== */
.cta-section {
  background: var(--porto-gradient-tertiary) !important;
  position: relative !important;
  overflow: hidden !important;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--porto-primary);
  border-radius: 50%;
  top: -250px;
  right: -100px;
  opacity: 0.1;
  animation: float 15s ease-in-out infinite;
}

.cta-content {
  position: relative !important;
  z-index: 2 !important;
}

.cta-content h2 {
  color: var(--porto-dark) !important;
}

.cta-content p {
  color: #555 !important;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animations for grids */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.5s; }

.testimonials-grid .testimonial-card:nth-child(1) { transition-delay: 0s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.15s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.3s; }

/* ========================================
   CHECK LIST - ENHANCED
   ======================================== */
.check-list li {
  position: relative !important;
  padding-left: 40px !important;
  margin-bottom: 18px !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.check-list li::before {
  content: '✓' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 28px !important;
  height: 28px !important;
  background: var(--porto-gradient-primary) !important;
  color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: bold !important;
  box-shadow: 0 5px 15px rgba(107, 57, 244, 0.3) !important;
}

/* ========================================
   RESULTS LIST - ENHANCED
   ======================================== */
.results-list li {
  position: relative !important;
  padding-left: 35px !important;
  margin-bottom: 12px !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #333 !important;
}

.results-list li::before {
  content: '▶' !important;
  position: absolute !important;
  left: 0 !important;
  top: 2px !important;
  color: var(--porto-primary) !important;
  font-size: 10px !important;
}

/* ========================================
   HEADER GLASSMORPHISM
   ======================================== */
#header.scrolled,
.header-wrapper.scrolled {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1) !important;
}

/* ========================================
   COUNTER GRADIENT TEXT
   ======================================== */
.stat-number[data-counter],
.counter-value {
  background: var(--porto-gradient-text) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ========================================
   LOCATIONS GRID - ENHANCED
   ======================================== */
.province-group {
  background: white !important;
  border-radius: 16px !important;
  padding: 30px !important;
  box-shadow: var(--porto-shadow-soft) !important;
  transition: all 0.4s ease !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.province-group:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 50px rgba(107, 57, 244, 0.1) !important;
}

.province-group h4 {
  color: var(--porto-primary) !important;
  border-bottom: 2px solid var(--porto-tertiary) !important;
  padding-bottom: 12px !important;
  margin-bottom: 20px !important;
}

.city-list a {
  transition: all 0.3s ease !important;
}

.city-list a:hover {
  color: var(--porto-primary) !important;
  padding-left: 10px !important;
}

/* ========================================
   MOBILE ENHANCEMENTS
   ======================================== */
@media (max-width: 991px) {
  .floating-shape,
  .rotate-bg {
    display: none;
  }

  .hero-section::before,
  .hero-section::after,
  .page-header::before,
  .page-header::after {
    transform: scale(0.5);
    opacity: 0.05;
  }
}

@media (max-width: 576px) {
  .service-card,
  .testimonial-card,
  .case-study-card {
    padding: 25px !important;
  }

  .glass-card {
    backdrop-filter: blur(5px) !important;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 28px !important;
    font-size: 14px !important;
  }
}

/* ========================================
   INDUSTRY TAGS
   ======================================== */
.industry-tag {
  display: inline-block !important;
  padding: 12px 24px !important;
  background: white !important;
  border: 1px solid rgba(107, 57, 244, 0.2) !important;
  border-radius: 30px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  margin: 5px !important;
}

.industry-tag:hover {
  background: linear-gradient(135deg, #6b39f4, #9e17f1) !important;
  color: white !important;
  border-color: transparent !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(107, 57, 244, 0.3) !important;
}

/* ========================================
   GLASS CARD ENHANCEMENTS
   ======================================== */
.glass-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.glass-card h4 {
  color: #6b39f4 !important;
  margin-bottom: 15px !important;
}

.glass-card ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.glass-card ul li {
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.glass-card ul li:last-child {
  border-bottom: none !important;
}

.glass-card ul li a {
  color: #333 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.glass-card ul li a:hover {
  color: #6b39f4 !important;
  padding-left: 5px !important;
}

/* ========================================
   SECTION GRADIENT BACKGROUNDS
   ======================================== */
.section-gradient {
  background: linear-gradient(135deg, #c5d4fb 0%, #d6efe8 100%) !important;
  position: relative !important;
}

.section-gradient::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: radial-gradient(circle at 20% 20%, rgba(107, 57, 244, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(158, 23, 241, 0.06) 0%, transparent 40%) !important;
  pointer-events: none !important;
}

/* ========================================
   OTHER SERVICES GRID
   ======================================== */
.section-light .glass-card ul[style*="columns:2"] {
  column-gap: 30px !important;
}

.section-light .glass-card ul[style*="columns:2"] li {
  break-inside: avoid !important;
  padding: 10px 0 !important;
}

/* ========================================
   SERVICE AREAS GRID
   ======================================== */
[style*="display:grid"][style*="grid-template-columns:1fr 1fr"] {
  gap: 30px !important;
}

@media (max-width: 768px) {
  [style*="display:grid"][style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================
   ENHANCED CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, #6b39f4 0%, #9e17f1 100%) !important;
  padding: 80px 20px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.cta-section::before {
  content: '' !important;
  position: absolute !important;
  width: 400px !important;
  height: 400px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  top: -200px !important;
  right: -100px !important;
  pointer-events: none !important;
}

.cta-section::after {
  content: '' !important;
  position: absolute !important;
  width: 300px !important;
  height: 300px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 50% !important;
  bottom: -150px !important;
  left: -50px !important;
  pointer-events: none !important;
}

.cta-section .cta-content {
  position: relative !important;
  z-index: 2 !important;
  max-width: 700px !important;
  margin: 0 auto !important;
}

.cta-section h2 {
  color: white !important;
  margin-bottom: 20px !important;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 30px !important;
}

.cta-section a:not(.btn-primary) {
  color: #c5d4fb !important;
  text-decoration: underline !important;
}

.cta-section .btn-primary {
  background: white !important;
  color: #6b39f4 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.cta-section .btn-primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
}
