/**
 * Craftalaya Tech — Modern UI/UX Design System
 * Elevates the visual presentation while maintaining 100% brand integrity & copy
 */

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

:root {
  --ct-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ct-primary: #0b5ed7;
  --ct-primary-hover: #084298;
  --ct-primary-subtle: #e7f1ff;
  --ct-primary-glow: rgba(11, 94, 215, 0.25);
  --ct-dark: #0f172a;
  --ct-dark-surface: #1e293b;
  --ct-slate-muted: #64748b;
  --ct-border: rgba(226, 232, 240, 0.85);
  --ct-border-focus: #0b5ed7;
  --ct-card-bg: #ffffff;
  --ct-glass-bg: rgba(255, 255, 255, 0.92);
  --ct-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --ct-shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --ct-shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --ct-shadow-xl: 0 24px 48px -12px rgba(11, 94, 215, 0.18);
  --ct-radius-sm: 8px;
  --ct-radius: 12px;
  --ct-radius-lg: 16px;
  --ct-radius-xl: 20px;
}

/* ── Typography & Global Resets ── */
body {
  font-family: var(--ct-font-sans) !important;
  color: #334155;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--ct-font-sans) !important;
  font-weight: 700;
  color: var(--ct-dark);
  letter-spacing: -0.028em;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.display-1 {
  font-size: clamp(2rem, 5vw, 3.25rem) !important;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.display-2 {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem) !important;
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.18;
}

.display-3 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem) !important;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.2;
}

.display-4 {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem) !important;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

p, .lead {
  font-family: var(--ct-font-sans) !important;
}

.lead {
  color: #475569 !important;
  font-weight: 400;
  line-height: 1.6;
}

/* ── Bootstrap Opacity Utility Overrides (Fix solid colored blocks) ── */
.bg-primary.bg-opacity-10,
.badge.bg-primary.bg-opacity-10 {
  background-color: rgba(11, 94, 215, 0.1) !important;
  color: #0b5ed7 !important;
}

.bg-warning.bg-opacity-10 {
  background-color: rgba(245, 158, 11, 0.12) !important;
  color: #d97706 !important;
}

.bg-danger.bg-opacity-10 {
  background-color: rgba(239, 68, 68, 0.12) !important;
  color: #dc2626 !important;
}

.bg-success.bg-opacity-10 {
  background-color: rgba(16, 185, 129, 0.12) !important;
  color: #059669 !important;
}

.bg-info.bg-opacity-10 {
  background-color: rgba(6, 182, 212, 0.12) !important;
  color: #0891b2 !important;
}

.bg-secondary.bg-opacity-10 {
  background-color: rgba(100, 116, 139, 0.12) !important;
  color: #475569 !important;
}

/* ── Modern Navigation ── */
.navbar-modern {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--ct-glass-bg) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.navbar-modern .nav-link {
  font-weight: 600;
  font-size: 0.94rem;
  color: #334155 !important;
  padding: 0.55rem 0.95rem !important;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-modern .nav-link:hover,
.navbar-modern .nav-link:focus,
.navbar-modern .nav-link.active {
  color: var(--ct-primary) !important;
  background-color: rgba(11, 94, 215, 0.08) !important;
}

.navbar-modern .dropdown-menu {
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  box-shadow: var(--ct-shadow-lg);
  padding: 0.6rem;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  background-color: #ffffff !important;
}

.navbar-modern .dropdown-item {
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  color: #1e293b !important;
  transition: all 0.15s ease;
}

.navbar-modern .dropdown-item:hover,
.navbar-modern .dropdown-item:focus {
  background-color: var(--ct-primary-subtle) !important;
  color: var(--ct-primary) !important;
  transform: translateX(4px);
}

.navbar-modern .dropdown-item.active,
.navbar-modern .dropdown-item:active {
  background-color: var(--ct-primary) !important;
  color: #ffffff !important;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero / Banner Section ── */
.hero-wrapper {
  background: radial-gradient(125% 100% at 50% 0%, #edf5ff 0%, #f8fafc 55%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-wrapper::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(11, 94, 215, 0.09) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  background: rgba(11, 94, 215, 0.08);
  color: var(--ct-primary);
  border: 1px solid rgba(11, 94, 215, 0.22);
  box-shadow: 0 1px 2px rgba(11, 94, 215, 0.05);
  transition: all 0.2s ease;
}

.badge-tag:hover {
  background: rgba(11, 94, 215, 0.12);
  border-color: rgba(11, 94, 215, 0.35);
}

/* Hero Typer Styling */
.typer {
  font-weight: 800;
  color: var(--ct-primary);
  display: inline-block;
  text-shadow: 0 1px 2px rgba(11, 94, 215, 0.1);
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  vertical-align: -0.15em;
  background-color: var(--ct-primary);
  margin-left: 2px;
  animation: blinkCursor 0.85s infinite;
  border-radius: 2px;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero Media Presentation Container */
#hero-media-container figure {
  display: inline-block;
  position: relative;
  border-radius: var(--ct-radius-xl);
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 50px -12px rgba(11, 94, 215, 0.15), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
}

#hero-media-container figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px -12px rgba(11, 94, 215, 0.22), 0 4px 10px rgba(0, 0, 0, 0.06);
}

#hero-media-container img,
#hero-media-container video {
  border-radius: 14px;
  display: block;
}

/* ── Stats / Company Highlights Bar ── */
.stat-highlight-box {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-radius: var(--ct-radius);
  border: 1px solid var(--ct-border);
  box-shadow: var(--ct-shadow-sm);
  text-align: center;
  transition: all 0.25s ease;
}

.stat-highlight-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--ct-shadow-md);
  border-color: rgba(11, 94, 215, 0.25);
}

