/* 
 * Abuja Cleaning Network (ACN) Enterprise Design System & Stylesheet
 * Clean, Professional, High-Density Enterprise Web Application UI
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --acn-primary: #0284c7;
  --acn-primary-hover: #0369a1;
  --acn-primary-light: #f0f9ff;
  --acn-secondary: #0f172a;
  --acn-accent: #059669;
  --acn-accent-hover: #047857;
  --acn-bg: #f8fafc;
  --acn-surface: #ffffff;
  --acn-border: #e2e8f0;
  --acn-border-dark: #cbd5e1;
  --acn-text: #1e293b;
  --acn-muted: #64748b;
  --acn-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --acn-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.08);
  --acn-shadow-lg: 0 4px 6px -1px rgb(0 0 0 / 0.08);
  --acn-radius: 6px;
  --acn-transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--acn-bg);
  color: var(--acn-text);
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-size: 0.925rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-outfit {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
}

/* Header & Header Navigation */
.acn-header {
  background: #ffffff;
  border-bottom: 1px solid var(--acn-border);
  position: sticky;
  top: 0;
  z-index: 1040;
}

.acn-brand-logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--acn-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.acn-brand-logo span.highlight {
  color: var(--acn-primary);
}

.acn-badge-pill {
  background: var(--acn-primary-light);
  color: var(--acn-primary);
  font-size: 0.725rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

/* Nav Links */
.acn-nav-link {
  color: var(--acn-text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--acn-transition);
}

.acn-nav-link:hover, .acn-nav-link.active {
  color: var(--acn-primary);
  background: #f1f5f9;
}

/* Enterprise Buttons */
.btn-acn-primary {
  background-color: var(--acn-primary);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 7px 16px;
  border-radius: var(--acn-radius);
  border: 1px solid var(--acn-primary);
  transition: var(--acn-transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-acn-primary:hover {
  background-color: var(--acn-primary-hover);
  border-color: var(--acn-primary-hover);
  color: #ffffff;
}

.btn-acn-accent {
  background-color: var(--acn-accent);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 7px 16px;
  border-radius: var(--acn-radius);
  border: 1px solid var(--acn-accent);
  transition: var(--acn-transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-acn-accent:hover {
  background-color: var(--acn-accent-hover);
  border-color: var(--acn-accent-hover);
  color: #ffffff;
}

.btn-acn-outline {
  border: 1px solid var(--acn-border-dark);
  color: var(--acn-text);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 6px 14px;
  border-radius: var(--acn-radius);
  background: #ffffff;
  transition: var(--acn-transition);
  text-decoration: none;
}

.btn-acn-outline:hover {
  border-color: var(--acn-border-dark);
  color: var(--acn-secondary);
  background: #f8fafc;
}

/* Restrained Enterprise Containers & Cards */
.acn-card {
  background: var(--acn-surface);
  border: 1px solid var(--acn-border);
  border-radius: var(--acn-radius);
  box-shadow: var(--acn-shadow-sm);
  padding: 20px;
}

.acn-card:hover {
  border-color: var(--acn-border-dark);
}

/* Enterprise Header Section */
.acn-hero {
  background: #0f172a;
  color: #ffffff;
  padding: 48px 0 40px 0;
  border-bottom: 1px solid #1e293b;
}

.acn-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.acn-hero p.lead {
  font-size: 1.1rem;
  color: #94a3b8;
  font-weight: 400;
}

/* Enterprise Admin Dashboard Layout */
.acn-admin-wrapper {
  display: flex;
  min-height: 100vh;
}

.acn-admin-sidebar {
  width: 240px;
  background: #0f172a;
  color: #94a3b8;
  flex-shrink: 0;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #1e293b;
}

.acn-admin-sidebar .sidebar-brand {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  padding-bottom: 16px;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.acn-admin-nav-item {
  color: #94a3b8;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--acn-transition);
}

.acn-admin-nav-item:hover {
  background: #1e293b;
  color: #f8fafc;
}

.acn-admin-nav-item.active {
  background: #0284c7;
  color: #ffffff;
  font-weight: 600;
}

.acn-admin-content {
  flex-grow: 1;
  background-color: var(--acn-bg);
  padding: 24px 28px;
}

@media (max-width: 991.98px) {
  .acn-admin-wrapper {
    flex-direction: column;
  }
  .acn-admin-sidebar {
    display: none;
  }
  .acn-admin-sidebar.show-mobile {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1050;
    width: 260px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  .acn-admin-content {
    padding: 16px;
  }
}

/* Enterprise Tables */
.table {
  font-size: 0.875rem;
}

.table > thead {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--acn-border);
}

.table > thead th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  padding: 10px 16px;
  border-bottom: 1px solid var(--acn-border);
}

.table > tbody td {
  padding: 12px 16px;
  color: #334155;
  border-bottom: 1px solid var(--acn-border);
}

/* Enterprise Badges & Status Indicators */
.badge {
  font-weight: 500;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.75rem;
}

/* Enterprise Footer */
.acn-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 40px 0 24px 0;
  border-top: 1px solid #1e293b;
  font-size: 0.875rem;
}

.acn-footer h5 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.acn-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--acn-transition);
}

.acn-footer a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Hero Animated Cleaning Illustration & Floating Highlights
   ========================================================================== */
.hero-animated-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hero-glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.35) 0%, rgba(56, 189, 248, 0.15) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: heroPulseGlow 6s ease-in-out infinite alternate;
}

