/* ==========================================================================
   Zainul Abd - Luxury Personal Portfolio Styling
   Dark UI (#090909) | Electric Blue (#3B82F6) | Glassmorphism | 60FPS Motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --bg-primary: #090909;
  --bg-secondary: #0d0f17;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(59, 130, 246, 0.4);
  
  --color-accent: #3B82F6;
  --color-accent-hover: #2563EB;
  --color-accent-light: #60A5FA;
  --color-cyan: #00F0FF;
  --glow-accent: rgba(59, 130, 246, 0.35);
  
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --max-width: 1280px;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  scroll-behavior: auto; /* Handled smoothly by Lenis */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: default;
}

/* Lenis Smooth Scroll CSS setup */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

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

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--color-accent-light);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px auto;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-weight: 400;
}

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

/* --------------------------------------------------------------------------
   3. Custom Magnetic Cursor
   -------------------------------------------------------------------------- */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--transition-smooth), height 0.3s var(--transition-smooth), border-color 0.3s, background-color 0.3s;
  z-index: 99999;
  backdrop-filter: blur(2px);
}

#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 100000;
  box-shadow: 0 0 12px var(--color-accent);
}

#custom-cursor.hovered {
  width: 65px;
  height: 65px;
  background-color: rgba(59, 130, 246, 0.15);
  border-color: var(--color-accent);
}

#custom-cursor.hovered-text {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.9);
  border-color: transparent;
  mix-blend-mode: difference;
}

@media (max-width: 1024px) {
  #custom-cursor, #cursor-dot {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   4. Ambient Floating Mesh Canvas & Background Blobs
   -------------------------------------------------------------------------- */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.ambient-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
  animation: floatBlob 18s ease-in-out infinite alternate;
}

.blob-1 {
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(9, 9, 9, 0) 70%);
}

.blob-2 {
  bottom: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, rgba(9, 9, 9, 0) 70%);
  animation-delay: -9s;
}

.blob-3 {
  top: 40%;
  left: 30%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(9, 9, 9, 0) 70%);
  animation-delay: -4s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(60px, 40px) scale(1.1);
  }
  100% {
    transform: translate(-40px, 70px) scale(0.95);
  }
}

/* Ambient Grid Overlay */
.bg-grid-pattern {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

/* --------------------------------------------------------------------------
   5. Preloader
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  background-color: #060608;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  overflow: hidden;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

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

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.preloader-logo span {
  color: var(--color-accent);
}

.preloader-status {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.preloader-center {
  max-width: 800px;
}

.preloader-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  color: #E2E8F0;
  margin-bottom: 24px;
}

.preloader-bar-wrapper {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-cyan));
  box-shadow: 0 0 16px var(--color-accent);
  transition: width 0.1s linear;
}

.preloader-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.preloader-number {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--text-primary);
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.preloader-location {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Preloader Hide Animation */
#preloader.loaded {
  transform: translateY(-100%);
}

/* --------------------------------------------------------------------------
   6. Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding: 24px 0;
  transition: padding 0.4s var(--transition-smooth), background-color 0.4s var(--transition-smooth), border-color 0.4s;
}

.navbar.scrolled {
  padding: 14px 0;
  background: rgba(9, 9, 9, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-logo .dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.3s var(--transition-smooth);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-nav {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  transition: all 0.3s var(--transition-smooth);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  z-index: 10001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 9, 0.96);
  backdrop-filter: blur(24px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s;
}

.mobile-nav-link:hover {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
}

.hero-badge-status {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-headline {
  font-size: clamp(2.8rem, 5.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subheading {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Magnetic Buttons */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), background 0.3s;
}

.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.6s ease;
}

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

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--color-accent-hover);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-3d-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* Floating HUD Cards on 3D Visual */
.hud-card {
  position: absolute;
  background: rgba(13, 15, 23, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: floatCard 6s ease-in-out infinite alternate;
  z-index: 3;
}

.hud-card-1 {
  top: 10%;
  left: -5%;
}

.hud-card-2 {
  bottom: 12%;
  right: -2%;
  animation-delay: -3s;
}

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

.hud-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.hud-info h5 {
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.hud-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   8. About Me Section
   -------------------------------------------------------------------------- */
.about {
  padding: 140px 0;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-bio {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.about-bio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-cyan));
}

.about-bio h3 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.about-bio p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-bio p:last-child {
  margin-bottom: 0;
}

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

.exp-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.exp-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.exp-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 18px;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s;
}