.stat-number {
  font-size: 2.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0b5ed7 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

/* ── Elevated Modern Cards ── */
.card-modern {
  background: #ffffff;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: var(--ct-shadow-sm);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--ct-shadow-lg);
  border-color: rgba(11, 94, 215, 0.35);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.1) 0%, rgba(11, 94, 215, 0.03) 100%);
  color: var(--ct-primary);
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  transition: all 0.25s ease;
  border: 1px solid rgba(11, 94, 215, 0.12);
}

.card-modern:hover .service-icon-box {
  transform: scale(1.08);
  background: var(--ct-primary);
  color: #ffffff;
  border-color: var(--ct-primary);
  box-shadow: 0 6px 16px rgba(11, 94, 215, 0.3);
}

/* Micro-interaction: Sliding arrow in card links */
.card-modern .uil-arrow-right {
  transition: transform 0.22s ease;
}

.card-modern:hover .uil-arrow-right {
  transform: translateX(4px);
}

/* ── Modern Pricing ── */
.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-lg);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--ct-shadow-sm);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ct-shadow-lg);
  border-color: rgba(11, 94, 215, 0.35);
}

.pricing-card.popular {
  border: 2px solid var(--ct-primary);
  box-shadow: 0 14px 34px -6px rgba(11, 94, 215, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #fafdff 100%);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0b5ed7 0%, #004085 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 1.15rem;
  border-radius: 9999px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(11, 94, 215, 0.35);
}

.pricing-amount {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--ct-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.pricing-features {
  list-style: none;
  padding-left: 0;
  margin: 1.15rem 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: #475569;
}

.pricing-features li i {
  color: #10b981;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Modern Buttons ── */
.btn-modern-primary {
  background: linear-gradient(135deg, #0b5ed7 0%, #084298 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 0.68rem 1.45rem;
  border: 1px solid rgba(11, 94, 215, 0.25);
  box-shadow: 0 4px 12px rgba(11, 94, 215, 0.25);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-modern-primary:hover {
  background: linear-gradient(135deg, #0a53be 0%, #06357a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.35);
  filter: brightness(1.03);
}

.btn-modern-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(11, 94, 215, 0.2);
}

.btn-modern-outline {
  border: 1.5px solid #cbd5e1;
  color: #334155 !important;
  background: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 0.68rem 1.45rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-modern-outline:hover {
  border-color: var(--ct-primary);
  color: var(--ct-primary) !important;
  background: rgba(11, 94, 215, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.btn-modern-outline:active {
  transform: translateY(0);
}

/* ── Modern Call to Action Banner ── */
.cta-banner-modern {
  background: linear-gradient(135deg, #0b5ed7 0%, #06357a 100%) !important;
  background-color: #0b5ed7 !important;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
}

.cta-banner-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.cta-banner-modern h1,
.cta-banner-modern h2,
.cta-banner-modern h3,
.cta-banner-modern h4,
.cta-banner-modern .display-1,
.cta-banner-modern .display-2,
.cta-banner-modern .display-3,
.cta-banner-modern .display-4 {
  color: #ffffff !important;
}

.cta-banner-modern p,
.cta-banner-modern .lead,
.cta-banner-modern .text-white-50,
.cta-banner-modern .text-white-75 {
  color: rgba(255, 255, 255, 0.92) !important;
}

.cta-banner-modern .btn-light {
  background-color: #ffffff !important;
  color: #0b5ed7 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  border: none !important;
  transition: all 0.2s ease;
}

.cta-banner-modern .btn-light:hover {
  background-color: #f8fafc !important;
  color: #06357a !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.cta-banner-modern .btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
  color: #ffffff !important;
  background: transparent !important;
  transition: all 0.2s ease;
}

.cta-banner-modern .btn-outline-light:hover {
  background: #ffffff !important;
  color: var(--ct-primary) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

/* ── Modern Forms & Inputs ── */
.form-control,
.form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.72rem 1rem;
  font-size: 0.94rem;
  color: #1e293b;
  background-color: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ct-primary) !important;
  box-shadow: 0 0 0 3.5px rgba(11, 94, 215, 0.15) !important;
  outline: none;
  background-color: #ffffff;
}

.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 0.4rem;
}

/* ── Blog Card Visual Polish ── */
article.card-modern figure img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

article.card-modern:hover figure img {
  transform: scale(1.04);
}

.hover-primary {
  transition: color 0.18s ease;
}

.hover-primary:hover {
  color: var(--ct-primary) !important;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Blog Reading & Scroll Images Presentation ── */
.blog-scroll-figure {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-top: 2.25rem;
  margin-bottom: 2.25rem;
}

.blog-scroll-figure:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12);
}

.blog-scroll-img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-scroll-figure:hover .blog-scroll-img {
  transform: scale(1.02);
}

.blog-header-figure {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.1);
}

.blog-header-figure img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.blog-body {
  word-break: break-word;
}

.blog-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ── Modern Footer ── */
.footer-modern {
  background-color: #0b1120;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.footer-modern h5 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-modern a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-modern a:hover {
  color: #60a5fa;
}

.legal-badge-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
}

/* ── Modern Admin Layout ── */
.admin-body {
  background-color: #f1f5f9;
  font-family: var(--ct-font-sans);
}

.admin-sidebar {
  width: 260px;
  background: #0f172a;
  color: #94a3b8;
  height: 100vh;
  max-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-sidebar-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
  min-height: 0;
}

.admin-sidebar-scroll::-webkit-scrollbar {
  width: 5px;
}

.admin-sidebar-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}

.admin-sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 4px;
}

.admin-sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.45);
}

