/**
 * Mailop Technology - Custom Modern Design Stylesheet
 * Polished Preloader, Elevated Header & Navigation, Professional Blog UI
 */

:root {
  --primary: #0d6efd;
  --primary-hover: #0b5ed7;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #2563eb 50%, #1d4ed8 100%);
  --accent-cyan: #06b6d4;
  --dark-slate: #0f172a;
  --slate-text: #475569;
  --light-slate: #f8fafc;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   1. FAST & MODERN BRANDED PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#preloader.loaded {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.mailop-spinner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.mailop-spinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3.5px solid rgba(13, 110, 253, 0.12);
  border-top-color: var(--primary);
  border-right-color: var(--accent-cyan);
  animation: mailopSpin 0.75s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  box-shadow: 0 0 20px rgba(13, 110, 253, 0.15);
}

.mailop-spinner-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mailop-spinner-text span {
  display: inline-block;
  animation: mailopPulse 1.4s infinite ease-in-out both;
}

.mailop-spinner-text span:nth-child(1) { animation-delay: -0.32s; }
.mailop-spinner-text span:nth-child(2) { animation-delay: -0.16s; }

@keyframes mailopSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes mailopPulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.9); }
  40% { opacity: 1; transform: scale(1.1); color: var(--primary); }
}

/* ==========================================================================
   2. ELEVATED HEADER TOP BAR
   ========================================================================== */
.header-top {
  background: #0f172a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0 !important;
  font-size: 13px;
}

.top-info-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.top-info-left span {
  color: #cbd5e1 !important;
  font-size: 13px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 !important;
}

.top-info-left span i {
  color: #38bdf8;
  font-size: 13px;
}

.top-info-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.top-info-right .office-time span {
  color: #94a3b8 !important;
  font-size: 13px !important;
  padding-right: 18px !important;
  margin-right: 0 !important;
}

.top-info-right .office-time span i {
  color: #38bdf8;
  margin-right: 6px;
}

.top-info-right .office-time span::after {
  background: rgba(255, 255, 255, 0.15) !important;
  height: 60% !important;
  top: 20% !important;
}

.top-social ul {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-social ul li {
  margin: 0 !important;
}

.top-social ul li a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1 !important;
  font-size: 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.top-social ul li a:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.4);
}

/* ==========================================================================
   3. MODERN NAVBAR & STICKY HEADER
   ========================================================================== */
.header-bottom {
  background: #ffffff;
  transition: all 0.35s ease;
  position: relative;
  z-index: 999;
}

.header-bottom.sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  animation: slideDownHeader 0.35s ease forwards !important;
}

@keyframes slideDownHeader {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.nav-main-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.menu {
  display: flex;
  align-items: center;
}

.menu ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 6px;
}

.menu ul li {
  position: relative;
}

.menu ul li a {
  color: #1e293b !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  padding: 26px 14px !important;
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.menu ul li a::before {
  content: "";
  position: absolute;
  bottom: 16px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.menu ul li:hover > a,
.menu ul li.active > a {
  color: var(--primary) !important;
}

.menu ul li:hover > a::before,
.menu ul li.active > a::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Header Action Area (CTA + Search) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(13, 110, 253, 0.3);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.45);
  color: #ffffff !important;
}

.nav-cta-btn i {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.nav-cta-btn:hover i {
  transform: translateX(3px);
}

/* Modernized Search */
.header-search {
  padding-left: 10px !important;
  float: none !important;
}

.header-search-icon i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--light-slate);
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 14px;
}

.header-search-icon i:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.header-top-search-form {
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

/* Modern Mobile Hamburger */
.canvas_open {
  display: none;
}

.canvas_open a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--light-slate);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: var(--transition-smooth);
}

.canvas_open a:hover {
  background: var(--primary-light);
  border-color: rgba(13, 110, 253, 0.2);
}

.canvas_open a span {
  display: block;
  width: 20px;
  height: 2px;
  background: #1e293b;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.canvas_open a:hover span {
  background: var(--primary);
}