.exp-card:hover .exp-card-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--color-accent);
  color: #FFFFFF;
}

.exp-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.exp-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   9. Services Section
   -------------------------------------------------------------------------- */
.services {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 40%, rgba(59,130,246,0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(59, 130, 246, 0.25);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: transform 0.4s var(--transition-smooth), background 0.3s, box-shadow 0.3s, color 0.3s;
}

.service-card:hover .service-icon-box {
  background: var(--color-accent);
  color: #FFFFFF;
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.6);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
  line-height: 1.25;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-accent-light);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s var(--transition-smooth);
  width: fit-content;
}

.service-learn-more:hover {
  background: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
  gap: 14px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --------------------------------------------------------------------------
   9b. Certifications Section
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   9b. Certifications Section (4-Column Layout)
   -------------------------------------------------------------------------- */
.certifications {
  padding: 130px 0;
  position: relative;
  z-index: 1;
}

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

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.cert-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.25);
}

.cert-img-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0f17 0%, #151a2e 100%);
}

/* Custom Vector Demo Certificate Canvas Visual */
.cert-demo-canvas {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: 
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.1) 0%, transparent 40%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.6s var(--transition-smooth);
}

.cert-card:hover .cert-demo-canvas {
  transform: scale(1.06);
}

.cert-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(239, 68, 68, 0.35);
  border: 2px dashed rgba(239, 68, 68, 0.4);
  padding: 6px 14px;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}

.cert-seal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.cert-holder {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.cert-course {
  font-size: 0.78125rem;
  color: var(--color-accent-light);
  font-weight: 500;
}

.cert-badge-org {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(9, 9, 9, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-light);
  z-index: 3;
}

.cert-info {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.cert-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78125rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cert-id {
  font-family: monospace;
  color: var(--color-accent-light);
  font-size: 0.72rem;
  background: rgba(59, 130, 246, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.cert-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.cert-issuer-name {
  font-size: 0.84375rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.cert-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-accent-light);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.3s var(--transition-smooth);
  width: fit-content;
}

.cert-btn:hover {
  background: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
  gap: 12px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

@media (max-width: 1200px) {
  .certifications-grid-4col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .certifications-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .certifications-grid-4col {
    grid-template-columns: 1fr;
  }
}
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: all 0.3s var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--color-accent);
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. Works / Portfolio Section
   -------------------------------------------------------------------------- */
.works {
  padding: 140px 0;
  position: relative;
  z-index: 1;
}

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

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  color: #FFFFFF;
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: all 0.4s var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.2);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 9, 9, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(9, 9, 9, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-light);
}

.project-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.project-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent-light);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap 0.3s ease, color 0.3s;
}

.project-card:hover .project-btn {
  gap: 14px;
  color: var(--color-accent);
}

/* Modal Drawer for Live Preview */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 9, 0.88);
  backdrop-filter: blur(20px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.modal-container {
  background: #0F121D;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.4s var(--transition-smooth);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background 0.3s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   11. Why Choose Me (Stats Section)
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: transform 0.3s var(--transition-smooth), border-color 0.3s;
  position: relative;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   12. FAQ Section
   -------------------------------------------------------------------------- */
.faq {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(59, 130, 246, 0.4);
}

.faq-question {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s;
}

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

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--transition-smooth), background 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--color-accent);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-smooth), padding 0.4s ease;
  padding: 0 32px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 32px 24px 32px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   13. Contact Section
   -------------------------------------------------------------------------- */
.contact {
  padding: 140px 0;
  position: relative;
  z-index: 1;
}

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

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

.contact-info h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  line-height: 1.15;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s;
}

.contact-card:hover {
  transform: translateX(8px);
  border-color: rgba(59, 130, 246, 0.4);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.25rem;
}

.contact-card-detail h5 {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-card-detail a, .contact-card-detail p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.social-links-wrapper h5 {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.social-icons-list {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}

.social-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
  transition: all 0.3s var(--transition-smooth);
}

.social-icon-btn:hover {
  background: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Contact Form */
.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(20px);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.25);
}

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