.admin-main {
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.15rem;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.91rem;
  border-radius: 8px;
  margin: 0.2rem 0.75rem;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.admin-nav-item:hover {
  background: #1e293b;
  color: #e2e8f0;
  transform: translateX(3px);
}

.admin-nav-item.active {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  font-weight: 600;
  border-left: 3px solid #38bdf8;
}

.admin-topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--ct-border);
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.admin-card {
  background: #ffffff;
  border: 1px solid var(--ct-border);
  border-radius: 14px;
  box-shadow: var(--ct-shadow-sm);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-card:hover {
  border-color: #cbd5e1;
}

/* Dedicated KPI Icon Container */
.admin-kpi-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}

.admin-kpi-icon.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.22);
}

.admin-kpi-icon.danger {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.admin-kpi-icon.success {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.admin-kpi-icon.primary {
  background: rgba(11, 94, 215, 0.12);
  color: #0b5ed7;
  border: 1px solid rgba(11, 94, 215, 0.22);
}

/* Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.72rem;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

select.status-pill {
  min-width: 115px;
  cursor: pointer;
  padding: 0.3rem 1.7rem 0.3rem 0.75rem;
  background-position: right 0.5rem center;
  background-size: 14px 10px;
}

.status-new {
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.status-contacted {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-converted {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-closed {
  background: rgba(100, 116, 139, 0.12);
  color: #334155;
  border: 1px solid rgba(100, 116, 139, 0.25);
}

.status-active {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-inactive {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* Modern Visual CMS Section Badges */
.admin-card .badge.font-monospace {
  font-family: var(--ct-font-sans) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  padding: 0.35rem 0.85rem;
}

.admin-card .badge.font-monospace.bg-primary {
  background-color: rgba(11, 94, 215, 0.1) !important;
  color: #0b5ed7 !important;
  border: 1px solid rgba(11, 94, 215, 0.25) !important;
}

.admin-card .badge.font-monospace.bg-secondary {
  background-color: rgba(100, 116, 139, 0.1) !important;
  color: #475569 !important;
  border: 1px solid rgba(100, 116, 139, 0.25) !important;
}

.admin-card .badge.font-monospace.bg-success {
  background-color: rgba(16, 185, 129, 0.1) !important;
  color: #059669 !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

.admin-card .badge.font-monospace.bg-warning {
  background-color: rgba(245, 158, 11, 0.1) !important;
  color: #d97706 !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

.admin-card .badge.font-monospace.bg-info {
  background-color: rgba(6, 182, 212, 0.1) !important;
  color: #0891b2 !important;
  border: 1px solid rgba(6, 182, 212, 0.25) !important;
}

/* Modern Admin Tables */
.admin-card .table {
  margin-bottom: 0;
  width: 100%;
}

.admin-card .table thead th {
  background: #f8fafc;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 0.65rem;
  border-bottom: 2px solid #e2e8f0;
}

.admin-card .table tbody td {
  padding: 0.75rem 0.65rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}

.admin-card .table tbody tr:hover td {
  background-color: #f8fafc;
}

/* ── Inline Mobile Navbar ── */
@media (max-width: 991.98px) {
  #mainNavbar {
    background: #ffffff;
    padding: 1.25rem;
    margin-top: 0.75rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
  }
  #mainNavbar .navbar-nav {
    align-items: flex-start !important;
    gap: 0.25rem;
    width: 100%;
  }
  #mainNavbar .nav-link {
    padding: 0.5rem 0.75rem;
    width: 100%;
    color: #1e293b;
    font-weight: 600;
  }
  #mainNavbar .dropdown-menu {
    border: none;
    box-shadow: none;
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-top: 0.25rem;
    margin-left: 0.5rem;
  }
}

