/**
 * Combined Soft Enterprise Theme Compiled Stylesheet
 *
 * @package CombinedSoft
 * @version 1.0.0
 */

/* Root Design Tokens & Variables */
:root {
  --cs-color-primary: #0057FF;
  --cs-color-primary-hover: #0046CC;
  --cs-color-secondary: #00B5FF;
  --cs-color-accent: #FF8C00;
  --cs-color-dark: #071A3D;
  --cs-color-bg-body: #F7FAFC;
  --cs-color-bg-card: #FFFFFF;
  --cs-color-text-main: #1F2937;
  --cs-color-text-muted: #6B7280;
  --cs-color-border: #E5E7EB;
  --cs-radius-pill: 9999px;
  --cs-radius-lg: 16px;
  --cs-shadow-glow: 0 0 20px rgba(0, 87, 255, 0.35);
  --cs-shadow-orange-glow: 0 0 20px rgba(255, 140, 0, 0.4);
}

/* Global Typography & Font Family */
body {
  font-family: 'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--cs-color-bg-body);
  color: var(--cs-color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-4, .display-5, .display-6 {
  font-family: 'Outfit', 'Hind Siliguri', sans-serif;
}

/* Sticky Header & Glassmorphism */
.cs-sticky-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-sticky-header.scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(7, 26, 61, 0.08);
}

/* Card Hover Elevation */
.transition-all {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* Floating WhatsApp Button */
.cs-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 1040;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.cs-whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Helper Utilities */
.fs-7 { font-size: 0.875rem; }
.fs-8 { font-size: 0.75rem; }
.bg-white-10 { background-color: rgba(255, 255, 255, 0.1); }
.border-white-20 { border-color: rgba(255, 255, 255, 0.2) !important; }
.max-w-600 { max-width: 600px; }

/* Mobile Fixed Bottom Navigation Bar */
.cs-mobile-bottom-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.cs-mobile-bottom-nav .nav-link-item {
  padding: 4px 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cs-mobile-bottom-nav .nav-link-item:active,
.cs-mobile-bottom-nav .nav-link-item:hover {
  transform: translateY(-2px);
}

/* Mobile Bottom Buffer to avoid content overlap */
@media (max-width: 991.98px) {
  body {
    padding-bottom: 60px !important;
  }
  .cs-whatsapp-float {
    bottom: 80px !important;
  }
}

/* WordPress Widget Area Card Styling */
.widget {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 0;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 1.5rem;
}

.widget .widget-title,
.widget h2, .widget h3, .widget h4, .widget h5 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cs-color-dark);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--cs-color-primary);
}

.widget ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.widget ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget ul li a {
  color: var(--cs-color-text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.widget ul li a:hover {
  color: var(--cs-color-primary);
}

/* Dark Mode Tokens Support */
@media (prefers-color-scheme: dark) {
  body.dark-mode-auto {
    background-color: #0B1329;
    color: #F3F4F6;
  }
}

/* Multi-Device Responsive UI Optimization (Mobile, Tablet, Desktop, Google TV) */

/* 1. Mobile Devices (< 576px) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .display-5 {
    font-size: 2rem !important;
  }
  .display-4 {
    font-size: 2.25rem !important;
  }
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* 2. Tablet Devices (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .site-main {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .widget-area {
    margin-top: 2rem;
  }
}

/* 3. Google TV & 4K Ultra HD Large Displays (1400px+) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px !important;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1600px !important;
  }
  body {
    font-size: 1.125rem !important;
  }
  .display-5 {
    font-size: 3.5rem !important;
  }
  .btn-lg {
    padding: 1rem 2.5rem !important;
    font-size: 1.25rem !important;
  }
}

/* Floating Widgets Positioning (Zero Overlap) */
.cs-whatsapp-float {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  right: auto !important;
  z-index: 1040 !important;
}

.cs-live-chat-trigger {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  z-index: 1040 !important;
}