@media (max-width: 991px) {
  .menu {
    display: none !important;
  }
  .canvas_open {
    display: block !important;
  }
  .nav-cta-btn.d-desktop-only {
    display: none !important;
  }
}

/* ==========================================================================
   4. LIGHTWEIGHT MODERN TECH HERO BANNER (REPLACES 2MB THUMBNAIL.PNG)
   ========================================================================== */
.modern-page-hero {
  position: relative;
  background: linear-gradient(135deg, #0b1528 0%, #172554 60%, #1e3a8a 100%);
  padding: 70px 0 65px;
  color: #ffffff;
  overflow: hidden;
}

.modern-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(13, 110, 253, 0.15) 1.5px, transparent 1.5px);
  background-size: 32px 32px, 64px 64px;
  background-position: 0 0, 16px 16px;
  opacity: 0.8;
  pointer-events: none;
}

.modern-page-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.modern-hero-content {
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.hero-pill-badge i {
  color: #38bdf8;
}

.modern-page-hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.modern-page-hero p.hero-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Breadcrumb Navigation Trail */
.modern-breadcrumb-trail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  margin-top: 18px;
}

.modern-breadcrumb-trail a {
  color: #93c5fd;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.modern-breadcrumb-trail a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.modern-breadcrumb-trail span.sep {
  color: rgba(255, 255, 255, 0.4);
}

.modern-breadcrumb-trail span.current {
  color: #ffffff;
  font-weight: 600;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   5. PROFESSIONAL BLOG LISTING CARDS (blog.php)
   ========================================================================== */
.blog-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}

.filter-pill {
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.modern-blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.modern-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 110, 253, 0.3);
}

.blog-card-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.modern-blog-card:hover .blog-card-media img {
  transform: scale(1.08);
}

.blog-badge-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #64748b;
  font-size: 13px;
  margin-bottom: 12px;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card-meta i {
  color: var(--primary);
  font-size: 12px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a {
  color: var(--dark-slate);
  text-decoration: none;
  transition: color 0.25s ease;
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate-text);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.blog-author-info {
  display: flex;
  align-items: center;
  gap: 9px;
}

.blog-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.blog-author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-slate);
}

.blog-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.blog-read-btn i {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.blog-read-btn:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.blog-read-btn:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   6. PROFESSIONAL SINGLE BLOG ARTICLE UI (single-blog.php)
   ========================================================================== */
.article-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.article-hero-media {
  position: relative;
  width: 100%;
  height: 420px;
  background: #0f172a;
}

.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.85) 100%);
}

.article-header-wrap {
  padding: 36px 36px 20px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: #64748b;
  font-size: 13px;
  margin-bottom: 14px;
}

.article-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta-bar i {
  color: var(--primary);
}

.article-title-main {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--dark-slate);
  margin-bottom: 18px;
  letter-spacing: -0.4px;
}

.article-lead-box {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
  color: #334155;
  background: var(--light-slate);
  border-left: 4px solid var(--primary);
  padding: 16px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 28px;
}

.article-prose {
  padding: 0 36px 36px;
  font-size: 16px;
  line-height: 1.88;
  color: #334155;
}

.article-prose p {
  margin-bottom: 20px;
}

.article-prose h2, 
.article-prose h3 {
  font-weight: 700;
  color: var(--dark-slate);
  margin-top: 32px;
  margin-bottom: 14px;
  line-height: 1.35;
}

.article-prose blockquote {
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  padding: 18px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: #1e3a8a;
  margin: 28px 0;
}

/* Social Share Bar */
.article-share-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 36px;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
}

