/*
Theme Name: WP Kindle
Theme URI: https://wpkindle.com
Author: Abdul Khaliq
Version: 2.9.1
Author URI: https://wpkindle.com
Description: The Name of Trust & Professionalism
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-kindle
Tags: custom-theme, agency, portfolio, services, dark-mode, responsive, speed-optimized, elementor, generatepress, blog, single-post
*/

/* ==========================================================================
   Design Tokens & CSS Variables
   ========================================================================== */
:root {
  /* Core Brand Colors (User Specification) */
  --primary-navy: #0F172A;
  --primary-blue: #2563EB;
  --secondary-violet: #7C3AED;
  --accent-sky: #38BDF8;
  --color-white: #FFFFFF;
  --color-soft-bg: #F8FAFC;
  --color-slate-900: #0F172A;
  --color-slate-600: #475569;
  --color-slate-200: #E2E8F0;
  --color-emerald: #10B981;
  --color-red: #EF4444;

  /* Light Theme Baseline Variables */
  --bg-dark: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-input: #FFFFFF;
  --border-color: #E2E8F0;
  --border-color-hover: #2563EB;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;

  /* Gradient System (User Specifications) */
  --grad-cta: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --grad-hero: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  --grad-modern-blue: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%);
  --grad-purple: linear-gradient(135deg, #7C3AED 0%, #C026D3 100%);
  --grad-subtle-light: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  --grad-hero-text: linear-gradient(135deg, #0F172A 30%, #2563EB 70%, #7C3AED 100%);
  --grad-cyan: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);

  /* Glow Effects */
  --glow-cyan: 0 10px 25px rgba(37, 99, 235, 0.25);
  --glow-purple: 0 10px 25px rgba(124, 58, 237, 0.25);
  --glow-card: 0 8px 24px rgba(15, 23, 42, 0.05);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-code: 'Fira Code', monospace;

  /* Layout & Spacing */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Global Resets & Smooth Scroll
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
}

body {
  background-color: var(--bg-dark);
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  width: 100%;
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00f2fe, #7928ca);
  border-radius: var(--radius-full);
}

a {
  color: #00f2fe;
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: #4facfe;
}

img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

pre,
code {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   Ambient Background Effects & Orbs
   ========================================================================== */
.ambient-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-orb-1 {
  width: 500px;
  height: 500px;
  background: #00f2fe;
  top: -100px;
  left: -100px;
}

.ambient-orb-2 {
  width: 600px;
  height: 600px;
  background: #7928ca;
  top: 40%;
  right: -150px;
  animation-delay: -5s;
}

.ambient-orb-3 {
  width: 450px;
  height: 450px;
  background: #10b981;
  bottom: -100px;
  left: 30%;
  animation-delay: -10s;
}

.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, 60px) scale(1.1);
  }

  100% {
    transform: translate(-30px, 30px) scale(0.95);
  }
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(0, 242, 254, 0.1);
  color: #00f2fe;
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin: 1rem 0 1rem 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title .gradient-text {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title .gradient-text-purple {
  background: var(--grad-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Glass Card Baseline */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-6px);
  box-shadow: var(--glow-card);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--grad-cta);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 242, 254, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-purple {
  background: var(--grad-purple);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(121, 40, 202, 0.4);
}

.btn-purple:hover {
  color: #ffffff;
  box-shadow: 0 6px 30px rgba(121, 40, 202, 0.65);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background: rgba(0, 242, 254, 0.08);
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  text-align: center;
  color: var(--text-main);
  font-weight: 500;
}

.top-bar span {
  color: #00f2fe;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-fast);
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--grad-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #040914;
  font-size: 1.4rem;
  box-shadow: var(--glow-cyan);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-cyan);
  border-radius: 2px;
  transition: var(--transition-fast);
}

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

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 280px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.dropdown-item:hover {
  background: rgba(0, 242, 254, 0.1);
  color: #00f2fe;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.mobile-toggle:hover,
.mobile-toggle:focus {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3B82F6;
  color: #22D3EE;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3);
}

.mobile-toggle:active {
  transform: scale(0.95);
}

html:not([data-theme="dark"]) .mobile-toggle,
[data-theme="light"] .mobile-toggle {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

html:not([data-theme="dark"]) .mobile-toggle:hover,
[data-theme="light"] .mobile-toggle:hover {
  background: #E2E8F0 !important;
  border-color: #2563EB !important;
  color: #2563EB !important;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(7, 9, 14, 0.96);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
  z-index: 99;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 6rem 0 4rem 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

.hero-badge {
  margin-bottom: 1.25rem;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 100%;
  word-break: break-word;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 100%;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  width: 100%;
}

@media (min-width: 992px) {
  .hero-actions {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    white-space: nowrap;
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    flex: 0 0 auto;
  }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Visual Showcase Card */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.hero-visual-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.card-header-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red {
  background: #ff5f56;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #27c93f;
}

.visual-preview-box {
  background: rgba(7, 9, 14, 0.9);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 100%;
  overflow: hidden;
}

.visual-preview-box img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-sm);
  display: block;
}

.portfolio-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition-normal);
  display: block;
}