@keyframes heroPulseGlow {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.hero-cleaning-card {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: heroCardFloat 5s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cleaning-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 60px -12px rgba(2, 132, 199, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

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

.hero-cleaning-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

@media (max-width: 767.98px) {
  .hero-cleaning-img {
    height: 280px;
  }
}

/* Floating Interactive Badges */
.hero-floating-badge {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0f172a;
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.8);
  font-size: 0.825rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero-floating-badge-top {
  top: -12px;
  right: -10px;
  animation: badgeFloatTop 4.5s ease-in-out infinite;
}

.hero-floating-badge-bottom {
  bottom: -14px;
  left: -10px;
  animation: badgeFloatBottom 5.2s ease-in-out infinite;
}

.hero-floating-badge-mid {
  bottom: 60px;
  right: -15px;
  animation: badgeFloatMid 4.8s ease-in-out infinite;
}

@keyframes badgeFloatTop {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(1deg);
  }
}

@keyframes badgeFloatBottom {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(6px) rotate(-1deg);
  }
}

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

/* Floating Sparkle Particles */
.hero-sparkle {
  position: absolute;
  z-index: 3;
  color: #facc15;
  animation: sparkleTwinkle 2.5s infinite ease-in-out alternate;
  pointer-events: none;
}

@keyframes sparkleTwinkle {
  0% {
    transform: scale(0.7) rotate(0deg);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.2) rotate(180deg);
    opacity: 1;
  }
}

/* Modern Quote Modal Polish */
.quote-modal-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  padding: 24px 28px;
}

.quote-modal-content {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

/* ==========================================================================
   Modern UI Elements Inspired by abujadental.com.ng
   ========================================================================== */

/* Curved Section Dividers */
.shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 1;
}

.shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.shape-divider-bottom .shape-fill {
  fill: #f8fafc;
}

.shape-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.shape-divider-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.shape-divider-top .shape-fill {
  fill: #ffffff;
}

/* Circular Icon Benefit Boxes (from abujadental icon-box) */
.acn-icon-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.acn-icon-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.1);
  border-color: #bae6fd;
}

.acn-icon-circle {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.acn-icon-circle.emerald {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

/* Numbered Service Cards (from abujadental 01-08 grid) */
.acn-num-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.acn-num-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: #0284c7;
  transition: height 0.25s ease;
}

.acn-num-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.acn-num-card:hover::before {
  height: 100%;
}

.acn-num-badge {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: inline-block;
}

/* Modern Inline Booking Card (LatePoint inspired) */
.acn-booking-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.acn-booking-input {
  border-radius: 12px;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  font-size: 0.925rem;
  transition: all 0.2s ease;
}

.acn-booking-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
  outline: none;
}

/* Testimonial Cards */
.acn-testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.acn-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.acn-quote-icon {
  font-size: 1.8rem;
  color: #0284c7;
  opacity: 0.35;
  margin-bottom: 14px;
}

/* Floating Quick Action Buttons (Call + WhatsApp) */
.floating-quick-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-action-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  font-size: 1.4rem;
}

.floating-action-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.floating-action-whatsapp {
  background-color: #25d366;
}

.floating-action-call {
  background-color: #0284c7;
}

/* Trust Metric Badges */
.trust-metric-pill {
  background: #ffffff;
  border-radius: 50px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}