/* Desktop Hover & Click Dropdowns — Seamless Hover Bridge */
@media (min-width: 992px) {
  .navbar .navbar-nav > .nav-item.dropdown {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: -14px;
  }

  .navbar:not(.transparent) .navbar-nav > .nav-item:not(.language-select) > .dropdown-menu,
  .navbar.fixed .navbar-nav > .nav-item > .dropdown-menu,
  .navbar-nav .dropdown-menu {
    margin-top: 0 !important;
    top: 100% !important;
  }

  /* Seamless invisible hover bridge between nav link and dropdown menu */
  .navbar-nav .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
    background: transparent;
    display: block;
    pointer-events: auto;
  }

  /* Open on hover, focus-within, and Bootstrap .show */
  .navbar-nav .dropdown:hover > .dropdown-menu,
  .navbar-nav .dropdown:focus-within > .dropdown-menu,
  .navbar-nav .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    transition-delay: 0s !important;
  }

  .navbar-nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    transition-delay: 0.1s;
    pointer-events: none;
    border-radius: 12px;
    padding: 0.5rem 0.4rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14) !important;
    border: 1px solid rgba(226, 232, 240, 0.85) !important;
    min-width: 250px;
    background-color: #ffffff !important;
    z-index: 1050;
  }
}

.navbar-nav .dropdown-item {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  color: #1e293b;
  transition: all 0.15s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background-color: rgba(11, 94, 215, 0.08);
  color: var(--ct-primary);
  transform: translateX(4px);
}

/* ══════════════════════════════════════════════════════════════════
   Layout & Spacing Optimization: Balanced Professional Spacing
   Eliminates Excessive Blank Gaps While Maintaining Breathing Room
   ══════════════════════════════════════════════════════════════════ */

/* Standardize section vertical paddings */
.py-18, .py-md-18 {
  padding-top: 3.75rem !important;
  padding-bottom: 3.75rem !important;
}

.py-16, .py-md-16 {
  padding-top: 3.25rem !important;
  padding-bottom: 3.25rem !important;
}

