/* ==========================================
   WEPVA AGENCY - PREMIUM LIGHT STYLING SYSTEM
   Design: Clean white/light background with Deep Navy, Electric Blue & Purple Accents
   Typography: Plus Jakarta Sans (Headers) & Inter (Body)
   ========================================== */

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* --- CUSTOM DESIGN TOKENS --- */
:root {
  /* Color Palette */
  --color-bg-light: #ffffff;
  --color-bg-alt: #f8fafc;        /* Light Slate */
  --color-bg-hero: #f1f5f9;       /* Slightly deeper light slate for hero/headers */
  --color-border-light: #e2e8f0;
  
  --color-bg-dark: #070913;       /* Dark Navy */
  --color-bg-dark-alt: #0d1127;   /* Deeper Navy */
  --color-text-muted-dark: #94a3b8; /* Light Slate Gray */
  
  --color-primary: #2563eb;       /* Electric Blue */
  --color-primary-rgb: 37, 99, 235;
  --color-accent: #8b5cf6;        /* Subtle Purple */
  --color-accent-rgb: 139, 92, 246;
  --color-navy: #0f172a;          /* Deep Navy Text */
  
  --color-text-dark: #0f172a;
  --color-text-muted: #475569;    /* Slate Gray */
  --color-text-light: #ffffff;
  
  /* Fonts */
  --font-headers: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Transitions */
  --container-max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.1);
}

/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  position: relative;
}

body.nav-open {
  overflow: hidden !important;
  touch-action: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- REUSABLE UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: clamp(60px, 8vw, 100px) 0;
}

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

.max-w-700 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, var(--color-accent) 0%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- BUTTONS & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-headers);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-text-light);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-border-light);
}

.btn-secondary:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-border-light);
}

.btn-outline-dark:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: var(--transition-smooth);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* --- HEADER & NAVIGATION (LIGHT) --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
  padding: 10px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
}

header.scrolled {
  background: #ffffff;
  padding: 6px 0;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(226, 232, 240, 0.8);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 10;
  line-height: 1;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

body.nav-open .logo {
  display: none !important;
}

body.nav-open header {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none;
}

body.nav-open header .menu-toggle,
body.nav-open header nav {
  pointer-events: auto;
}

.logo img {
  height: 115px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled .logo img {
  height: 85px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-family: var(--font-headers);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 2px;
  display: inline-block;
  transition: color 0.25s ease;
}

nav a:hover, nav a.active {
  color: var(--color-primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

nav a:hover::after, nav a.active::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
}

.nav-mobile-cta {
  display: none;
}

/* Mobile Menu Backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 19, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 8px;
  border-radius: var(--radius-sm);
  z-index: 10006;
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--color-navy);
  border-radius: 4px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--color-primary);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--color-primary);
}

/* --- HERO SECTION (DARK NAVY - MATCHING REFERENCE) --- */
.hero {
  background-color: var(--color-bg-dark);
  padding: 200px 0 120px 0;
  position: relative;
  overflow: hidden;
  color: var(--color-text-light);
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Floating ambient glows */
.hero::before, .services-hero::before, .portfolio-hero::before, .about-hero::before, .contact-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: bannerFloat1 18s ease-in-out infinite alternate;
}

.hero::after, .services-hero::after, .portfolio-hero::after, .about-hero::after, .contact-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: bannerFloat2 22s ease-in-out infinite alternate;
}

.hero .container, .services-hero .container, .portfolio-hero .container, .about-hero .container, .contact-hero .container {
  position: relative;
  z-index: 3;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 2;
}

@keyframes bannerFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(120px, 80px) scale(1.15); }
}

@keyframes bannerFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-100px, -80px) scale(1.10); }
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