.share-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-slate);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.share-buttons-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.share-fb { background: #e8f0fe; color: #1877f2; }
.share-fb:hover { background: #1877f2; color: #ffffff; }

.share-tw { background: #e6f4fe; color: #1da1f2; }
.share-tw:hover { background: #1da1f2; color: #ffffff; }

.share-in { background: #e8f3fb; color: #0a66c2; }
.share-in:hover { background: #0a66c2; color: #ffffff; }

.share-copy { background: #f1f5f9; color: #475569; border: none; cursor: pointer; }
.share-copy:hover { background: var(--dark-slate); color: #ffffff; }

/* ==========================================================================
   7. MODERN SIDEBAR WIDGETS
   ========================================================================== */
.sidebar-sticky-wrap {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modern-sidebar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}

.sidebar-widget-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-bottom: 12px;
}

.sidebar-widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
}

/* Recent Posts Widget */
.widget-recent-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
}

.widget-recent-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.widget-recent-thumb {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.widget-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.widget-recent-item:hover .widget-recent-thumb img {
  transform: scale(1.1);
}

.widget-recent-info {
  flex-grow: 1;
}

.widget-recent-date {
  font-size: 11.5px;
  color: #94a3b8;
  margin-bottom: 4px;
  display: block;
}

.widget-recent-heading {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark-slate);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.widget-recent-item:hover .widget-recent-heading {
  color: var(--primary);
}

/* Course Campaign CTA Widget */
.sidebar-cta-widget {
  background: linear-gradient(135deg, #1e3a8a 0%, #0d6efd 100%);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(13, 110, 253, 0.25);
}

.sidebar-cta-widget::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -30%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.sidebar-cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 16px;
}

.sidebar-cta-widget h5 {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.sidebar-cta-widget p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  line-height: 1.55;
}

.sidebar-cta-btn {
  display: inline-block;
  width: 100%;
  background: #ffffff;
  color: var(--primary) !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.sidebar-cta-btn:hover {
  background: #f8fafc;
  color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Service Navigation Widget */
.sidebar-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-services-list li {
  margin-bottom: 8px;
}

.sidebar-services-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.sidebar-services-list a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 18px;
}

.sidebar-services-list a i {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

.sidebar-services-list a:hover i {
  color: var(--primary);
  transform: translateX(3px);
}

/* ==========================================================================
   7. BLOG COMMENTS COMPONENT & FORM (single-blog.php)
   ========================================================================== */
.article-comments-wrap {
  margin-top: 36px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}

.comments-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 28px;
}

.comments-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-slate);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.comments-badge-count {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.comment-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition-smooth);
  position: relative;
}

.comment-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.comment-card.is-reply {
  margin-left: 48px;
  background: #f0f7ff;
  border-left: 4px solid var(--primary);
}

@media (max-width: 576px) {
  .comment-card.is-reply {
    margin-left: 20px;
  }
}

.comment-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.comment-author-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.comment-avatar-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(30, 64, 175, 0.2);
}

.comment-avatar-bubble.alt-accent {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.2);
}

.comment-author-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 2px;
}

.comment-author-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.comment-author-name a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.comment-author-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: #e0e7ff;
  color: #3730a3;
  margin-left: 6px;
}

.comment-timestamp {
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.comment-reply-action {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(30, 64, 175, 0.08);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.comment-reply-action:hover {
  background: var(--primary);
  color: #ffffff;
}

.comment-body-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 0;
  word-break: break-word;
}

/* Empty State */
.comments-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px dashed #cbd5e1;
}

.comments-empty-icon {
  font-size: 40px;
  color: #94a3b8;
  margin-bottom: 14px;
}

/* Comment Form Styling */
.leave-comment-box {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 2px solid #f1f5f9;
}

.leave-comment-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 6px;
}

.leave-comment-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 22px;
}

.reply-cancel-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  margin-bottom: 18px;
}

.reply-cancel-pill button {
  background: none;
  border: none;
  color: #b45309;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  font-weight: 700;
}

.reply-cancel-pill button:hover {
  color: #78350f;
  text-decoration: underline;
}

.comment-form-group {
  margin-bottom: 18px;
}

.comment-form-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
  display: block;
}

.comment-form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: #1e293b;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.comment-form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
}

.comment-submit-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: var(--shadow-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.comment-submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #172554 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.35);
  color: #ffffff;
}

/* HoneyPot hidden field */
.website-hp-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

