/* ==========================================================================
   Classic Services - Custom Design System & Specialized Styles
   Designed for High Conversion, Urban Company Polish, and Mobile-App Ready UI
   ========================================================================== */

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

:root {
  --brand-navy-dark: #08162b;
  --brand-navy: #0f2744;
  --brand-navy-light: #183b63;
  --brand-blue: #2563eb;
  --brand-yellow: #f59e0b;
  --brand-yellow-light: #fbbf24;
  --brand-yellow-soft: #fef3c7;
  --brand-slate: #f1f5f9;
  --brand-card-border: rgba(226, 232, 240, 0.8);
  --brand-shadow-sm: 0 2px 8px rgba(15, 39, 68, 0.04);
  --brand-shadow-md: 0 8px 24px -4px rgba(15, 39, 68, 0.08);
  --brand-shadow-lg: 0 20px 40px -10px rgba(15, 39, 68, 0.12);
  --brand-shadow-hover: 0 24px 48px -12px rgba(15, 39, 68, 0.16);
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Headings Globally: Outfit */
h1,
h2,
h3,
h4,
h5,
h6,
.font-display,
.heading-font {
  font-family: 'Outfit', sans-serif !important;
}

/* Paragraphs Globally: Inter */
p {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* UI Elements & Controls: Inter */
span,
a,
li,
input,
select,
textarea,
button,
label {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   PARAGRAPH & MENU TYPOGRAPHY
   All paragraphs & menu items: 1.05rem on desktop/tablet, 0.9rem on mobile
   ========================================================================== */
section:not(.hero-pattern-bg) p,
footer p,
.modal-content-panel p,
#toastNotification p,
header nav a,
#mobileNavMenu a,
footer ul li a,
footer .footer-contact-item {
  font-size: 1.05rem !important;
  line-height: 1.625;
}

/* Footer Headings: Prominent size and visual hierarchy */
footer h4 {
  font-size: 1.35rem !important;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

/* Process / How It Works Card Text Polish */
#how-it-works .group p {
  font-size: 0.925rem !important;
  line-height: 1.55 !important;
}

@media (max-width: 640px) {

  section:not(.hero-pattern-bg) p,
  footer p,
  .modal-content-panel p,
  #toastNotification p,
  header nav a,
  #mobileNavMenu a,
  footer ul li a,
  footer .footer-contact-item {
    font-size: 0.9rem !important;
    line-height: 1.55;
  }

  footer h4 {
    font-size: 1.15rem !important;
  }
}

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

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Subtle Hero Pattern Overlay */
.hero-pattern-bg {
  background-color: #0b1c33;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(15, 39, 68, 0.9) 0%, rgba(8, 22, 43, 0.98) 100%);
}

.hero-mesh-grid {
  background-size: 32px 32px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-panel-dark {
  background: rgba(15, 39, 68, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brush Stroke Highlight (Ref: Painter Image) */
.highlight-brush {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight-brush::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: -4px;
  right: -4px;
  height: 12px;
  background: #fbbf24;
  opacity: 0.55;
  border-radius: 4px;
  z-index: -1;
  transform: rotate(-1deg);
}

/* Floating Animation */
@keyframes softFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

.animate-soft-float {
  animation: softFloat 4s ease-in-out infinite;
}

@keyframes softFloatSlow {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.animate-float-slow {
  animation: softFloatSlow 6s ease-in-out infinite;
}

/* Service Card Physics & Interactions (Smooth 60fps Transition matching D:/index.html) */
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  will-change: transform, box-shadow;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.card-image-wrapper {
  overflow: hidden;
  position: relative;
}

.service-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Category Tab Cards (Matches Service Card physics, border & hover shift-up) */
.category-tab {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e2e8f0;
  box-shadow: var(--brand-shadow-sm);
  background: #ffffff;
}

.category-tab:hover {
  transform: translateY(-5px);
  box-shadow: var(--brand-shadow-hover);
  border-color: #cbd5e1;
}

.category-tab.active {
  background-color: #0f2744 !important;
  color: #ffffff !important;
  border-color: #0f2744 !important;
  box-shadow: 0 8px 20px -4px rgba(15, 39, 68, 0.25) !important;
}

.category-tab.active:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -6px rgba(15, 39, 68, 0.35) !important;
  border-color: #0f2744 !important;
}

.category-tab.active .tab-icon {
  color: #fbbf24;
}

/* Golden Accent Button */
.btn-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0b1a2e;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
}

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

/* Primary Navy Button */
.btn-navy {
  background: #0f2744;
  color: #ffffff;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.2);
}

.btn-navy:hover {
  background: #183b63;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 39, 68, 0.3);
}

/* Quick Search Bar Floating Dock */
.quick-search-dock {
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 39, 68, 0.14);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Custom Modal & Drawer Transitions */
.modal-backdrop {
  background-color: rgba(11, 28, 51, 0.65);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease;
}

.modal-content-panel {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Notification Toast */
.toast-notice {
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Process Step Connector */
.step-number {
  background: #ffffff;
  border: 2px solid #0f2744;
  color: #0f2744;
}

.step-card:hover .step-number {
  background: #0f2744;
  color: #fbbf24;
}

/* Flutter / React readiness metadata tag */
[data-component] {
  position: relative;
}