.py-14, .py-md-14 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.py-12, .py-md-12 {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.pt-14, .pt-md-14 {
  padding-top: 3rem !important;
}

.pb-18, .pb-md-18 {
  padding-bottom: 3.5rem !important;
}

.pb-14, .pb-md-14 {
  padding-bottom: 3rem !important;
}

/* Moderate bottom margins between consecutive rows & components */
.mb-14 {
  margin-bottom: 2.25rem !important;
}

.mb-12 {
  margin-bottom: 1.75rem !important;
}

.mb-10 {
  margin-bottom: 1.5rem !important;
}

/* Balanced section header gap */
section .row.text-center.mb-10,
section .row.text-center.mb-12,
section .row.text-center.mb-8 {
  margin-bottom: 2rem !important;
}

/* Inner hero banner proportioning */
.hero-wrapper {
  padding-top: 3.25rem !important;
  padding-bottom: 3.25rem !important;
}

@media (min-width: 768px) {
  .hero-wrapper {
    padding-top: 3.75rem !important;
    padding-bottom: 3.75rem !important;
  }
}

/* Constrain oversized standalone media / GIFs to prevent massive empty space */
figure img.img-fluid[style*="max-height: 380px"],
figure img.img-fluid[style*="max-height: 440px"] {
  max-height: 320px !important;
  width: auto;
  object-fit: contain;
}

figure.mb-10,
figure.mb-12,
figure.mb-8 {
  margin-bottom: 1.25rem !important;
}

/* Refined card padding for optimal content-to-spacing balance */
.card-modern {
  padding: 1.5rem;
}

/* Responsive adjustments for mobile & tablet screens */
@media (max-width: 767.98px) {
  .py-18, .py-md-18,
  .py-16, .py-md-16,
  .py-14, .py-md-14 {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }
  .py-12, .py-md-12 {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
  }
  .hero-wrapper {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }
  .card-modern {
    padding: 1.25rem !important;
  }
  .pricing-card {
    padding: 1.5rem 1.25rem !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   IT SOLUTIONS SERVICE PAGES — MODERN DESIGN SYSTEM
   Elevated Split Heroes, Structured Feature Cards, Balanced Spacing
   ══════════════════════════════════════════════════════════════════ */

.service-page-hero {
  background: radial-gradient(100% 60% at 50% 0%, rgba(11, 94, 215, 0.05) 0%, rgba(248, 250, 252, 0) 100%), #f8fafc;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .service-page-hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.service-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.85rem;
  border-radius: 50rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ct-primary);
  background: rgba(11, 94, 215, 0.08);
  border: 1px solid rgba(11, 94, 215, 0.18);
  margin-bottom: 1rem;
}

.service-badge-pill i {
  font-size: 1rem;
}

.service-hero-title {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ct-dark);
  margin-bottom: 1rem;
}

.service-hero-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.5rem;
}

.service-pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.service-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.85);
  padding: 0.3rem 0.75rem;
  border-radius: 50rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.service-pill-item i {
  color: var(--ct-primary);
  font-size: 0.95rem;
}

/* Service Hero Media Frame */
.service-hero-media-wrapper {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.service-hero-media-wrapper:hover {
  box-shadow: 0 20px 45px -8px rgba(11, 94, 215, 0.12);
}

.service-hero-media-wrapper img,
.service-hero-media-wrapper video {
  border-radius: 12px;
  width: 100%;
  max-height: 310px;
  object-fit: contain;
  display: block;
  background: #f8fafc;
}

.service-floating-chip {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.4rem 0.9rem;
  border-radius: 50rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.service-floating-chip i {
  color: #38bdf8;
  font-size: 1rem;
}

/* Structured Service Feature Cards */
.service-feature-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
  position: relative;
}

.service-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.08);
  border-color: rgba(11, 94, 215, 0.3);
}

.service-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(11, 94, 215, 0.08);
  color: var(--ct-primary);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-feature-card:hover .service-feature-icon {
  background: var(--ct-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.service-feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ct-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.service-feature-text {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.55;
  flex-grow: 1;
}

/* Service Highlight / Value Callout Box */
.service-highlight-box {
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.04) 0%, rgba(11, 94, 215, 0.09) 100%);
  border: 1px solid rgba(11, 94, 215, 0.22);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  position: relative;
  overflow: hidden;
}