.form-submit-btn {
  width: 100%;
  padding: 18px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
  transition: all 0.3s var(--transition-smooth);
}

.form-submit-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

/* Form Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #0F172A;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s var(--transition-smooth), opacity 0.4s;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #050507;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 40px 0;
  position: relative;
  z-index: 1;
}

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

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.9375rem;
}

.footer-column h5 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   15. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links, .btn-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .experience-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   TESTIMONIALS SECTION — Infinite Scroll Slider
   -------------------------------------------------------------------------- */
.testimonials {
  padding: 130px 0 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* Track wrapper — clips overflowing cards */
.testi-track-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 40px 0 50px;
  cursor: grab;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.testi-track-wrapper:active {
  cursor: grabbing;
}

/* The scrolling strip itself */
.testi-track {
  display: flex;
  gap: 28px;
  width: max-content;
  will-change: transform;
  animation: testiScroll 40s linear infinite;
  transition: animation-play-state 0.3s ease;
}

.testi-track.paused,
.testi-track-wrapper:hover .testi-track {
  animation-play-state: paused;
}

@keyframes testiScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Individual Card */
.testi-card {
  flex: 0 0 420px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px 32px 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  user-select: none;
}

.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 26px;
  font-size: 6rem;
  line-height: 1;
  color: rgba(59, 130, 246, 0.12);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testi-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.15);
}

/* Star Rating */
.testi-rating {
  display: flex;
  gap: 4px;
}

.star-icon {
  width: 17px;
  height: 17px;
  color: #F59E0B;
  fill: #F59E0B;
  stroke: none;
}

/* Quote Text */
.testi-quote {
  font-size: 0.96875rem;
  line-height: 1.78;
  color: var(--text-secondary);
  font-style: italic;
  flex-grow: 1;
  quotes: none;
  margin: 0;
}

/* Footer Row */
.testi-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 20px;
  position: relative;
}

/* Avatar Circle */
.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

/* Name & Role */
.testi-bio {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.testi-bio strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.testi-bio span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.testi-company {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-accent-light) !important;
  font-size: 0.8125rem !important;
}

.testi-flag {
  font-size: 1rem;
}

/* Industry Pill */
.testi-industry-tag {
  position: absolute;
  top: -14px;
  right: 0;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--color-accent-light);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Bottom CTA */
.testi-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  text-align: center;
}

.testi-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  max-width: 600px;
}

@media (max-width: 768px) {
  .testi-card {
    flex: 0 0 320px;
    padding: 28px 22px 22px;
  }
  .testi-track {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .testi-card {
    flex: 0 0 290px;
  }
}

/* ==========================================================================
   New Custom Styles: Portrait, Platforms, Process, Blog & Floating WhatsApp
   ========================================================================== */

/* Testimonial Avatar Image */
.testi-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* About Portrait Card */
.about-portrait-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(13, 15, 23, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.15);
  backdrop-filter: blur(16px);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.about-portrait-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.4);
}

.about-portrait-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: contrast(1.03) brightness(0.98);
}

.about-portrait-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(9, 9, 9, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.about-portrait-badge i {
  color: var(--color-accent);
}

/* Platforms & Tools Marquee Section */
.platforms-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.platforms-track-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.platforms-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
  animation: marqueeScroll 35s linear infinite;
}

.platforms-track-wrapper:hover .platforms-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.platform-card {
  flex: 0 0 200px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.platform-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.platform-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.platform-sub {
  font-size: 0.78125rem;
  color: var(--text-muted);
}

/* Process Section Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.process-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px 28px;
  position: relative;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.process-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.15);
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(59, 130, 246, 0.3);
  margin-bottom: 20px;
  line-height: 1;
}

.process-card:hover .process-step-num {
  color: var(--color-accent);
}

.process-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.process-step-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.blog-card-header {
  position: relative;
  height: 210px;
  overflow: hidden;
}

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

.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}

.blog-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(9, 9, 9, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.blog-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 14px;
}

.blog-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9375rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease, gap 0.2s ease;
}

.blog-card-btn:hover {
  color: var(--color-accent-hover);
  gap: 12px;
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.whatsapp-float-btn svg,
.whatsapp-float-btn i {
  width: 30px;
  height: 30px;
}