.hero-tagline {
  font-family: var(--font-headers);
  font-size: clamp(12px, 2.5vw, 14px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(32px, 6.5vw, 52px);
  font-weight: 800;
  color: var(--color-text-light);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: clamp(15px, 3.5vw, 18px);
  color: var(--color-text-muted-dark);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-hero-secondary {
  color: var(--color-text-light) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px) !important;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(13px, 3vw, 14px);
  color: var(--color-text-muted-dark);
}

.hero-social-proof svg {
  color: #10b981;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.hero-showcase img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 480px;
  object-fit: contain;
}

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

/* --- SERVICES SECTION --- */
.services-section {
  background-color: var(--color-bg-alt);
}

.section-subtitle {
  font-family: var(--font-headers);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(26px, 5vw, 38px);
  color: var(--color-navy);
  margin-bottom: 20px;
  line-height: 1.25;
}

.section-desc {
  font-size: clamp(14.5px, 3vw, 16px);
  color: var(--color-text-muted);
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.services-grid.six-items {
  grid-template-columns: repeat(3, 1fr);
}

.services-grid.six-items .service-card {
  grid-column: span 1;
}

/* Benefit Icon Styling for Services Page */
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.benefit-icon.search-icon {
  background: rgba(139, 92, 246, 0.08);
  color: var(--color-accent);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
}

.benefit-icon:hover {
  transform: scale(1.08) rotate(5deg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-text-light);
  box-shadow: var(--shadow-glow);
}

/* Pinterest Pins & Branding Grid Styling */
.portfolio-card[data-category="pins"] .portfolio-img-wrapper {
  aspect-ratio: 16 / 10;
  background-color: var(--color-bg-alt);
}

.portfolio-card[data-category="pins"] .portfolio-img-wrapper img {
  object-fit: cover;
  object-position: center;
  background-color: var(--color-bg-alt);
}

.service-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-text-light);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-headers);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.service-link svg {
  transition: var(--transition-smooth);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* --- PORTFOLIO HOMEPAGE SECTION --- */
.portfolio-section {
  background-color: var(--color-bg-light);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.portfolio-header .left-side {
  max-width: 600px;
}

.portfolio-header .left-side .section-desc {
  margin-bottom: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.portfolio-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: var(--transition-smooth);
}

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

.portfolio-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #f1f5f9;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-info {
  padding: 30px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.portfolio-tag {
  background: rgba(37, 99, 235, 0.06);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.portfolio-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.portfolio-desc {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-headers);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
}

.portfolio-link svg {
  transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-link {
  color: var(--color-primary);
}

.portfolio-card:hover .portfolio-link svg {
  transform: translateX(4px);
}

/* --- WHY CHOOSE WEPVA --- */
.why-section {
  background-color: var(--color-bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: left;
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-4px);
  background-color: var(--color-bg-light);
  box-shadow: var(--shadow-md);
  border-color: rgba(139, 92, 246, 0.2);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.why-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* --- PROCESS SECTION --- */
.process-section {
  background-color: var(--color-bg-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  margin-top: 60px;
}

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

/* Connecting Dotted Line */
.process-grid::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-image: linear-gradient(to right, var(--color-border-light) 50%, rgba(255, 255, 255, 0) 0%);
  background-size: 12px 2px;
  z-index: 1;
}

.process-number {
  width: 80px;
  height: 80px;
  background-color: var(--color-bg-alt);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-family: var(--font-headers);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.process-step:hover .process-number {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-text-light);
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: var(--shadow-glow);
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

/* --- CLIENT REVIEWS & TESTIMONIALS SECTION --- */
.reviews-section {
  background-color: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Overall Trust & Rating Bar */
.reviews-stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 28px 36px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}

.review-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.review-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--color-border-light);
}

.review-stat-number {
  font-family: var(--font-headers);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.review-stat-stars {
  color: #f59e0b;
  display: flex;
  gap: 2px;
}

.review-stat-stars svg {
  width: 18px;
  height: 18px;
  fill: #f59e0b;
}

.review-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Category Filter Tabs */
.review-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.review-filter-btn {
  font-family: var(--font-headers);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-light);
  background: var(--color-bg-light);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.review-filter-btn:hover {
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.review-filter-btn.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-text-light);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

/* Individual Review Card */
.review-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
}

.review-card:hover::before {
  opacity: 1;
}

.review-card.hidden {
  display: none !important;
}

/* Card Header (Stars + Category Badge) */
.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.review-stars {
  display: flex;
  gap: 3px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
  filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.25));
}

.review-category-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
}