/* High-Impact Service CTA Banner */
.service-cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 2.75rem 2rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(11, 94, 215, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.service-cta-banner .cta-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.service-cta-banner .cta-text {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

/* TLD Matrix for Domain Registration */
.tld-pill-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.18s ease;
  height: 100%;
}

.tld-pill-card:hover {
  border-color: var(--ct-primary);
  box-shadow: 0 4px 14px rgba(11, 94, 215, 0.08);
  transform: translateY(-2px);
}

.tld-pill-card.tld-special {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0.12) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Cyber Security High-Tech Variant */
.security-hero-wrapper {
  background: radial-gradient(100% 60% at 50% 0%, rgba(15, 23, 42, 0.95) 0%, #0b1120 100%);
  color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.security-hero-wrapper .service-hero-title {
  color: #ffffff;
}

.security-hero-wrapper .service-hero-lead {
  color: #94a3b8;
}

.security-hero-wrapper .service-pill-item {
  background: rgba(30, 41, 59, 0.8);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.1);
}

.security-hero-wrapper .service-pill-item i {
  color: #38bdf8;
}

.security-hero-wrapper .service-badge-pill {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.security-video-frame {
  position: relative;
  background: #020617;
  border-radius: 16px;
  padding: 0.5rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.12);
  overflow: hidden;
}

.security-video-frame video {
  border-radius: 12px;
  width: 100%;
  max-height: 290px;
  object-fit: cover;
  display: block;
}

/* ── Modern FAQ Accordion Polish & Fix ── */
.faq-accordion .card-header button::before,
.faq-accordion .card-header button::after,
.faq-accordion button::before,
.faq-accordion button::after,
.faq-accordion .faq-btn::before,
.faq-accordion .faq-btn::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.faq-accordion .faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  margin-bottom: 1.15rem;
  overflow: hidden;
  transition: all 0.22s ease-in-out;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  padding: 0 !important;
  transform: none !important;
}

.faq-accordion .faq-card:hover {
  border-color: rgba(63, 120, 224, 0.4) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  transform: none !important;
}

.faq-accordion .faq-card:has(.faq-btn:not(.collapsed)) {
  border-color: rgba(63, 120, 224, 0.45) !important;
  box-shadow: 0 6px 20px rgba(63, 120, 224, 0.08);
}

.faq-accordion .faq-btn {
  padding: 1.15rem 1.35rem !important;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  box-shadow: none !important;
  text-decoration: none !important;
}

.faq-accordion .faq-btn:focus,
.faq-accordion .faq-btn:active {
  box-shadow: none !important;
  outline: none !important;
}

.faq-accordion .faq-question-text {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
  margin: 0;
  transition: color 0.2s ease;
}

.faq-accordion .faq-btn:hover .faq-question-text {
  color: #3f78e0;
}

.faq-accordion .faq-btn:not(.collapsed) .faq-question-text {
  color: #3f78e0;
}

.faq-accordion .faq-icon-wrap {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(63, 120, 224, 0.08);
  color: #3f78e0;
  font-size: 1.25rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.faq-accordion .faq-btn:not(.collapsed) .faq-icon-wrap {
  transform: rotate(180deg);
  background: #3f78e0;
  color: #ffffff;
}

.faq-accordion .faq-body {
  padding: 0 1.35rem 1.35rem 1.35rem;
  font-size: 0.935rem;
  line-height: 1.7;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.95rem;
}

/* ── Portfolio Showcase Picture Auto Height ── */
.portfolio-showcase-container .card-modern-3d,
.card-modern-3d,
.portfolio-card {
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
}

.portfolio-img-layer,
.card-modern-3d .portfolio-img-layer,
.portfolio-showcase-container .portfolio-img-layer {
  position: relative;
  overflow: hidden;
  height: auto !important;
  min-height: 0 !important;
}

.portfolio-img-layer img,
.card-modern-3d .portfolio-img-layer img,
.card-modern-3d img.portfolio-image,
.portfolio-showcase-container img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: contain !important;
  display: block;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .service-feature-card,
  .service-hero-media-wrapper,
  .tld-pill-card,
  .service-feature-icon {
    transition: none !important;
    transform: none !important;
  }
}