.code-preview {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: #a7f3d0;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.code-keyword {
  color: #f472b6;
}

.code-func {
  color: #60a5fa;
}

.code-string {
  color: #fde047;
}

.code-comment {
  color: #6b7280;
  font-style: italic;
}

/* Hero Highlights & Badges */
.hero-highlights-wrapper {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.floating-badge {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color-hover);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
  transition: var(--transition-normal);
}

.floating-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  justify-content: center;
  font-size: 1.1rem;
}

@keyframes floatSlow {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-12px);
  }
}

/* ==========================================================================
   Main Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  color: #00f2fe;
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--grad-cyan);
  color: #040914;
  box-shadow: var(--glow-cyan);
  transform: scale(1.08) rotate(4deg);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.tag-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #00f2fe;
  margin-top: auto;
  cursor: pointer;
}

.service-link i {
  transition: var(--transition-fast);
}

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

/* Service Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

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

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color-hover);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  transform: scale(0.92);
  transition: var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ==========================================================================
   Why Choose WP Kindle (Trust & Features)
   ========================================================================== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.feature-card:hover {
  background: rgba(24, 35, 61, 0.7);
  border-color: rgba(121, 40, 202, 0.4);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #7928ca;
}

/* ==========================================================================
   Portfolio Showcase
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.portfolio-img-box {
  height: 240px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.portfolio-card:hover .portfolio-img-box {
  color: #00f2fe;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

/* ==========================================================================
   Testimonials & Ratings
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.star-rating {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
}

/* ==========================================================================
   Awesome Single Post Page Template (single.php)
   ========================================================================== */
.article-header {
  padding: 4rem 0 3rem 0;
  text-align: center;
  position: relative;
}

.article-category {
  margin-bottom: 1rem;
}

.article-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-main);
  font-weight: 600;
}

.author-avatar-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-cyan);
  color: #040914;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 4rem;
}

/* Sticky Sidebar & Table of Contents */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.toc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #00f2fe;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.toc-link {
  color: var(--text-muted);
  display: block;
  padding: 0.25rem 0;
  transition: var(--transition-fast);
}

.toc-link:hover,
.toc-link.active {
  color: #ffffff;
  padding-left: 0.4rem;
}

/* Article Body Typography & Components */
.article-body {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-body p {
  margin-bottom: 1.75rem;
}

.article-body h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 3rem 0 1.25rem 0;
  scroll-margin-top: 100px;
  position: relative;
  display: inline-block;
}

.article-body h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--grad-cyan);
  border-radius: 2px;
  margin-top: 0.35rem;
}

.article-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 2.25rem 0 1rem 0;
  scroll-margin-top: 100px;
}

.article-lead {
  font-size: 1.25rem;
  color: #f1f5f9;
  font-weight: 500;
  line-height: 1.8;
  padding: 1.5rem;
  border-left: 4px solid #00f2fe;
  background: rgba(0, 242, 254, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
}

.callout-box {
  background: rgba(121, 40, 202, 0.1);
  border: 1px solid rgba(121, 40, 202, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
}

.callout-icon {
  font-size: 1.75rem;
  color: #ff0080;
}

/* Code Snippet Box */
.code-snippet-box {
  background: #04070d;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin: 2rem 0;
  overflow: hidden;
}

.snippet-header {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.snippet-code {
  padding: 1.25rem;
  font-family: var(--font-code);
  font-size: 0.9rem;
  color: #e2e8f0;
  overflow-x: auto;
  line-height: 1.6;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
}

.copy-btn:hover {
  color: #00f2fe;
}

/* Author Bio Card */
.author-bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 3.5rem 0;
}

.author-bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad-cyan);
  color: #040914;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: var(--glow-cyan);
}

/* Comments Section */
.comments-section {
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Forms & Inputs
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #00f2fe;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.site-footer {
  background: #04060a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2rem 0;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grad-cyan);
  margin-top: 0.4rem;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.925rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #00f2fe;
  padding-left: 0.3rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--grad-cyan);
  color: #040914;
  transform: translateY(-3px);
}

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

.designer-credit {
  color: #ffffff;
  font-weight: 700;
}

.designer-credit span {
  color: #ff0080;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-cyan);
  color: #040914;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--glow-cyan);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 90;
}