.review-category-badge.shopify {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.review-category-badge.metaads {
  background: rgba(139, 92, 246, 0.1);
  color: var(--color-accent);
}

.review-category-badge.management {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.review-category-badge.design {
  background: rgba(236, 72, 153, 0.1);
  color: #db2777;
}

/* Card Body */
.review-body {
  margin-bottom: 24px;
  flex-grow: 1;
}

.review-headline {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.review-text {
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Card Author Info */
.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.author-avatar.av-1 { background: linear-gradient(135deg, #2563eb, #8b5cf6); }
.author-avatar.av-2 { background: linear-gradient(135deg, #059669, #10b981); }
.author-avatar.av-3 { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.author-avatar.av-4 { background: linear-gradient(135deg, #d97706, #f59e0b); }
.author-avatar.av-5 { background: linear-gradient(135deg, #db2777, #f43f5e); }
.author-avatar.av-6 { background: linear-gradient(135deg, #0284c7, #2563eb); }

.author-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

.author-title {
  font-size: 12.5px;
  color: var(--color-text-muted);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-top: 4px;
}

.verified-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Reviews Bottom Callout */
.reviews-cta-box {
  margin-top: 50px;
  text-align: center;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.reviews-cta-text {
  text-align: left;
}

.reviews-cta-text h4 {
  font-size: 20px;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.reviews-cta-text p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 0;
}

/* --- FINAL CTA SECTION (LIGHT GRADIENT) --- */
.final-cta {
  background-color: var(--color-bg-dark);
  background-image: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
  border-top: none;
}

.final-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-cta h2 {
  font-size: 46px;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 18px;
  color: var(--color-text-muted-dark);
  margin-bottom: 40px;
  max-width: 600px;
}

/* --- FOOTER (WHITE/LIGHT BACKGROUND) --- */
footer {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--color-border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand img {
  height: 125px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  align-self: flex-start;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 14px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--color-navy);
  font-size: 16px;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: var(--color-text-muted);
  font-size: 14px;
}

.footer-col ul a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-contact-item svg {
  color: var(--color-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--color-border-light);
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

/* ==========================================
   SERVICES PAGE STYLING (LIGHT)
   ========================================== */
.services-hero {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 160px 0 80px 0;
  text-align: center;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.services-hero h1 {
  color: var(--color-text-light);
  font-size: 48px;
  margin-bottom: 16px;
}

.services-hero p {
  color: var(--color-text-muted-dark);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.service-detail-section {
  border-bottom: 1px solid var(--color-border-light);
}

.service-detail-section:last-of-type {
  border-bottom: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail-section:nth-child(even) .service-detail-grid {
  direction: rtl;
}

.service-detail-section:nth-child(even) .service-detail-grid > * {
  direction: ltr; /* Reset text direction for content inside rtl */
}

.service-detail-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.service-detail-content .lead {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-dark);
}

.service-feature-item svg {
  color: var(--color-primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-benefits-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 30px;
}

.service-benefits-box h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--color-navy);
}

.service-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-benefit-item {
  display: flex;
  gap: 12px;
}

.benefit-num {
  font-weight: 700;
  color: var(--color-accent);
}

.benefit-txt h5 {
  font-size: 14px;
  margin-bottom: 4px;
}

.benefit-txt p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Service Detail Visual / Brand Identity Card */
.service-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.visual-card h4 {
  font-size: 20px;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.visual-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  margin-bottom: 14px;
}

.visual-card p {
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.visual-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}

.visual-stat .stat-number {
  font-family: var(--font-headers);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.visual-stat .stat-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
}

.feature-check {
  color: var(--color-primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================
   PORTFOLIO PAGE STYLING (LIGHT)
   ========================================== */
.portfolio-hero {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 160px 0 80px 0;
  text-align: center;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.portfolio-hero h1 {
  color: var(--color-text-light);
  font-size: 48px;
  margin-bottom: 16px;
}

.portfolio-hero p {
  color: var(--color-text-muted-dark);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  font-family: var(--font-headers);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: var(--color-text-light);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Smooth filtering animations */
.portfolio-grid-page .portfolio-card {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-grid-page .portfolio-card.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.95);
}

/* ==========================================
   ABOUT PAGE STYLING (LIGHT)
   ========================================== */
.about-hero {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 160px 0 80px 0;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.about-hero h1 {
  color: var(--color-text-light);
  font-size: 48px;
  margin-bottom: 16px;
}

.about-hero p {
  color: var(--color-text-muted-dark);
  font-size: 18px;
  max-width: 600px;
}

.founder-section {
  background: var(--color-bg-alt);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.founder-img-wrapper {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.founder-avatar {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 80px;
  color: var(--color-primary);
}

.founder-info h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.founder-info .title {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  display: block;
}

.founder-bio h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.founder-bio p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.skills-wrapper {
  margin-top: 30px;
}

.skills-wrapper h4 {
  font-size: 16px;
  margin-bottom: 16px;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.skill-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

.skill-bar-bg {
  height: 6px;
  background-color: var(--color-border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-full);
}

/* ==========================================
   CONTACT PAGE STYLING (LIGHT)
   ========================================== */
.contact-hero {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 160px 0 80px 0;
  text-align: center;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.contact-hero h1 {
  color: var(--color-text-light);
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-hero p {
  color: var(--color-text-muted-dark);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-details-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  height: fit-content;
}

.contact-details-box h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.contact-details-box > p {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info-text p, .contact-info-text a {
  font-size: 14px;
  color: var(--color-text-muted);
}

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

/* Contact Form Styling */
.contact-form-wrapper {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-headers);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
}

.form-input, .form-select, .form-textarea {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom on input focus */
  color: var(--color-navy);
  transition: var(--transition-smooth);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  background-color: var(--color-bg-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.form-submit-btn {
  grid-column: span 2;
  margin-top: 12px;
  width: 100%;
  min-height: 50px;
}

/* SUCCESS BOX */
.form-success-box {
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.form-success-box h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.form-success-box p {
  color: var(--color-text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* ==========================================
   FLOATING QUICK-ACTION CTA FOR MOBILE
   ========================================== */
.floating-mobile-cta {
  position: fixed;
  bottom: 22px;
  right: 18px;
  z-index: 9990;
  display: none;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: var(--font-headers);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: floatButtonPulse 3s ease-in-out infinite alternate;
}

.floating-mobile-cta:active {
  transform: scale(0.94);
}

.floating-mobile-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

@keyframes floatButtonPulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  }
  100% {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45);
  }
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */

/* --- TABLET LANDSCAPE & DESKTOP (<= 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --container-max-width: 960px;
  }
  
  .container {
    padding: 0 20px;
  }

  .services-grid,
  .services-grid.six-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .services-grid.six-items .service-card {
    grid-column: span 1;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .process-grid::after {
    display: none;
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 36px;
  }
  
  .footer-grid > *:last-child {
    grid-column: span 3;
  }
  
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-detail-section:nth-child(even) .service-detail-grid {
    direction: ltr;
  }
  
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .about-hero p {
    margin: 0 auto;
  }
}

/* --- TABLET PORTRAIT & MOBILE (<= 768px) --- */
@media (max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }

  /* Header & Navigation */
  header {
    padding: 10px 0;
    background: #ffffff;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  header.scrolled {
    padding: 6px 0;
    background: #ffffff;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .logo img {
    height: 85px;
  }

  header.scrolled .logo img {
    height: 68px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none; /* Hidden from navbar header, shown inside mobile drawer */
  }

  /* Mobile Navigation Slide-out Drawer */
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff !important;
    background: #ffffff !important;
    padding: 85px 24px 32px 24px;
    box-shadow: -15px 0 45px rgba(15, 23, 42, 0.25);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10005;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    border-left: 1px solid var(--color-border-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: auto;
  }

  nav ul li {
    width: 100%;
  }

  nav a {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s, color 0.2s;
    width: 100%;
    filter: none !important;
    opacity: 1 !important;
    text-shadow: none !important;
    -webkit-font-smoothing: antialiased;
  }

  nav a::after {
    display: none;
  }

  nav a:hover, nav a.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-primary);
  }

  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
  }

  .nav-mobile-cta .btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 14.5px;
  }

  .nav-mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12.5px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 4px;
  }

  /* Show floating mobile CTA */
  .floating-mobile-cta {
    display: inline-flex;
  }

  /* Hero Section */
  .hero, .services-hero, .portfolio-hero, .about-hero, .contact-hero {
    padding: 160px 0 70px 0;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
  }

  .hero-ctas {
    justify-content: center;
    gap: 12px;
  }

  .hero-social-proof {
    justify-content: center;
    text-align: center;
  }

  /* Services Grid */
  .services-grid,
  .services-grid.six-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .service-icon-wrapper {
    margin-bottom: 20px;
  }

  /* Portfolio Filters (Horizontal Scrolling Pills) */
  .portfolio-filters,
  .review-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 14px 4px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
  }

  .portfolio-filters::-webkit-scrollbar,
  .review-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn,
  .review-filter-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 8px 18px;
    font-size: 13.5px;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portfolio-info {
    padding: 24px 20px;
  }

  /* Why Choose Us & Process */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-card {
    padding: 24px 20px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
  }

  /* Reviews / Testimonials */
  .reviews-stats-banner {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 18px;
    gap: 20px;
    margin-bottom: 36px;
  }

  .review-stat-item:nth-child(2)::after {
    display: none;
  }

  .review-stat-number {
    font-size: 26px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review-card {
    padding: 24px 20px;
  }

  .reviews-cta-box {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 24px 20px;
    margin-top: 36px;
  }

  .reviews-cta-text {
    text-align: center;
  }

  /* Contact Page & Form */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-details-box {
    padding: 28px 20px;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-group-full, .form-submit-btn {
    grid-column: span 1;
  }

  /* About Page */
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-hero-stats {
    gap: 14px !important;
  }

  /* Footer */
  footer {
    padding: 60px 0 24px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-grid > * {
    grid-column: span 1 !important;
  }

  .footer-brand img {
    height: 95px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* --- MOBILE COMPACT & SMALL PHONES (<= 480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .portfolio-filters,
  .review-filters {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero, .services-hero, .portfolio-hero, .about-hero, .contact-hero {
    padding: 145px 0 55px 0;
  }

  .logo img {
    height: 76px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 14.5px;
  }

  .service-card {
    padding: 24px 18px;
  }

  .visual-card {
    padding: 24px 18px;
  }

  .service-benefits-box {
    padding: 22px 16px;
  }

  .reviews-stats-banner {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px 14px;
  }

  .review-stat-number {
    font-size: 22px;
  }

  .review-stat-label {
    font-size: 11.5px;
  }

  .review-card {
    padding: 20px 16px;
  }

  .review-headline {
    font-size: 15.5px;
  }

  .review-text {
    font-size: 13.5px;
  }

  .contact-form-wrapper,
  .contact-details-box {
    padding: 24px 16px;
  }

  .final-cta h2 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .final-cta p {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .floating-mobile-cta {
    bottom: 16px;
    right: 14px;
    padding: 10px 16px;
    font-size: 12.5px;
  }
}

/* --- EXTRA SMALL SCREENS (<= 360px) --- */
@media (max-width: 360px) {
  .reviews-stats-banner {
    grid-template-columns: 1fr;
  }

  .review-stat-item::after {
    display: none !important;
  }

  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .nav-mobile-cta .btn {
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* ==========================================================================
   PREMIUM MODERN UPGRADE EFFECTS (WEPVA AGENCY)
   ========================================================================== */

/* --- PAGE-LOAD ENTRANCE SEQUENCE --- */
@keyframes fadeUpReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline, .hero-title, .hero-desc, .hero-ctas, .hero-social-proof,
.services-hero h1, .services-hero p,
.portfolio-hero h1, .portfolio-hero p,
.about-hero-text h1, .about-hero-text p,
.about-hero-stats > div,
.contact-hero h1, .contact-hero p {
  opacity: 0;
  animation: fadeUpReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tagline { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.22s; }
.hero-desc { animation-delay: 0.34s; }
.hero-ctas { animation-delay: 0.46s; }
.hero-social-proof { animation-delay: 0.58s; }

.services-hero h1, .portfolio-hero h1, .about-hero-text h1, .contact-hero h1 { animation-delay: 0.15s; }
.services-hero p, .portfolio-hero p, .about-hero-text p, .contact-hero p { animation-delay: 0.3s; }

.about-hero-stats > div:nth-child(1) { animation-delay: 0.2s; }
.about-hero-stats > div:nth-child(2) { animation-delay: 0.35s; }
.about-hero-stats > div:nth-child(3) { animation-delay: 0.5s; }
.about-hero-stats > div:nth-child(4) { animation-delay: 0.65s; }

/* Slow rotating floating glow animation overrides */
@keyframes bannerFloat1 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(80px, 50px) scale(1.12) rotate(120deg); }
  100% { transform: translate(140px, 90px) scale(1.2) rotate(240deg); }
}

@keyframes bannerFloat2 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-70px, -60px) scale(1.08) rotate(-120deg); }
  100% { transform: translate(-130px, -100px) scale(1.15) rotate(-240deg); }
}

.hero::before, .services-hero::before, .portfolio-hero::before, .about-hero::before, .contact-hero::before {
  animation: bannerFloat1 22s ease-in-out infinite alternate !important;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 70%) !important;
  filter: blur(80px);
}

.hero::after, .services-hero::after, .portfolio-hero::after, .about-hero::after, .contact-hero::after {
  animation: bannerFloat2 28s ease-in-out infinite alternate !important;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.22) 0%, rgba(139, 92, 246, 0.15) 50%, transparent 70%) !important;
  filter: blur(90px);
}

.hero-grid-pattern {
  animation: gridPulse 12s ease-in-out infinite alternate;
}

@keyframes gridPulse {
  0% { opacity: 0.35; transform: scale(1.0); }
  100% { opacity: 0.65; transform: scale(1.04); }
}

/* Page Transitions */
body {
  opacity: 0;
  animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- PREMIUM BUTTON GLOSS EFFECTS --- */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  z-index: 2;
  pointer-events: none;
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-secondary:hover, .btn-outline-dark:hover {
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

/* --- SERVICE CARD ENHANCED HOVER --- */
.service-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.01) !important;
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.08), 0 0 20px rgba(37, 99, 235, 0.03) !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
}

.service-card .service-icon-wrapper {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s, color 0.4s;
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.12) rotate(8deg) !important;
}

.service-link svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-link svg {
  transform: translateX(6px) !important;
}

/* --- PORTFOLIO CARD HOVER --- */
.portfolio-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.portfolio-card:hover {
  transform: translateY(-8px) scale(1.005) !important;
  box-shadow: 0 24px 48px -15px rgba(15, 23, 42, 0.12) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
}

.portfolio-img-wrapper img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.08) rotate(0.5deg) !important;
}

.portfolio-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 19, 0.6) 0%, rgba(7, 9, 19, 0) 60%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.portfolio-card:hover .portfolio-img-wrapper::after {
  opacity: 1;
}

.portfolio-info {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-info {
  transform: translateY(-2px);
}

/* --- CUSTOM INTERACTIVE CURSOR --- */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  margin-top: -4px; /* Center it */
  margin-left: -4px;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

body.cursor-active .custom-cursor-dot {
  opacity: 1;
}

/* Cursor hover expand states */
.custom-cursor-dot.hovered {
  transform: scale(2.2);
  background-color: var(--color-accent);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.7);
}

/* Hide on standard mobile menu drawer state to clean things up */
body.nav-open .custom-cursor-dot {
  opacity: 0 !important;
}

/* Mobile responsive resets */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-outline {
    display: none !important;
  }
}

/* --- MICRO-INTERACTIONS --- */
.social-link {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s, color 0.3s !important;
}
.social-link:hover {
  transform: translateY(-4px) scale(1.08) !important;
}

.form-input, .form-select, .form-textarea {
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

/* Stagger for grid reveals */
.reveal {
  opacity: 0;
  transform: translateY(35px) scale(0.985);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* --- CLIENT REVIEW SUBMISSION MODAL --- */
.review-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 19, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.review-modal-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-modal-overlay.active .review-modal-card {
  transform: translateY(0) scale(1);
}

.review-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px;
}

.review-modal-close:hover {
  color: var(--color-navy);
}

.review-modal-header {
  margin-bottom: 24px;
}

.review-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.review-modal-header h3 {
  font-size: 24px;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.review-modal-header p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Star Rating Selector */
.rating-picker-group {
  margin-bottom: 18px;
}

.star-rating-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #cbd5e1;
  cursor: pointer;
  transition: transform 0.15s, color 0.15s;
  padding: 0 2px;
}

.star-btn.active, .star-btn.hover {
  color: #f59e0b;
}

.star-btn:hover {
  transform: scale(1.2);
}

.rating-label {
  margin-left: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-navy);
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .review-modal-card {
    padding: 28px 20px;
  }
  .review-form-grid {
    grid-template-columns: 1fr;
  }
}

/* --- ACCESSIBILITY (ACCORDING TO USER REQUIREMENTS) --- */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: scroll !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .custom-cursor-dot,
  .custom-cursor-outline {
    display: none !important;
  }
  
  .hero::before, .hero::after,
  .services-hero::before, .services-hero::after,
  .portfolio-hero::before, .portfolio-hero::after,
  .about-hero::before, .about-hero::after,
  .contact-hero::before, .contact-hero::after {
    animation: none !important;
  }
}