.quote-card {
  padding: 3rem;
  position: relative;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.btn-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .hero-visual {
    margin-top: 1rem;
    width: 100%;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .article-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

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

  .mobile-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-section {
    padding: 3rem 0 2rem 0;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
    padding-top: 1.25rem;
    width: 100%;
  }

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

  .stat-label {
    font-size: 0.72rem;
  }

  .hero-visual-card {
    padding: 1.25rem 1rem;
  }

  .visual-preview-box {
    padding: 0.85rem;
  }

  .code-preview {
    font-size: 0.78rem;
  }

  .services-grid,
  .portfolio-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .single-article-content {
    padding: 0;
  }

  .article-header {
    margin-bottom: 2rem;
    padding: 2.5rem 0 1.5rem 0;
  }

  .article-title {
    font-size: 1.85rem;
    line-height: 1.3;
  }

  .article-meta {
    gap: 0.75rem 1rem;
    font-size: 0.825rem;
  }

  .article-body {
    font-size: 1.025rem;
    line-height: 1.75;
  }

  .article-body h2 {
    font-size: 1.45rem;
    margin: 2rem 0 1rem 0;
  }

  .article-body h3 {
    font-size: 1.2rem;
  }

  .article-lead {
    font-size: 1.025rem;
    padding: 1rem 1.15rem;
    line-height: 1.65;
  }

  .callout-box {
    padding: 1.15rem;
    gap: 0.75rem;
    flex-direction: column;
  }

  .author-bio-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .author-bio-card div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .snippet-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .snippet-code {
    padding: 1rem;
    font-size: 0.825rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comment-card {
    padding: 1rem;
  }

  .comment-card[style*="margin-left"] {
    margin-left: 0.5rem !important;
  }

  .comment-card p {
    margin-left: 0 !important;
    margin-top: 0.5rem;
  }

  .quote-card {
    padding: 1.5rem 1.15rem !important;
  }

  .form-grid-2col,
  .btn-grid-2col,
  .post-navigation-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .btn-grid-2col .btn {
    width: 100% !important;
    padding: 0.9rem !important;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px !important;
  }

  .modal-container,
  .auto-promo-card {
    padding: 1.75rem 1.15rem;
    max-width: 95%;
  }
}

@media (max-width: 576px) {
  .top-bar {
    font-size: 0.78rem;
    padding: 0.4rem 0.5rem;
    line-height: 1.4;
  }

  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .header-container {
    height: 70px;
  }

  .mobile-nav-drawer {
    top: 70px;
    max-height: calc(100vh - 70px);
  }

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

  .section-desc {
    font-size: 0.975rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

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

  .stat-label {
    font-size: 0.68rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .trust-platforms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .trust-badge-card {
    padding: 1.25rem 0.75rem;
  }

  .trust-badge-score {
    font-size: 1.2rem;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .glass-card {
    padding: 1.25rem;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.55rem;
  }

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

  .trust-platforms-grid {
    grid-template-columns: 1fr;
  }

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

/* ==========================================================================
   Floating WhatsApp & Auto Promo Popup Components
   ========================================================================== */
.whatsapp-float-wrapper {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: var(--transition-normal);
  position: relative;
  animation: pulseWhatsApp 2.5s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.12) rotate(6deg);
  color: #ffffff !important;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
}

@keyframes pulseWhatsApp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.blinking-dot {
  color: #25d366 !important;
  font-size: 0.65rem;
  vertical-align: middle;
  display: inline-block;
  margin-right: 0.35rem;
  animation: pulseBlink 1.4s ease-in-out infinite;
}

@keyframes pulseBlink {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.25;
    transform: scale(0.85);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.whatsapp-promo-pill {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: var(--transition-fast);
  animation: floatPill 4s ease-in-out infinite alternate;
}

.whatsapp-promo-pill:hover {
  border-color: #25d366;
  color: #ffffff;
}

.whatsapp-promo-pill span {
  color: #25d366;
  font-weight: 700;
}

@keyframes floatPill {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-6px);
  }
}

.auto-promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

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

.auto-promo-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 242, 254, 0.2);
  transform: scale(0.9);
  transition: var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.auto-promo-overlay.active .auto-promo-card {
  transform: scale(1);
}

.auto-promo-badge {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  color: #ffffff !important;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.65);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .whatsapp-promo-pill {
    display: none;
  }

  .whatsapp-float-wrapper {
    left: 1.25rem;
    bottom: 1.5rem;
  }

  .popup-headline {
    font-size: 1.25rem !important;
  }

  .auto-promo-card {
    padding: 1rem;
  }
}

/* ==========================================================================
   Infinite Moving Brand Logos Ticker (Right to Left)
   ========================================================================== */
.brand-ticker-section {
  padding: 2rem 0;
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.ticker-wrapper {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: marqueeRightToLeft 32s linear infinite;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.ticker-item i,
.ticker-item img,
.ticker-brand-logo {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  vertical-align: middle;
  flex-shrink: 0;
  border-radius: 4px;
  display: inline-block;
}

.ticker-item i {
  font-size: 1.25rem;
  color: #00f2fe;
}

.ticker-item:hover {
  color: #ffffff;
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.1);
}

@keyframes marqueeRightToLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Trust Platforms & Rating Badges (Trustpilot, TrustIndex, Google, Clutch)
   ========================================================================== */
.trust-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.trust-badge-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.trust-badge-card:hover {
  border-color: rgba(0, 242, 254, 0.5);
  transform: translateY(-5px);
  box-shadow: var(--glow-cyan);
}

.trust-badge-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.trust-logo-img {
  max-height: 42px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.trust-badge-score {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.trust-badge-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Theme Mode Toggle & Dual Theme System (User-Specified Color Palette)
   ========================================================================== */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E2E8F0;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: #0F172A;
  color: #38BDF8;
  border-color: #0F172A;
  transform: scale(1.08);
}

/* ==========================================================================
   Light Theme (Default Mode - User Specifications)
   ========================================================================== */
html:not([data-theme="dark"]),
[data-theme="light"] {
  --bg-dark: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-input: #FFFFFF;
  --border-color: #E2E8F0;
  --border-color-hover: #2563EB;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;
  --grad-cyan: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%);
  --grad-cta: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --grad-hero: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  --grad-hero-text: linear-gradient(135deg, #0F172A 30%, #2563EB 70%, #7C3AED 100%);
  --glow-cyan: 0 10px 25px rgba(37, 99, 235, 0.2);
}

html:not([data-theme="dark"]) body,
[data-theme="light"] body {
  background-color: #FFFFFF;
  color: #0F172A;
}

/* Light Mode Header (#FFFFFF) */
html:not([data-theme="dark"]) .site-header,
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

html:not([data-theme="dark"]) .mobile-nav-drawer,
[data-theme="light"] .mobile-nav-drawer {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

html:not([data-theme="dark"]) .brand-name,
[data-theme="light"] .brand-name {
  background: linear-gradient(135deg, #0F172A 40%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html:not([data-theme="dark"]) .brand-icon,
[data-theme="light"] .brand-icon {
  background: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%);
  color: #FFFFFF;
}

html:not([data-theme="dark"]) .brand-tagline,
[data-theme="light"] .brand-tagline {
  color: #64748B;
}

html:not([data-theme="dark"]) .nav-link,
[data-theme="light"] .nav-link {
  color: #475569;
}

html:not([data-theme="dark"]) .nav-link:hover,
html:not([data-theme="dark"]) .nav-link.active,
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #2563EB !important;
}

html:not([data-theme="dark"]) .nav-link::after,
[data-theme="light"] .nav-link::after {
  background: #2563EB;
}

html:not([data-theme="dark"]) .dropdown-menu,
[data-theme="light"] .dropdown-menu {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

html:not([data-theme="dark"]) .dropdown-item,
[data-theme="light"] .dropdown-item {
  color: #475569;
}

html:not([data-theme="dark"]) .dropdown-item:hover,
[data-theme="light"] .dropdown-item:hover {
  background: #F1F5F9;
  color: #2563EB;
}

/* Light Mode Hero Section (White -> Very Light Blue/Purple Gradient) */
html:not([data-theme="dark"]) .hero-section,
[data-theme="light"] .hero-section {
  background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
}

/* Light Mode Services & Alternating Sections (#F8FAFC) */
html:not([data-theme="dark"]) #services,
html:not([data-theme="dark"]) #why-us,
html:not([data-theme="dark"]) #reviews,
html:not([data-theme="dark"]) #trust-ratings,
html:not([data-theme="dark"]) #portfolio,
html:not([data-theme="dark"]) #blog,
html:not([data-theme="dark"]) #contact,
[data-theme="light"] #services,
[data-theme="light"] #why-us,
[data-theme="light"] #reviews,
[data-theme="light"] #trust-ratings,
[data-theme="light"] #portfolio,
[data-theme="light"] #blog,
[data-theme="light"] #contact {
  background-color: #F8FAFC;
}

/* Light Mode Brand Ticker Section */
html:not([data-theme="dark"]) .brand-ticker-section,
[data-theme="light"] .brand-ticker-section {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

/* Light Mode Buttons */
html:not([data-theme="dark"]) .btn-primary,
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

html:not([data-theme="dark"]) .btn-primary:hover,
[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
  transform: translateY(-2px);
  color: #FFFFFF !important;
}

html:not([data-theme="dark"]) .btn-secondary,
[data-theme="light"] .btn-secondary {
  background: #F1F5F9;
  color: #0F172A !important;
  border: 1px solid #CBD5E1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

html:not([data-theme="dark"]) .btn-secondary:hover,
[data-theme="light"] .btn-secondary:hover {
  background: #2563EB;
  color: #FFFFFF !important;
  border-color: #2563EB;
  transform: translateY(-2px);
}

html:not([data-theme="dark"]) .mobile-toggle,
[data-theme="light"] .mobile-toggle {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #0F172A;
}

/* Light Mode Cards (#FFFFFF with #E2E8F0 Border) */
html:not([data-theme="dark"]) .glass-card,
html:not([data-theme="dark"]) .service-card,
html:not([data-theme="dark"]) .portfolio-card,
html:not([data-theme="dark"]) .review-card,
html:not([data-theme="dark"]) .feature-card,
html:not([data-theme="dark"]) .trust-badge-card,
html:not([data-theme="dark"]) .hero-visual-card,
html:not([data-theme="dark"]) .floating-badge,
html:not([data-theme="dark"]) .modal-container,
html:not([data-theme="dark"]) .auto-promo-card,
html:not([data-theme="dark"]) .toc-box,
html:not([data-theme="dark"]) .author-bio-card,
html:not([data-theme="dark"]) .comment-card,
[data-theme="light"] .glass-card,
[data-theme="light"] .service-card,
[data-theme="light"] .portfolio-card,
[data-theme="light"] .review-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .trust-badge-card,
[data-theme="light"] .hero-visual-card,
[data-theme="light"] .floating-badge,
[data-theme="light"] .modal-container,
[data-theme="light"] .auto-promo-card,
[data-theme="light"] .toc-box,
[data-theme="light"] .author-bio-card,
[data-theme="light"] .comment-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

html:not([data-theme="dark"]) .service-card:hover,
html:not([data-theme="dark"]) .portfolio-card:hover,
html:not([data-theme="dark"]) .review-card:hover,
html:not([data-theme="dark"]) .feature-card:hover,
html:not([data-theme="dark"]) .trust-badge-card:hover,
html:not([data-theme="dark"]) .glass-card:hover,
[data-theme="light"] .service-card:hover,
[data-theme="light"] .portfolio-card:hover,
[data-theme="light"] .review-card:hover,
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .trust-badge-card:hover,
[data-theme="light"] .glass-card:hover {
  border-color: #2563EB;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.15);
  transform: translateY(-5px);
}

/* Light Mode Callout & Article Components */
.article-category a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

html:not([data-theme="dark"]) .article-category .badge,
[data-theme="light"] .article-category .badge {
  background: #EFF6FF !important;
  color: #2563EB !important;
  border: 1px solid #BFDBFE !important;
}

html:not([data-theme="dark"]) .article-category .badge a,
[data-theme="light"] .article-category .badge a {
  color: #2563EB !important;
  font-weight: 700;
}

[data-theme="dark"] .article-category .badge,
[data-theme="dark"] .article-category .badge a {
  color: #38BDF8 !important;
  font-weight: 700;
}

html:not([data-theme="dark"]) .article-body,
[data-theme="light"] .article-body {
  color: #334155 !important;
}

html:not([data-theme="dark"]) .article-body p,
[data-theme="light"] .article-body p {
  color: #334155 !important;
}

html:not([data-theme="dark"]) .article-body h2,
html:not([data-theme="dark"]) .article-body h3,
html:not([data-theme="dark"]) .article-body h4,
[data-theme="light"] .article-body h2,
[data-theme="light"] .article-body h3,
[data-theme="light"] .article-body h4 {
  color: #0F172A !important;
}

html:not([data-theme="dark"]) .article-body h2::after,
[data-theme="light"] .article-body h2::after {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
}

html:not([data-theme="dark"]) .article-body strong,
[data-theme="light"] .article-body strong {
  color: #0F172A !important;
}

html:not([data-theme="dark"]) .article-lead,
[data-theme="light"] .article-lead {
  color: #0F172A !important;
  background: #EFF6FF !important;
  border-left: 4px solid #2563EB !important;
}

html:not([data-theme="dark"]) .callout-box,
[data-theme="light"] .callout-box {
  background: #EFF6FF !important;
  border: 1px solid #38BDF8 !important;
  color: #0F172A !important;
}

html:not([data-theme="dark"]) .callout-box strong,
[data-theme="light"] .callout-box strong {
  color: #0F172A !important;
}

/* Light Mode Table of Contents & Sidebar */
html:not([data-theme="dark"]) .toc-title,
[data-theme="light"] .toc-title {
  color: #2563EB !important;
}

html:not([data-theme="dark"]) .toc-link,
[data-theme="light"] .toc-link {
  color: #475569 !important;
}

html:not([data-theme="dark"]) .toc-link:hover,
html:not([data-theme="dark"]) .toc-link.active,
[data-theme="light"] .toc-link:hover,
[data-theme="light"] .toc-link.active {
  color: #0F172A !important;
  font-weight: 700;
}

/* Light Mode Post Navigation Cards & Links */
html:not([data-theme="dark"]) .post-navigation-grid a,
[data-theme="light"] .post-navigation-grid a {
  color: #0F172A !important;
  font-weight: 700;
}

html:not([data-theme="dark"]) .post-navigation-grid a:hover,
[data-theme="light"] .post-navigation-grid a:hover {
  color: #2563EB !important;
}

/* Light Mode Comments Section */
html:not([data-theme="dark"]) .comments-section,
[data-theme="light"] .comments-section {
  border-top: 1px solid #E2E8F0 !important;
}

html:not([data-theme="dark"]) .comments-title,
html:not([data-theme="dark"]) .comment-reply-title,
html:not([data-theme="dark"]) .comment-card strong,
[data-theme="light"] .comments-title,
[data-theme="light"] .comment-reply-title,
[data-theme="light"] .comment-card strong {
  color: #0F172A !important;
}

html:not([data-theme="dark"]) .comment-card p,
[data-theme="light"] .comment-card p {
  color: #475569 !important;
}

html:not([data-theme="dark"]) .tag-pill,
[data-theme="light"] .tag-pill {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
}

html:not([data-theme="dark"]) .tag-pill:hover,
[data-theme="light"] .tag-pill:hover {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
}

html:not([data-theme="dark"]) .social-icon,
[data-theme="light"] .social-icon {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #0F172A;
}

html:not([data-theme="dark"]) .social-icon:hover,
[data-theme="light"] .social-icon:hover {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
}

/* Light Mode Headings & Text */
html:not([data-theme="dark"]) .section-title,
html:not([data-theme="dark"]) .hero-title,
html:not([data-theme="dark"]) .service-title,
html:not([data-theme="dark"]) .portfolio-title,
html:not([data-theme="dark"]) .review-author-info strong,
html:not([data-theme="dark"]) .trust-badge-score,
html:not([data-theme="dark"]) .trust-badge-card strong,
html:not([data-theme="dark"]) .feature-card h4,
html:not([data-theme="dark"]) .floating-badge strong,
html:not([data-theme="dark"]) .article-title,
html:not([data-theme="dark"]) .widget-title,
html:not([data-theme="dark"]) .author-name,
html:not([data-theme="dark"]) .author-bio-card h4,
html:not([data-theme="dark"]) .modal-container h3,
html:not([data-theme="dark"]) .auto-promo-card h3,
html:not([data-theme="dark"]) .toc-title,
[data-theme="light"] .section-title,
[data-theme="light"] .hero-title,
[data-theme="light"] .service-title,
[data-theme="light"] .portfolio-title,
[data-theme="light"] .review-author-info strong,
[data-theme="light"] .trust-badge-score,
[data-theme="light"] .trust-badge-card strong,
[data-theme="light"] .feature-card h4,
[data-theme="light"] .floating-badge strong,
[data-theme="light"] .article-title,
[data-theme="light"] .widget-title,
[data-theme="light"] .author-name,
[data-theme="light"] .author-bio-card h4,
[data-theme="light"] .modal-container h3,
[data-theme="light"] .auto-promo-card h3,
[data-theme="light"] .toc-title {
  color: #0F172A !important;
}

html:not([data-theme="dark"]) .section-desc,
html:not([data-theme="dark"]) .hero-subtitle,
html:not([data-theme="dark"]) .service-desc,
html:not([data-theme="dark"]) .review-text,
html:not([data-theme="dark"]) .article-lead,
html:not([data-theme="dark"]) .article-body p,
html:not([data-theme="dark"]) .comment-card p,
[data-theme="light"] .section-desc,
[data-theme="light"] .hero-subtitle,
[data-theme="light"] .service-desc,
[data-theme="light"] .review-text,
[data-theme="light"] .article-lead,
[data-theme="light"] .article-body p,
[data-theme="light"] .comment-card p {
  color: #475569;
}

html:not([data-theme="dark"]) .stat-label,
[data-theme="light"] .stat-label {
  color: #64748B;
}

/* Light Mode Badges */
html:not([data-theme="dark"]) .badge,
[data-theme="light"] .badge {
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Hero Code Editor Box (Kept Dark Slate IDE Style) */
html:not([data-theme="dark"]) .visual-preview-box,
[data-theme="light"] .visual-preview-box {
  background: #0F172A;
  border: 1px solid #1E293B;
}

/* Light Mode Forms */
html:not([data-theme="dark"]) .form-input,
html:not([data-theme="dark"]) .form-select,
html:not([data-theme="dark"]) .form-textarea,
[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #CBD5E1;
}

html:not([data-theme="dark"]) .form-input:focus,
html:not([data-theme="dark"]) .form-select:focus,
html:not([data-theme="dark"]) .form-textarea:focus,
[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

html:not([data-theme="dark"]) .form-label,
[data-theme="light"] .form-label {
  color: #1E293B;
}

/* Top Bar in Light Mode */
html:not([data-theme="dark"]) .top-bar,
[data-theme="light"] .top-bar {
  background: #E2E8F0;
  color: #1E293B;
  border-bottom: 1px solid #CBD5E1;
}

html:not([data-theme="dark"]) .top-bar span,
[data-theme="light"] .top-bar span {
  color: #2563EB;
  font-weight: 700;
}

html:not([data-theme="dark"]) .ticker-item,
[data-theme="light"] .ticker-item {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
}

html:not([data-theme="dark"]) .ticker-item:hover,
[data-theme="light"] .ticker-item:hover {
  color: #2563EB;
  border-color: #2563EB;
  background: rgba(37, 99, 235, 0.06);
}

/* Light Mode Footer (#0F172A Deep Navy) */
html:not([data-theme="dark"]) .site-footer,
[data-theme="light"] .site-footer {
  background: #0F172A;
  color: #CBD5E1;
  border-top: 1px solid #1E293B;
}

html:not([data-theme="dark"]) .site-footer .brand-name,
[data-theme="light"] .site-footer .brand-name {
  background: linear-gradient(135deg, #FFFFFF 40%, #38BDF8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

html:not([data-theme="dark"]) .site-footer .footer-title,
[data-theme="light"] .site-footer .footer-title {
  color: #FFFFFF;
}

html:not([data-theme="dark"]) .site-footer .footer-links a,
[data-theme="light"] .site-footer .footer-links a {
  color: #CBD5E1;
}

html:not([data-theme="dark"]) .site-footer .footer-links a:hover,
[data-theme="light"] .site-footer .footer-links a:hover {
  color: #38BDF8;
}

html:not([data-theme="dark"]) .site-footer .footer-bottom,
[data-theme="light"] .site-footer .footer-bottom {
  border-top: 1px solid #1E293B;
  color: #64748B;
}

html:not([data-theme="dark"]) .client-info strong,
html:not([data-theme="dark"]) .review-author-info strong,
html:not([data-theme="dark"]) .portfolio-card strong,
[data-theme="light"] .client-info strong,
[data-theme="light"] .review-author-info strong,
[data-theme="light"] .portfolio-card strong {
  color: #0F172A !important;
}


/* ==========================================================================
   Dark Theme System ([data-theme="dark"] - User Specifications)
   ========================================================================== */
[data-theme="dark"] {
  --bg-dark: #080D1A;
  --bg-card: #111827;
  --bg-card-hover: #1E293B;
  --bg-input: #1E293B;
  --border-color: #334155;
  --border-color-hover: #3B82F6;

  --text-main: #F8FAFC;
  --text-muted: #CBD5E1;
  --text-dim: #94A3B8;

  --grad-cyan: linear-gradient(135deg, #3B82F6 0%, #22D3EE 100%);
  --grad-cta: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --grad-hero: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #4C1D95 100%);
  --grad-hero-text: linear-gradient(135deg, #FFFFFF 30%, #38BDF8 70%, #8B5CF6 100%);
  --glow-cyan: 0 0 25px rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] body {
  background-color: #080D1A;
  color: #F8FAFC;
}

/* Dark Mode Header (#080D1A) */
[data-theme="dark"] .site-header {
  background: rgba(8, 13, 26, 0.94);
  border-bottom: 1px solid #334155;
  box-shadow: none;
}

[data-theme="dark"] .mobile-nav-drawer {
  background: #080D1A;
  border-bottom: 1px solid #334155;
}

[data-theme="dark"] .brand-name {
  background: linear-gradient(135deg, #FFFFFF 40%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .brand-icon {
  background: linear-gradient(135deg, #3B82F6 0%, #22D3EE 100%);
  color: #080D1A;
}

[data-theme="dark"] .brand-tagline {
  color: #CBD5E1;
}

[data-theme="dark"] .nav-link {
  color: #CBD5E1;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: #FFFFFF !important;
}

[data-theme="dark"] .nav-link::after {
  background: var(--grad-cta);
}

[data-theme="dark"] .dropdown-menu {
  background: #0F172A;
  border: 1px solid #334155;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .dropdown-item {
  color: #CBD5E1;
}

[data-theme="dark"] .dropdown-item:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #38BDF8;
}

/* Dark Mode Hero Section (#080D1A -> #1E3A8A -> #4C1D95) */
[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #4C1D95 100%);
}

/* Dark Mode Services Section (#0F172A) */
[data-theme="dark"] #services,
[data-theme="dark"] #why-us,
[data-theme="dark"] #reviews {
  background-color: #0F172A;
}

/* Dark Mode Buttons */
[data-theme="dark"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #334155;
  color: #F59E0B;
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
  border-color: #F59E0B;
}

[data-theme="dark"] .mobile-toggle {
  background: #111827;
  border: 1px solid #334155;
  color: #FFFFFF;
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border: 1px solid #334155;
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: #3B82F6;
  color: #38BDF8;
}

/* Dark Mode Cards (#111827 with #334155 Border) */
[data-theme="dark"] .glass-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .portfolio-card,
[data-theme="dark"] .review-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .trust-badge-card,
[data-theme="dark"] .hero-visual-card,
[data-theme="dark"] .floating-badge,
[data-theme="dark"] .modal-container,
[data-theme="dark"] .auto-promo-card,
[data-theme="dark"] .toc-box,
[data-theme="dark"] .author-bio-card,
[data-theme="dark"] .comment-card {
  background: #111827;
  border: 1px solid #334155;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .portfolio-card:hover,
[data-theme="dark"] .review-card:hover,
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .trust-badge-card:hover,
[data-theme="dark"] .glass-card:hover {
  border-color: #3B82F6;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.25);
  transform: translateY(-5px);
}

/* Dark Mode Headings & Text */
[data-theme="dark"] .section-title,
[data-theme="dark"] .hero-title,
[data-theme="dark"] .service-title,
[data-theme="dark"] .portfolio-title,
[data-theme="dark"] .review-author-info strong,
[data-theme="dark"] .trust-badge-score,
[data-theme="dark"] .article-title,
[data-theme="dark"] .widget-title,
[data-theme="dark"] .author-name,
[data-theme="dark"] .author-bio-card h4,
[data-theme="dark"] .comments-title,
[data-theme="dark"] .comment-reply-title,
[data-theme="dark"] .comment-card strong,
[data-theme="dark"] .article-body h2,
[data-theme="dark"] .article-body h3,
[data-theme="dark"] .article-body h4,
[data-theme="dark"] .article-body strong {
  color: #F8FAFC !important;
}

[data-theme="dark"] .article-body,
[data-theme="dark"] .article-body p,
[data-theme="dark"] .comment-card p,
[data-theme="dark"] .section-desc,
[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .service-desc,
[data-theme="dark"] .review-text {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .article-lead {
  color: #F8FAFC !important;
  background: rgba(0, 242, 254, 0.05) !important;
  border-left: 4px solid #00f2fe !important;
}

[data-theme="dark"] .toc-title {
  color: #22D3EE !important;
}

[data-theme="dark"] .toc-link {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .toc-link:hover,
[data-theme="dark"] .toc-link.active {
  color: #FFFFFF !important;
  font-weight: 700;
}

[data-theme="dark"] .post-navigation-grid a {
  color: #F8FAFC !important;
  font-weight: 700;
}

[data-theme="dark"] .post-navigation-grid a:hover {
  color: #38BDF8 !important;
}

[data-theme="dark"] .comments-section {
  border-top: 1px solid #334155 !important;
}

[data-theme="dark"] .badge {
  background: rgba(59, 130, 246, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
  background: #1E293B;
  color: #F8FAFC;
  border: 1px solid #334155;
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-textarea:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .form-label {
  color: #CBD5E1;
}

[data-theme="dark"] .top-bar {
  background: #050816;
  color: #CBD5E1;
  border-bottom: 1px solid #334155;
}

[data-theme="dark"] .top-bar span {
  color: #38BDF8;
}

[data-theme="dark"] .ticker-item {
  background: #111827;
  border: 1px solid #334155;
  color: #CBD5E1;
}

[data-theme="dark"] .ticker-item:hover {
  color: #FFFFFF;
  border-color: #3B82F6;
  background: rgba(59, 130, 246, 0.15);
}

/* Dark Mode Footer (#050816) */
[data-theme="dark"] .site-footer {
  background: #050816;
  color: #CBD5E1;
  border-top: 1px solid #334155;
}

[data-theme="dark"] .site-footer .footer-title {
  color: #F8FAFC;
}

[data-theme="dark"] .site-footer .footer-links a {
  color: #CBD5E1;
}

[data-theme="dark"] .site-footer .footer-links a:hover {
  color: #38BDF8;
}

[data-theme="dark"] .site-footer .footer-bottom {
  border-top: 1px solid #1E293B;
  color: #94A3B8;
}

[data-theme="dark"] .bg-grid-overlay {
  opacity: 0.12;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}

[data-theme="dark"] .ambient-orb {
  opacity: 0.25;
}

[data-theme="dark"] .bg-grid-overlay {
  opacity: 0.15;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}

[data-theme="dark"] .ambient-orb {
  opacity: 0.3;
}

/* ==========================================================================
   Upwork & Fiverr Platform Buttons & Conversion System
   ========================================================================== */
.btn-upwork {
  background: linear-gradient(135deg, #14a800 0%, #108a00 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(20, 168, 0, 0.4);
}

.btn-upwork:hover {
  color: #ffffff !important;
  box-shadow: 0 6px 28px rgba(20, 168, 0, 0.65);
  transform: translateY(-2px);
}

.upwork-btn-icon {
  width: 1.2em;
  height: 1.2em;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  margin-right: 0.35rem;
}

.btn-fiverr {
  background: linear-gradient(135deg, #1dbf73 0%, #149c5c 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(29, 191, 115, 0.4);
}

.btn-fiverr:hover {
  color: #ffffff !important;
  box-shadow: 0 6px 28px rgba(29, 191, 115, 0.65);
  transform: translateY(-2px);
}

.btn-group-responsive {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Platform Trust Banner Card */
.platform-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  transition: var(--transition-normal);
}

.platform-banner-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 16px 45px rgba(0, 242, 254, 0.15);
}

.platform-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #14a800 0%, #1dbf73 35%, #25d366 70%, #00f2fe 100%);
}

.platform-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.platform-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.platform-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.platform-actions-grid .btn {
  width: 100%;
  justify-content: center;
  padding: 0.8rem 0.85rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .platform-banner-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 1.75rem;
  }

  .platform-actions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.intl-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  padding: 1.25rem;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.intl-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.intl-trust-item i {
  color: #00f2fe;
}

@media (max-width: 991px) {
  .platform-banner-card {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.25rem;
    gap: 1.5rem;
  }
}