/* 
   Modern UI Override CSS - Lovable.dev Theme
   This file applies modern aesthetics (dark/emerald hero, sleek cards) 
   and fixes all z-index/overlap issues.
*/

:root {
  --color-brand-green: #10b981; /* Emerald */
  --color-brand-green-hover: #059669;
  --color-dark-bg: #0f172a; /* Slate 900 */
  --color-dark-bg-alt: #1e293b; /* Slate 800 */
  --color-light-bg: #f8fafc; /* Slate 50 */
  
  --text-main: #334155;
  --text-light: #64748b;
  --text-white: #ffffff;
  --text-white-muted: #cbd5e1;
  --transition-fast: 0.2s ease;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --transition-normal: 0.3s ease;
}

body {
  font-family: 'Inter', sans-serif !important;
  color: var(--text-main) !important;
  background-color: #f8fafc !important;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px) !important;
  background-size: 30px 30px !important;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Fix Z-Index and Overlapping for Dropdowns */
#header, .sticky-header {
  position: relative;
  z-index: 10000 !important;
}

.navigation.menu .sub-menu {
  z-index: 10001 !important;
  background: var(--text-white) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
  padding: 10px 0 !important;
  margin-top: 5px !important;
  min-width: 280px !important; /* Fix text cutoff */
}

.navigation.menu .sub-menu li a {
  padding: 10px 20px !important;
  font-size: 14px !important;
  color: var(--text-main) !important;
  white-space: normal !important; /* Allow wrapping */
  display: block !important;
  line-height: 1.4 !important;
}

/* Page titles should use the dark hero theme */
.page-title-container {
  position: relative;
  z-index: 1 !important; 
  background-color: var(--color-dark-bg) !important; /* Fallback */
  background-size: cover !important;
  background-position: center !important;
  border-bottom: none !important;
  padding: 100px 0 80px !important;
  height: auto !important;
  overflow: hidden !important;
  text-align: left !important;
}

.page-title-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65); /* Dark overlay */
  z-index: 0;
}

/* 3S hero (compliancetracking.php) — show upper part (face) + no dark overlay */
.page-title-container[style*="images/3s_hero.png"] {
  /* Mid-frame composition (more professional than top-only) */
  background-position: center 25% !important;
}
.page-title-container[style*="images/3s_hero.png"]::before {
  background: transparent !important;
  opacity: 0 !important;
}

/* SEnSE_L hero (sense.php) — same treatment as 3S hero */
.page-title-container[style*="images/sense_hero.png"] {
  background-position: center 34% !important;
}
.page-title-container[style*="images/sense_hero.png"]::before {
  background: transparent !important;
  opacity: 0 !important;
}

/* Legal Assessment hero (legalassessment.php) — same treatment as SEnSE_L hero */
.page-title-container[style*="images/legal_hero_custom.png"] {
  background-position: center 37% !important;
}
.page-title-container[style*="images/legal_hero_custom.png"]::before {
  background: transparent !important;
  opacity: 0 !important;
}

/* BEST hero (BBSSoft.php) — same treatment as Legal Assessment hero */
.page-title-container[style*="images/best_hero_custom.png"] {
  background-position: center 40% !important;
}
.page-title-container[style*="images/best_hero_custom.png"]::before {
  background: transparent !important;
  opacity: 0 !important;
}

.page-title-container .page-title {
  width: 90% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  box-sizing: border-box !important;
  display: block !important;
}

.page-title-container .page-title-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  width: 100% !important;
}

.page-title-container .page-title-captions {
  width: 100% !important;
  float: none !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

.page-title-container h1 {
  color: var(--text-white) !important;
  font-size: 2.5rem !important;
  line-height: 1.3 !important;
  z-index: 1;
  text-align: left !important;
  margin-bottom: 10px !important;
  word-wrap: break-word !important;
  padding: 0 !important;
}
.page-title-container .breadcrumbs {
  display: inline-flex !important;
  background: rgba(255, 255, 255, 0.95) !important;
  padding: 8px 24px !important;
  border-radius: 50px !important;
  list-style: none !important;
  margin: 15px 0 0 0 !important;
  position: relative;
  z-index: 2;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.4);
}

.page-title-container .breadcrumbs li {
  color: #f59e0b !important; /* Elegant yellow-orange */
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  letter-spacing: 0.3px !important;
}

.page-title-container .breadcrumbs a {
  color: #0272a7 !important; /* Corporate Blue */
  font-weight: 600 !important;
}

.page-title-container .breadcrumbs a:hover {
  color: #0f172a !important;
}

.page-title-container .breadcrumbs li::after {
  content: "/" !important;
  margin: 0 10px !important;
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

.page-title-container .breadcrumbs li:last-child::after {
  content: "" !important;
  margin: 0 !important;
}

/* Blue Contact Banner */
.blue-contact-banner-container {
  display: flex;
  justify-content: flex-end;
  background: transparent;
  position: relative;
  margin-top: -1px; /* seamless */
}

.blue-contact-banner {
  background: #0272a7;
  width: 85%;
  padding: 20px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
}

.blue-contact-banner h4 {
  color: white !important;
  margin: 0 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif !important;
}

.blue-contact-banner .btn-orange {
  background: #f97316 !important;
  color: white !important;
  padding: 12px 30px !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.blue-contact-banner .btn-orange:hover {
  background: #ea580c !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.4);
}

@media (max-width: 768px) {
  .blue-contact-banner {
    width: 100%;
    clip-path: none;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 30px 20px;
  }
}

/* Header & Nav Glassmorphism (Light Mode) */
#header, .sticky-header {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

#header .avada-row, .sticky-header .avada-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 98% !important;
  max-width: 1500px !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

.logo {
  display: flex !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.logo img {
  max-height: 70px !important;
  width: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.logo a {
  display: flex !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}

nav.nav-holder {
  margin-top: 0 !important;
  margin-left: 50px !important;
}

/* Scope flex only to the desktop nav — so jQuery can control #mobile-nav */
nav.nav-holder .navigation.menu {
  display: flex !important;
  align-items: center !important;
}

/* Mobile nav clone starts hidden; no !important so jQuery slideToggle works */
.mobile-nav-holder #mobile-nav,
.mobile-nav-holder .navigation.menu {
  display: none;
}

.navigation.menu li a {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-main) !important;
  transition: all var(--transition-fast);
  padding: 8px 6px !important;
  white-space: nowrap !important;
}

.navigation.menu li a:hover {
  color: var(--color-brand-green) !important;
}

.navigation.menu .sub-menu li a {
  padding: 10px 20px !important;
  font-size: 14px !important;
  color: var(--text-main) !important;
}
.navigation.menu .sub-menu li a:hover {
  background: rgba(16, 185, 129, 0.05);
  color: var(--color-brand-green) !important;
}

/* Request Demo button in nav */
li:has(.nav-demo-btn) {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}
.navigation.menu li a.nav-demo-btn,
.nav-demo-btn {
  background: #0272a7 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  padding: 9px 24px !important;
  margin-left: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px !important;
  text-decoration: none !important;
  display: inline-block !important;
  line-height: normal !important;
  height: auto !important;
  width: auto !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
/* Force white text — overrides any gradient/fill-color bleed */
nav.nav-holder .navigation.menu li a.nav-demo-btn {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #0272a7 !important;
}

.navigation.menu li a.nav-demo-btn:hover,
.nav-demo-btn:hover {
  background: #025f8e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Modern Hero Section - Lovable Dark Theme */
.modern-hero {
  background: radial-gradient(circle at top right, #1a2744 0%, var(--color-dark-bg) 100%);
  color: var(--text-white);
  padding: 120px 20px 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.hero-content h1 {
  color: var(--text-white) !important;
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-content h1 span.highlight {
  color: var(--color-brand-green);
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-white-muted);
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.btn-primary {
  background: var(--color-brand-green);
  color: var(--text-white) !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary:hover {
  background: var(--color-brand-green-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white) !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item h3 {
  color: var(--text-white);
  font-size: 2rem;
  margin: 0 0 4px 0;
}

.stat-item p {
  color: var(--text-white-muted);
  font-size: 0.875rem;
  margin: 0;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0f172a;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: none !important;
}

.hero-image-overlay {
  display: none !important;
}

.hero-image-overlay h3 {
  color: var(--text-white);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.hero-image-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-image-overlay ul li {
  color: var(--text-white-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.hero-image-overlay ul li::before {
  content: '•';
  color: var(--color-brand-green);
  font-size: 1.5rem;
  margin-right: 8px;
  line-height: 0.5;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Feature Cards (White Lovable Theme) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.feature-card {
  background: linear-gradient(145deg, rgba(219, 234, 254, 0.50) 0%, rgba(240, 249, 255, 0.40) 55%, rgba(224, 242, 254, 0.45) 100%);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.03);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
  background: var(--color-brand-green);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon-wrapper i, .feature-icon-wrapper svg {
  color: var(--text-white);
  font-size: 24px;
}

.feature-card h3 {
  color: var(--text-main);
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif !important;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.modern-card {
  background: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
  margin: 9px 0;
}

.modern-card h1, .modern-card h2, .modern-card h3 {
  margin-bottom: 20px;
}

/* Force override of Avada inline styles like <span style="..."> */
.modern-card h1 span, .modern-card h2 span, .modern-card h3 span,
.modern-card h1 strong, .modern-card h2 strong, .modern-card h3 strong {
  color: var(--color-brand-green) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
}

.modern-card p, .modern-card p span, .modern-card li, .modern-card li span {
  color: var(--text-muted) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}

.modern-card strong span, .modern-card p strong, .modern-card li strong {
  color: var(--text-main) !important;
  font-weight: 600 !important;
}

/* Footer Styling */
#footer {
  background-color: var(--color-dark-bg) !important;
  color: var(--text-muted) !important;
  padding: 22px 0 !important;
  position: relative !important;
  border-top: none !important;
}

#footer h3 {
  color: var(--text-white) !important;
}

#footer a {
  color: var(--text-white-muted) !important;
}

#footer a:hover {
  color: var(--color-brand-green) !important;
}

/* ==========================================================================
   VISUAL RICHNESS ENHANCEMENTS — Tints, Micro-animations, Polish
   ========================================================================== */

/* --- Subtle warm tint on main content wrapper --- */
#wrapper {
  background: linear-gradient(180deg, #f0f4f8 0%, #f8fafc 8%, #ffffff 20%, #f8fafc 80%, #f0f4f8 100%) !important;
}

/* --- Give the main content areas a very subtle blue-grey tint --- */
#main,
div[id="main"] {
  background: linear-gradient(135deg, rgba(2, 114, 167, 0.02) 0%, rgba(16, 185, 129, 0.02) 100%) !important;
}

/* Ensure top contact bar phone/email links are always white */
.top-contact-bar a {
  color: white !important;
}
.top-contact-bar a:hover {
  color: #0aafd8 !important;
}

/* --- Enhanced Modern Card with left accent border + hover lift --- */
.modern-card {
  border-left: 4px solid #0272a7 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  background: linear-gradient(145deg, rgba(219, 234, 254, 0.55) 0%, rgba(240, 249, 255, 0.45) 55%, rgba(224, 242, 254, 0.50) 100%) !important;
}

/* --- Card heading gradient underline --- */
.modern-card > strong {
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 0 !important;
}

.modern-card > strong::after {
  display: none !important;
}

.modern-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
}

/* --- Separator line styling --- */
.fusion-separator.sep-single {
  border-color: #e2e8f0 !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

.fusion-separator .icon-wrapper {
  border-color: #e2e8f0 !important;
  background: #f8fafc !important;
}

.fusion-separator .icon-wrapper i {
  color: #0272a7 !important;
}

/* --- "Our Clients" section polish --- */
.fusion-fullwidth.fullwidth-box {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.fusion-fullwidth .avada-row > h1 {
  display: block !important;
  text-align: center !important;
}

.fusion-fullwidth .avada-row > h1::after {
  display: none !important;
}

/* --- Client logo images: full colour with hover effect --- */
.es-carousel .image img {
  filter: none !important;
  opacity: 1 !important;
  transition: all 0.4s ease !important;
}

.es-carousel .image:hover img {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.08);
}

/* --- Sidebar / aside enhancements --- */
aside.sidebar {
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  padding: 28px 16px 16px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* --- Download Brochure button polish --- */
a.button {
  background: linear-gradient(135deg, #0272a7, #0a8fcf) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  border: none !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  box-shadow: 0 4px 12px rgba(2, 114, 167, 0.25) !important;
}

a.button:hover {
  background: linear-gradient(135deg, #015d8a, #0272a7) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(2, 114, 167, 0.35) !important;
}

/* --- Brochure flyer images: rounded frame --- */
aside.sidebar img,
aside img {
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.3s ease !important;
}

aside.sidebar img:hover,
aside img:hover {
  transform: scale(1.03) !important;
}

/* --- List items inside content: styled bullet dots --- */
.modern-card ul {
  padding-left: 0 !important;
  list-style: none !important;
}

.modern-card ul li {
  position: relative !important;
  padding-left: 24px !important;
  margin-bottom: 10px !important;
}

.modern-card ul li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 10px !important;
  width: 8px !important;
  height: 8px !important;
  background: linear-gradient(135deg, #0272a7, #10b981) !important;
  border-radius: 50% !important;
}

/* --- Testimonial star ratings --- */
font[color="#eeb92a"] {
  font-size: 20px !important;
  letter-spacing: 2px !important;
}

/* --- Testimonial quote text styling --- */
p[style*="font-style:italic"] {
  background: linear-gradient(135deg, rgba(2, 114, 167, 0.04), rgba(16, 185, 129, 0.04)) !important;
  border-left: 3px solid #0272a7 !important;
  padding: 16px 20px !important;
  border-radius: 0 8px 8px 0 !important;
  margin: 10px 0 !important;
}

/* --- Navigation hover underline effect --- */
.navigation.menu > li > a {
  position: relative !important;
  border-top: none !important;
}

#nav ul .current-menu-item > a,
#sticky-nav ul .current-menu-item > a {
  border-color: transparent !important;
}

.navigation.menu > li > a::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, #0272a7, #10b981) !important;
  transition: all 0.3s ease !important;
  transform: translateX(-50%) !important;
}

.navigation.menu > li > a:hover::after {
  width: 80% !important;
}

/* --- Sub-menu item hover slide-in effect --- */
.navigation.menu .sub-menu li a {
  position: relative !important;
  transition: all 0.3s ease, padding-left 0.3s ease !important;
}

.navigation.menu .sub-menu li a:hover {
  padding-left: 28px !important;
  background: rgba(2, 114, 167, 0.06) !important;
  color: #0272a7 !important;
}

.navigation.menu .sub-menu li a::before {
  content: "" !important;
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 0 !important;
  height: 2px !important;
  background: #0272a7 !important;
  transition: width 0.3s ease !important;
}

.navigation.menu .sub-menu li a:hover::before {
  width: 8px !important;
}


/* --- Page title h1 text-shadow for depth --- */
.page-title-container h1.entry-title {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
  z-index: 2 !important;
}

/* --- Breadcrumb home icon --- */
.page-title-container .breadcrumbs li:first-child a::before {
  content: "\f015" !important;
  font-family: "FontAwesome" !important;
  margin-right: 6px !important;
  font-size: 12px !important;
}

/* --- Image frame cards on package pages --- */
.imageframe img,
.fusion-imageframe img {
  border-radius: 10px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.imageframe img:hover,
.fusion-imageframe img:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

/* --- Smooth scroll behaviour --- */
html {
  scroll-behavior: smooth !important;
}

/* --- Selection highlight colour matching brand --- */
::selection {
  background: rgba(2, 114, 167, 0.2) !important;
  color: #0f172a !important;
}

/* --- Links inside content cards --- */
.modern-card a,
.post-content a {
  color: #0272a7 !important;
  text-decoration: none !important;
  border-bottom: 1px dashed rgba(2, 114, 167, 0.3) !important;
  transition: all 0.2s ease !important;
}

.modern-card a:hover,
.post-content a:hover {
  color: #10b981 !important;
  border-bottom-color: #10b981 !important;
}

/* --- Page content wrapper subtle padding --- */
.clearfix[style*="width:90%"] {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

/* --- Blue contact banner accent --- */
.blue-contact-banner {
  border-top: 2px solid rgba(255, 255, 255, 0.15) !important;
}

/* --- Google Play button image --- */
a.button img {
  border-radius: 8px !important;
  box-shadow: none !important;
}

/* --- YouTube video iframes: styled + hover --- */
iframe[src*="youtube"] {
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
  margin: 10px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

iframe[src*="youtube"]:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18) !important;
}

/* --- Footer: richer dark gradient + accent stripe --- */
#footer {
  background: linear-gradient(180deg, #0f172a 0%, #0a1120 100%) !important;
}

#footer::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 3px !important;
  background: linear-gradient(90deg, #0272a7, #10b981, #0272a7) !important;
}

/* --- Subtle load animation for page headers --- */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-title-container h1.entry-title {
  animation: fadeSlideUp 0.6s ease-out !important;
}

.page-title-container .breadcrumbs {
  animation: fadeSlideUp 0.8s ease-out !important;
}

.blue-contact-banner-container {
  animation: fadeSlideUp 0.5s ease-out !important;
}

/* ==========================================================================
   DECORATIVE FILLS — Background washes, blobs, accents for white spaces
   ========================================================================== */

/* --- Body: replace dot pattern with a richer layered background --- */
body {
  background-color: #f1f5f9 !important;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(2, 114, 167, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(2, 114, 167, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%) !important;
  background-attachment: fixed !important;
  background-size: cover !important;
}

/* --- Floating decorative blob behind content (top-right) --- */
.clearfix::before {
  content: "" !important;
  position: absolute !important;
  top: -60px !important;
  right: -80px !important;
  width: 300px !important;
  height: 300px !important;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%) !important;
  border-radius: 50% !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* --- Floating decorative blob (bottom-left) --- */
.clearfix::after {
  content: "" !important;
  position: absolute !important;
  bottom: -40px !important;
  left: -60px !important;
  width: 250px !important;
  height: 250px !important;
  background: radial-gradient(circle, rgba(2, 114, 167, 0.05) 0%, transparent 70%) !important;
  border-radius: 50% !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* --- Modern card: subtle top-right corner accent --- */
.modern-card::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 80px !important;
  height: 80px !important;
  background: linear-gradient(135deg, transparent 50%, rgba(2, 114, 167, 0.04) 50%) !important;
  border-radius: 0 16px 0 0 !important;
  pointer-events: none !important;
}

.modern-card {
  position: relative !important;
  overflow: hidden !important;
}

/* --- Diagonal accent stripe between hero and content --- */
.blue-contact-banner-container::after {
  content: "" !important;
  display: block !important;
  width: 100% !important;
  height: 6px !important;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 6px,
    rgba(2, 114, 167, 0.08) 6px,
    rgba(2, 114, 167, 0.08) 12px
  ) !important;
}

/* --- "Our Clients" section: decorative top wave divider --- */
.fusion-fullwidth.fullwidth-box {
  position: relative !important;
}

.fusion-fullwidth.fullwidth-box::before {
  content: "" !important;
  position: absolute !important;
  top: -2px !important;
  left: 0 !important;
  width: 100% !important;
  height: 30px !important;
  background: linear-gradient(180deg, rgba(241, 245, 249, 1) 0%, transparent 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* --- Sidebar: top accent bar --- */
aside.sidebar::before {
  display: none !important;
}

/* --- Page content sections: alternating subtle tint bands --- */
.clearfix[style*="width:90%"] {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(2, 114, 167, 0.015) 30%,
    rgba(16, 185, 129, 0.015) 60%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* --- Section heading decorative underline (global for h1 spans) --- */
.modern-card h1 {
  position: relative !important;
  padding-bottom: 16px !important;
}

.modern-card h1::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 50px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #0272a7, #10b981) !important;
  border-radius: 2px !important;
}

/* --- Testimonial company logo images: circle frame --- */
img[alt="Clariant"],
img[alt="farmson"],
.modern-card > img[height="100"] {
  border-radius: 50% !important;
  border: 3px solid #e2e8f0 !important;
  padding: 4px !important;
  background: white !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
}

/* --- Animated floating dot decoration (CSS only) --- */
@keyframes floatDot {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50% { transform: translateY(-15px) rotate(180deg); opacity: 0.8; }
}

/* Place floating decorative dots on wrapper */
#wrapper::before {
  content: "" !important;
  position: fixed !important;
  top: 30% !important;
  right: 3% !important;
  width: 12px !important;
  height: 12px !important;
  background: rgba(2, 114, 167, 0.12) !important;
  border-radius: 50% !important;
  animation: floatDot 6s ease-in-out infinite !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

#wrapper::after {
  content: "" !important;
  position: fixed !important;
  top: 55% !important;
  left: 4% !important;
  width: 8px !important;
  height: 8px !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border-radius: 50% !important;
  animation: floatDot 8s ease-in-out infinite 2s !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* --- Footer: decorative top wave effect --- */
#footer {
  position: relative !important;
}

/* --- Separator chevron icons: enhanced look --- */
.fusion-separator .icon-wrapper {
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  border: 2px solid #e2e8f0 !important;
  background: white !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.fusion-separator .icon-wrapper i {
  font-size: 12px !important;
}


/* --- Gradient accent on inner page content strong headings --- */
strong[style*="color: #0272a7"] {
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 16px !important;
}

strong[style*="color: #0272a7"]::after {
  content: "" !important;
  position: absolute !important;
  bottom: 4px !important;
  left: 0 !important;
  width: 40px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #0272a7, #10b981) !important;
  border-radius: 1px !important;
}

/* --- Enhance the sticky header with a subtle shadow on scroll --- */
.sticky-header {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06) !important;
}

/* --- Scrollbar styling (webkit browsers) --- */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0272a7, #10b981);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #015d8a, #059669);
}

/* --- Post content wrapper (contact page etc.) subtle styling --- */
.post-content {
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 12px !important;
  position: relative !important;
}

/* --- Contact page map/image section polish --- */
.fusion-column-wrapper {
  position: relative !important;
}

/* --- Package page sidebar list: better spacing --- */
aside ul[style*="list-style:none"] li {
  margin-bottom: 12px !important;
}

/* --- WhatsApp/social float buttons: don't interfere --- */
.whatsapp-btn,
[class*="whatsapp"],
[class*="social-float"] {
  z-index: 99999 !important;
}

/* --- Force white text on dark CTA panels inside content areas --- */
.clearfix div[style*="background: linear-gradient(135deg, #0f172a"] h3,
.clearfix div[style*="background: linear-gradient(135deg, #0f172a"] h2,
.clearfix div[style*="background: linear-gradient(135deg, #0f172a"] h1 {
  color: #ffffff !important;
  font-size: 22px !important;
}

.clearfix div[style*="background: linear-gradient(135deg, #0f172a"] p {
  color: #94a3b8 !important;
  font-size: 14px !important;
}

.clearfix div[style*="background: linear-gradient(135deg, #0f172a"] a {
  border-bottom: none !important;
}

/* --- Force white text on dark stat cards --- */
.clearfix div[style*="background: linear-gradient(135deg, #0f172a, #1e3a5f)"] div {
  color: inherit !important;
}

/* --- Why Choose section headings fix --- */
.clearfix div[style*="rgba(2,114,167,0.05)"] h2,
.clearfix div[style*="rgba(2,114,167,0.05)"] h2 span {
  color: #0272a7 !important;
  font-size: 24px !important;
}

.clearfix div[style*="rgba(2,114,167,0.05)"] strong {
  color: #0f172a !important;
}

.clearfix div[style*="rgba(2,114,167,0.05)"] p {
  color: #64748b !important;
  font-size: 13px !important;
}

/* ==========================================================================
   STANDOUT EFFECTS — Animated gradients, glows, premium interactions
   ========================================================================== */

/* --- Animated gradient text on hero heading highlight --- */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content h1 span.highlight {
  background: linear-gradient(270deg, #10b981, #3b82f6, #10b981) !important;
  background-size: 400% 400% !important;
  animation: gradientShift 6s ease infinite !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* --- Glowing green accent on the Request a Demo button --- */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(16, 185, 129, 0.3); }
  50% { box-shadow: 0 0 24px rgba(16, 185, 129, 0.6), 0 0 48px rgba(16, 185, 129, 0.2); }
}

.btn-primary,
a[style*="background:#10b981"],
a[style*="background: #10b981"] {
  animation: pulseGlow 3s ease-in-out infinite !important;
}

.btn-primary:hover,
a[style*="background:#10b981"]:hover {
  animation: none !important;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* --- Quick Enquiry orange button glow --- */
@keyframes orangeGlow {
  0%, 100% { box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3); }
  50% { box-shadow: 0 4px 20px rgba(249, 115, 22, 0.5), 0 0 40px rgba(249, 115, 22, 0.15); }
}

.blue-contact-banner .btn-orange {
  animation: orangeGlow 3s ease-in-out infinite !important;
}

.blue-contact-banner .btn-orange:hover {
  animation: none !important;
}

/* --- Card shine sweep on hover --- */
@keyframes cardShine {
  0% { left: -100%; }
  100% { left: 200%; }
}

.modern-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 50% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent) !important;
  z-index: 1 !important;
  pointer-events: none !important;
  transition: none !important;
}

.modern-card:hover::before {
  animation: cardShine 0.8s ease-out forwards !important;
}

/* --- Blue contact banner: animated gradient background --- */
@keyframes bannerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.blue-contact-banner {
  background: linear-gradient(135deg, #0272a7, #0a5c8a, #0272a7, #10b981) !important;
  background-size: 300% 300% !important;
  animation: bannerGradient 8s ease infinite !important;
}

/* --- Header gradient line animation --- */
@keyframes headerLineShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.header-wrapper::before {
  background: linear-gradient(90deg, #0272a7, #10b981, #3b82f6, #0272a7) !important;
  background-size: 200% 100% !important;
  animation: headerLineShift 4s linear infinite !important;
}

#footer::before {
  background: linear-gradient(90deg, #0272a7, #10b981, #3b82f6, #0272a7) !important;
  background-size: 200% 100% !important;
  animation: headerLineShift 4s linear infinite !important;
}

/* --- Stat number cards: count-up glow effect on hover --- */
.clearfix div[style*="background: linear-gradient(135deg, #0f172a, #1e3a5f)"] {
  transition: all 0.3s ease !important;
  border: 1px solid transparent !important;
}

.clearfix div[style*="background: linear-gradient(135deg, #0f172a, #1e3a5f)"]:hover {
  border-color: rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15), inset 0 0 20px rgba(16, 185, 129, 0.05) !important;
  transform: translateY(-4px) !important;
}

/* --- Feature icon cards (Why Choose sections): hover lift + glow --- */
.clearfix div[style*="rgba(2,114,167,0.05)"] div[style*="background:white"] {
  transition: all 0.3s ease !important;
  border: 1px solid transparent !important;
}

.clearfix div[style*="rgba(2,114,167,0.05)"] div[style*="background:white"]:hover {
  border-color: rgba(2, 114, 167, 0.15) !important;
  box-shadow: 0 8px 30px rgba(2, 114, 167, 0.1) !important;
  transform: translateY(-4px) !important;
}

/* --- Breadcrumb pill: subtle shimmer --- */
@keyframes breadcrumbShimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

.page-title-container .breadcrumbs {
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,0.95) 60%, rgba(255,255,255,0.95) 100%) !important;
  background-size: 400px 100% !important;
  animation: breadcrumbShimmer 4s ease-in-out infinite !important;
}

/* --- Hero section: floating particle dots --- */
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(15px,-20px) scale(1.2); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-20px,15px) scale(0.8); } }
@keyframes float3 { 0%,100% { transform: translate(0,0); } 33% { transform: translate(10px,-10px); } 66% { transform: translate(-10px,10px); } }

.modern-hero::before {
  content: "" !important;
  position: absolute !important;
  top: 20% !important;
  right: 8% !important;
  width: 6px !important;
  height: 6px !important;
  background: rgba(16, 185, 129, 0.4) !important;
  border-radius: 50% !important;
  animation: float1 8s ease-in-out infinite !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.modern-hero::after {
  content: "" !important;
  position: absolute !important;
  bottom: 30% !important;
  left: 5% !important;
  width: 4px !important;
  height: 4px !important;
  background: rgba(59, 130, 246, 0.3) !important;
  border-radius: 50% !important;
  animation: float2 10s ease-in-out infinite !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.modern-hero {
  position: relative !important;
}

/* --- Page hero overlay: subtle animated scanline --- */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.page-title-container::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%) !important;
  animation: scanline 6s linear infinite !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* --- Scrollbar glow --- */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0272a7, #10b981) !important;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.3) !important;
}

/* ==========================================================================
   COMPREHENSIVE POLISH v2 — Tints, Bigger Logos, Tight Sections, Forms
   Applied: all pages via CSS; no behavioural changes.
   ========================================================================== */

/* --- 1. Eliminate dated thumbs-up / chevron separator icons --- */
.fusion-separator .icon-wrapper { display: none !important; }
.fusion-separator.sep-single    { border: none !important; height: 0 !important; margin: 0 !important; }
.fusion-sep-clear               { margin: 0 !important; padding: 0 !important; }

/* --- 2. Section padding: tighter (no big empty gaps) --- */
.fusion-fullwidth.fullwidth-box {
  padding-top: 44px !important;
  padding-bottom: 44px !important;
}

/* --- 3. Color tint on gray-background sections (SEnSEL, Marquee, Clients) ---
   Replaces the plain #f2f2f2 with a branded blue-green tint + subtle dot grid.
   The ::before pseudo-element adds a translucent dot pattern over the gradient. */
.fusion-fullwidth.fullwidth-box[style*="background-color:#f2f2f2"],
.fusion-fullwidth.fullwidth-box[style*="background:#f2f2f2"],
.fusion-fullwidth.fullwidth-box[style*="background: #f2f2f2"] {
  background: linear-gradient(160deg, #e9f4fb 0%, #f4fbf8 50%, #edf5fb 100%) !important;
  position: relative !important;
}
.fusion-fullwidth.fullwidth-box[style*="background-color:#f2f2f2"]::before,
.fusion-fullwidth.fullwidth-box[style*="background:#f2f2f2"]::before,
.fusion-fullwidth.fullwidth-box[style*="background: #f2f2f2"]::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: radial-gradient(circle, rgba(2,114,167,0.045) 1px, transparent 1px) !important;
  background-size: 22px 22px !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
/* Ensure content inside sits above the dot overlay */
.fusion-fullwidth.fullwidth-box[style*="background-color:#f2f2f2"] .avada-row,
.fusion-fullwidth.fullwidth-box[style*="background:#f2f2f2"] .avada-row,
.fusion-fullwidth.fullwidth-box[style*="background: #f2f2f2"] .avada-row {
  position: relative !important;
  z-index: 1 !important;
}

/* Tint for the clients carousel section (no background-color set — uses body) */
.fusion-clients-slider {
  background: transparent !important;
}
.fusion-fullwidth.fullwidth-box:not([style*="#f2f2f2"]):not([style*="transparent"]) {
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 40%, #f5fbf8 100%) !important;
}

/* --- 4. Client logo cards — bigger, white card, lift on hover --- */
.clients-carousel .es-carousel li,
.es-carousel-wrapper.fusion-carousel-small .es-carousel ul li {
  width: 220px !important;
  line-height: normal !important;
}
.es-carousel .image {
  background: white !important;
  border-radius: 14px !important;
  padding: 18px 24px !important;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 140px !important;
  width: 220px !important;
  height: auto !important;
  line-height: normal !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}
.es-carousel .image:hover {
  box-shadow: 0 10px 30px rgba(2,114,167,0.15) !important;
  transform: translateY(-4px) !important;
}
.es-carousel .image img {
  max-height: 120px !important;
  max-width: 200px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* --- 5. SEnSEL login section — stretch both cards to equal height --- */
#senselogin {
  display: flex !important;
  align-items: stretch !important;  /* stretch = equal height for direct children */
  gap: 28px !important;
  padding: 20px 0 28px !important;
  flex-wrap: nowrap !important;
}
/* Login form inputs */
#senselogin form input[type="text"],
#senselogin form input[type="password"] {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 11px 15px !important;
  width: 100% !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  background: #f8fafc !important;
  box-sizing: border-box !important;
  color: #334155 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  margin: 10px 0 14px 0 !important;
  display: block !important;
}
#senselogin form input[type="text"]:focus,
#senselogin form input[type="password"]:focus {
  border-color: #0272a7 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(2,114,167,0.1) !important;
}
/* Login button */
#senselogin form input[type="button"] {
  background: linear-gradient(135deg, #0272a7, #10b981) !important;
  color: white !important;
  padding: 11px 0 !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  box-shadow: 0 4px 15px rgba(2,114,167,0.3) !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
}
#senselogin form input[type="button"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(2,114,167,0.4) !important;
}
/* "Forgot Password" link */
#senselogin form p a {
  color: #0272a7 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
/* Section heading polish */
#senselogin .title-heading-left span {
  font-family: 'Poppins', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0272a7 !important;
}
/* "What We Are" heading */
#senselogin .fusion-two-third .title-heading-left span {
  color: #0f172a !important;
}
/* Tab content typography */
.fusion-tabs .tab-content .tab-pane {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
  color: #475569 !important;
  padding: 16px !important;
}

/* --- 6. "Our Packages" / "Our Services" headings — centred + gradient underline --- */
.section-radial-bg .avada-row > h1 {
  position: relative !important;
  display: block !important;
  text-align: center !important;
  padding-bottom: 18px !important;
  margin-bottom: 36px !important;
}
.section-radial-bg .avada-row > h1::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 60px !important;
  height: 4px !important;
  background: linear-gradient(90deg, #0272a7, #10b981) !important;
  border-radius: 2px !important;
}

/* --- 7. Feature card "Learn More / Request Demo" links --- */
.card-read-more {
  display: inline-flex !important;
  align-items: center !important;
  margin-top: 16px !important;
  color: #0272a7 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color 0.2s ease !important;
  font-family: 'Inter', sans-serif !important;
}
.card-read-more:hover { color: #10b981 !important; border-bottom: none !important; }

/* --- 8. Request Demo / Enquiry Form — modern professional inputs --- */
#frmenquiry h2 a {
  color: #0f172a !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 18px !important;
  text-decoration: none !important;
  border-bottom: none !important;
}
#frmenquiry input[type="text"],
#frmenquiry textarea,
#frmenquiry select {
  width: 100% !important;
  padding: 11px 15px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #334155 !important;
  background: #f8fafc !important;
  box-sizing: border-box !important;
  margin-bottom: 12px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  display: block !important;
}
#frmenquiry input[type="text"]:focus,
#frmenquiry textarea:focus,
#frmenquiry select:focus {
  border-color: #0272a7 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(2,114,167,0.08) !important;
}
#frmenquiry input[type="submit"] {
  background: linear-gradient(135deg, #0272a7, #10b981) !important;
  color: white !important;
  padding: 12px 32px !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(2,114,167,0.3) !important;
  transition: all 0.3s ease !important;
}
#frmenquiry input[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(2,114,167,0.4) !important;
}

/* --- 9. Marquee text + branded yellow-tag labels --- */
.yellow_bg_text {
  background: rgba(2,114,167,0.09) !important;
  color: #0272a7 !important;
  padding: 2px 9px !important;
  border-radius: 5px !important;
  font-weight: 600 !important;
}
marquee {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #334155 !important;
  line-height: 1.95 !important;
}

/* --- 10. Modern flex layout — features ticker + form card, equal height --- */
.modern-features-section {
  display: flex !important;
  gap: 28px !important;
  padding: 10px 24px 30px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  align-items: stretch !important;  /* equal height — both cards grow to tallest */
  flex-wrap: nowrap !important;
}
.modern-features-ticker {
  flex: 1 !important;
  min-width: 0 !important;
  background: linear-gradient(150deg, #edf5fb 0%, #f4fbf8 100%) !important;
  border-radius: 16px !important;
  padding: 22px !important;
  box-shadow: 0 4px 20px rgba(2,114,167,0.08) !important;
  border: 1px solid rgba(2,114,167,0.12) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  max-height: 440px !important;  /* cap both cards at same height */
}
.modern-features-ticker h3 {
  color: #0f172a !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  margin: 0 0 12px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid rgba(2,114,167,0.12) !important;
  font-weight: 600 !important;
  flex-shrink: 0 !important;
}
/* Marquee fills remaining height inside ticker card */
.modern-features-ticker marquee {
  flex: 1 !important;
  display: block !important;
  height: 100% !important;
  overflow: hidden !important;
}
.modern-form-card {
  width: 380px !important;
  flex-shrink: 0 !important;
  background: white !important;
  border-radius: 16px !important;
  padding: 24px 28px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07) !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  max-height: 440px !important;  /* match ticker cap — equal height */
  overflow: hidden !important;
}
.modern-form-card form {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}
@media (max-width: 860px) {
  .modern-features-section { flex-direction: column !important; padding: 0 16px 20px !important; }
  .modern-form-card { width: 100% !important; }
}

/* --- 11. "Our Clients" heading — centred (rules merged above) --- */

/* --- Carousel navigation arrows: styled --- */
.es-nav span {
  background: linear-gradient(135deg, #0272a7, #10b981) !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(2, 114, 167, 0.25) !important;
  cursor: pointer !important;
}

.es-nav span:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 6px 20px rgba(2, 114, 167, 0.4) !important;
}

/* --- Sticky header: glass blur enhancement on scroll --- */
#header-sticky.sticky-header {
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

/* --- Logo subtle hover effect --- */
.logo img {
  transition: all 0.3s ease !important;
}

.logo img:hover {
  filter: brightness(1.1) !important;
  transform: scale(1.03) !important;
}

/* --- Footer link hover: smooth underline slide --- */
#footer a {
  position: relative !important;
  display: inline-block !important;
}

#footer a::after {
  content: "" !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 0 !important;
  height: 1px !important;
  background: var(--color-brand-green) !important;
  transition: width 0.3s ease !important;
}

#footer a:hover::after {
  width: 100% !important;
}

/* --- Image sidebar: subtle parallax float on scroll --- */
div[style*="position:sticky"] img {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

div[style*="position:sticky"] img:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18) !important;
}

/* --- Back to top button: brand styled --- */
.to-top-container a,
a.to-top {
  background: linear-gradient(135deg, #0272a7, #10b981) !important;
  color: white !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(2, 114, 167, 0.3) !important;
  transition: all 0.3s ease !important;
}

.to-top-container a:hover,
a.to-top:hover {
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4) !important;
}

/* --- Make "Our Clients" heading gradient text --- */
.fusion-fullwidth .avada-row > h1 span strong,
.fusion-fullwidth .avada-row > h1 span {
  background: linear-gradient(135deg, #0272a7, #10b981) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* --- Client Carousel: span full page width --- */
.fusion-fullwidth.fullwidth-box {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  box-sizing: border-box !important;
}

.fusion-fullwidth.fullwidth-box > .avada-row {
  width: 95% !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
}

.es-carousel-wrapper.fusion-carousel-small {
  width: 100% !important;
  max-width: 100% !important;
}

.es-carousel-wrapper .es-carousel {
  width: 100% !important;
}

/* --- Sidebar: Download Brochure button & brochure image --- */
.sidebar .button[href*=".pdf"],
.sidebar a.button[href*=".pdf"] {
  display: inline-block !important;
  background: linear-gradient(135deg, #0272a7, #10b981) !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 14px 32px !important;
  border-radius: 10px !important;
  border: none !important;
  text-decoration: none !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 6px 20px rgba(2, 114, 167, 0.3) !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  margin: 10px 0 !important;
}

.sidebar .button[href*=".pdf"]:hover,
.sidebar a.button[href*=".pdf"]:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(2, 114, 167, 0.4) !important;
  background: linear-gradient(135deg, #0a5c8a, #0d9668) !important;
  color: #ffffff !important;
}

/* Brochure image: fill the full sidebar width, no max-width cap */
.sidebar img[src*="SenSE"],
.sidebar img[src*="Infolnci"],
.sidebar img[src*="3S-"],
.sidebar img[src*="BBS"],
.sidebar img[src*="broucher"],
.sidebar img[src*="Brochure"],
.sidebar img[src*="Webstac"],
.sidebar section ul li img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
  transition: all 0.3s ease !important;
  display: block !important;
}

.sidebar section ul li img:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18) !important;
}

/* Legacy float sidebar rules removed — packages now use pkg-card/pkg-sidebar flex classes */

/* Sidebar aside: top padding matches modern-card padding so button aligns with heading */
.sidebar.sidebar-primary {
  padding: 28px 16px 16px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Hide the two leading <br> elements in the left card that push the heading down */
.modern-card > br:first-child,
.modern-card > br:nth-child(2) {
  display: none !important;
}

.sidebar.sidebar-primary ul {
  padding: 0 !important;
  margin: 0 !important;
}

.sidebar.sidebar-primary ul li {
  margin: 12px 0 !important;
  list-style: none !important;
}

/* Remove all blank space above the Download Brochure button */
/* Targets the exact placeholder <li style="color:#0aafd8"> elements in the HTML */
.sidebar.sidebar-primary ul > li[style="color:#0aafd8"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
/* Also reset <section> default margin inside aside */
.sidebar.sidebar-primary section {
  padding: 0 !important;
  margin: 0 !important;
}

/* Responsive: stack on small screens */
@media (max-width: 860px) {
  div[style="float:left;width:40%"],
  .modern-card[style*="width:60%"] {
    width: 100% !important;
    float: none !important;
  }
}

/* "DOWNLOAD APP FOR" heading in sidebar */
.sidebar a.button[style*="font-size:20px"] {
  font-family: 'Poppins', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: 0.5px !important;
}

/* ==========================================================================
   CONTACT PAGE INFO CARD — force text colors over global overrides
   ========================================================================== */

#main div[style*="linear-gradient(160deg"] h2,
#main div[style*="linear-gradient(160deg"] p,
#main div[style*="linear-gradient(160deg"] span {
  color: white !important;
}

#main div[style*="linear-gradient(160deg"] a {
  color: #0aafd8 !important;
}

/* ==========================================================================
   REDESIGNED CTA BANNER — modern full-width strip
   ========================================================================== */

/* Reset container to block, full-width */
.blue-contact-banner-container {
  display: block !important;
  background: transparent !important;
  position: relative !important;
  margin-top: 0 !important;
  animation: none !important;
}

/* Override all previous banner background/animation */
.blue-contact-banner {
  background: linear-gradient(120deg, #0d1f35 0%, #0272a7 55%, #0aafd8 100%) !important;
  background-size: 100% 100% !important;
  animation: none !important;
  width: 100% !important;
  padding: 14px 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 60px !important;
  clip-path: none !important;
  position: relative !important;
  overflow: hidden !important;
  border-top: none !important;
  box-shadow: 0 -4px 0 rgba(10, 175, 216, 0.5), 0 8px 40px rgba(0, 0, 0, 0.25) !important;
}

/* Left radial glow accent */
.blue-contact-banner::before {
  content: "" !important;
  position: absolute !important;
  left: -60px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 320px !important;
  height: 320px !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 65%) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  animation: none !important;
}

/* Right warm glow accent */
.blue-contact-banner::after {
  content: "" !important;
  position: absolute !important;
  right: 4% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 260px !important;
  height: 260px !important;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, transparent 65%) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  animation: none !important;
}

/* Heading — clean, uppercase with subtle glow */
.blue-contact-banner h4 {
  color: white !important;
  margin: 0 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  font-family: 'Inter', sans-serif !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
  opacity: 0.95 !important;
  line-height: 1.4 !important;
}

/* Ghost / outline pill button */
.blue-contact-banner .btn-orange {
  background: transparent !important;
  color: white !important;
  padding: 10px 32px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  text-decoration: none !important;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
  border: 2px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: none !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  position: relative !important;
  z-index: 1 !important;
  white-space: nowrap !important;
  animation: none !important;
  flex-shrink: 0 !important;
}

.blue-contact-banner .btn-orange:hover {
  background: white !important;
  color: #0272a7 !important;
  border-color: white !important;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) !important;
  animation: none !important;
}

/* Responsive */
@media (max-width: 900px) {
  .blue-contact-banner {
    padding: 20px 30px !important;
    gap: 28px !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  .blue-contact-banner::before,
  .blue-contact-banner::after {
    display: none !important;
  }
}

/* ==========================================================================
   BACKGROUND CONTINUITY — subtle brand-tinted fills for white-space gaps
   ========================================================================== */

/* Body: richer fixed background — low-opacity blue/green ellipses over a
   cool-grey base. Increases from the previous ~4% to ~6-7% opacity so the
   tint is perceptible without being garish. */
body {
  background-color: #eef3f9 !important;
  background-image:
    radial-gradient(ellipse at 10% 25%, rgba(2, 114, 167, 0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 88% 12%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 55% 75%, rgba(2, 114, 167, 0.05) 0%, transparent 50%),
    linear-gradient(175deg, #e8f0f8 0%, #f5f9fc 100%) !important;
  background-attachment: fixed !important;
  background-size: cover !important;
}

/* Wrapper: a continuous top-to-bottom branded cool-blue wash */
#wrapper {
  background: linear-gradient(180deg,
    #e8f2f9 0%,
    #f0f7fc 8%,
    #f5fbf9 30%,
    #f8fcf9 55%,
    #f3f8fc 80%,
    #eef4fa 100%
  ) !important;
}

/* Reduce the 60 px top/bottom gap in #main to a modest 28 px —
   those large gaps are the most visible plain-white stretches. */
#main,
div[id="main"] {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

/* Our Packages / Our Services section:
   Give it an explicit light blue-green wash instead of transparent
   (which fell back to the plain body colour). */
.section-radial-bg {
  background: linear-gradient(160deg, #edf5fb 0%, #f3fbf7 50%, #edf5fb 100%) !important;
  position: relative !important;
}

/* Expand the radial glow overlay to cover the full section height
   (was capped at 700 px — both "Packages" + "Services" cards needed more). */
.section-radial-bg::before {
  height: 100% !important;
  max-width: 100% !important;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(2, 114, 167, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(23, 187, 125, 0.06) 0%, transparent 55%) !important;
}

/* Hide reCAPTCHA badge (localhost key error) */
.grecaptcha-badge { display: none !important; }

/* ==========================================================================
   LIGHT BLUE TINT — fill remaining white-space areas to match modern-card
   ========================================================================== */

/* Feature cards (Our Packages / Our Services on index.php) — exclude the dark highlighted card */
.feature-card:not(.feature-card-highlighted) {
  background: linear-gradient(145deg, rgba(219, 234, 254, 0.50) 0%, rgba(240, 249, 255, 0.40) 55%, rgba(224, 242, 254, 0.45) 100%) !important;
}

/* Request Demo form card (right of key-features ticker on index.php) */
.modern-form-card {
  background: linear-gradient(145deg, rgba(219, 234, 254, 0.55) 0%, rgba(240, 249, 255, 0.45) 55%, rgba(224, 242, 254, 0.50) 100%) !important;
}

/* Sidebar aside card */
aside.sidebar {
  background: linear-gradient(145deg, rgba(219, 234, 254, 0.50) 0%, rgba(240, 249, 255, 0.40) 55%, rgba(224, 242, 254, 0.45) 100%) !important;
}

/* "Why Choose" white mini-cards on about.php and service pages */
.avada-row div[style*="background:white"],
.avada-row div[style*="background: white"],
.clearfix div[style*="background:white"],
.clearfix div[style*="background: white"] {
  background: linear-gradient(145deg, rgba(219, 234, 254, 0.45) 0%, rgba(240, 249, 255, 0.35) 55%, rgba(224, 242, 254, 0.40) 100%) !important;
}

/* SEnSEL login card and similar inline white cards */
div[style*="border:1.5px solid #e2e8f0"],
div[style*="border: 1.5px solid #e2e8f0"] {
  background: linear-gradient(145deg, rgba(219, 234, 254, 0.45) 0%, rgba(240, 249, 255, 0.35) 55%, rgba(224, 242, 254, 0.40) 100%) !important;
}

/* ==========================================================================
   RESPONSIVE — Full site, all breakpoints
   ========================================================================== */

/* --- Prevent horizontal scroll + fill full width on all mobile/tablet sizes --- */
@media (max-width: 1024px) {
  html, body, #wrapper, #sliders-container {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Fix 100vw gap: switch fullwidth boxes from vw to % on mobile */
  .fusion-fullwidth.fullwidth-box {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .modern-hero {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* --- Sticky header: hide Go-to dropdown on mobile --- */
@media (max-width: 800px) {
  #header-sticky .mobile-nav-holder,
  #header-sticky .mobile-selector,
  .sticky-header .mobile-nav-holder,
  .sticky-header .mobile-selector {
    display: none !important;
  }
}

/* --- Sidebar images and padding fix --- */
.pkg-sidebar img,
.pkg-sidebar aside img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
}
@media (max-width: 900px) {
  .pkg-sidebar aside,
  .pkg-sidebar .sidebar-primary {
    padding: 0 !important;
  }
}

/* --- Mobile nav --- */
@media (max-width: 800px) {
  /* Hide desktop nav items but keep nav-holder in DOM for JS cloning */
  nav.nav-holder .navigation.menu,
  nav.nav-holder ul.navigation {
    display: none !important;
  }

  /* Header row stays flex so margin-left:auto on hamburger pushes it right */
  #header .avada-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 8px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Show the mobile nav container */
  .mobile-nav-holder {
    display: block !important;
    z-index: 100001 !important;
    position: relative !important;
    pointer-events: auto !important;
    width: 100% !important;
    background: #fff !important;
  }

  /* Style the expanded mobile menu */
  .mobile-nav-holder #mobile-nav {
    width: 100% !important;
    background: #ffffff !important;
    border-top: 2px solid #0272a7 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .mobile-nav-holder #mobile-nav li a {
    display: block !important;
    padding: 12px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    color: #0272a7 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
  }

  .mobile-nav-holder #mobile-nav li ul li a {
    padding-left: 36px !important;
    font-size: 13px !important;
    color: #334155 !important;
    background: #f8fafc !important;
  }

  /* Hamburger button — pushed to far right */
  .mobile-menu-icons {
    display: block !important;
    position: relative !important;
    z-index: 100002 !important;
    pointer-events: auto !important;
    margin-left: auto !important;
  }
  .mobile-menu-icons .mobile-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border: 2px solid #0272a7 !important;
    border-radius: 6px !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: none !important;
  }
  .mobile-menu-icons .mobile-menu-btn i {
    color: #0272a7 !important;
    font-size: 18px !important;
  }

  .top-contact-bar { display: none !important; }
}

/* --- Tablet landscape: ≤ 1024px --- */
@media (max-width: 1024px) {
  .modern-hero { padding: 70px 24px 50px !important; }
  .hero-content h1 { font-size: 2.8rem !important; }
  .hero-grid { gap: 30px !important; }
}

/* --- Tablet portrait / large mobile: ≤ 992px --- */
@media (max-width: 992px) {
  .modern-hero { padding: 56px 20px 40px !important; }

  /* Stack hero two-column into single column */
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .hero-content {
    flex: unset !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Carousel card: override the 44% width set in the page <style> block */
  #heroSlider {
    width: 100% !important;
    flex: unset !important;
    min-width: unset !important;
    height: 360px !important;
    margin-top: 24px !important;
  }

  .hero-content h1 { font-size: 2.4rem !important; }
  .hero-content p  { max-width: 100% !important; }
}

/* ==========================================================================
   TESTIMONIAL IFRAMES — desktop unchanged (400×250), mobile responsive
   ========================================================================== */
@media (max-width: 768px) {
  .modern-card iframe[src*="youtube"] {
    width: 100% !important;
    height: 56vw !important; /* 16:9 at full viewport width */
    display: block;
    border-radius: 8px;
    margin-bottom: 16px;
  }
}

/* ==========================================================================
   SITE-WIDE RESPONSIVE — comprehensive, deployment-ready rules
   Applied via semantic classes added to every content page
   ========================================================================== */

/* ── Content wrapper (width:90%) ── */
.page-content-wrap {
  box-sizing: border-box !important;
  max-width: 100% !important;
}
@media (max-width: 900px) {
  .page-content-wrap {
    width: 96% !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}
@media (max-width: 576px) {
  .page-content-wrap {
    width: 100% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}

/* ── Package pages layout (sense, BBSSoft, compliancetracking, incidentmanagement) ── */
/* pkg-card = the main modern-card; pkg-sidebar = the 40% sidebar */

/* Desktop: flex row, card takes remaining space, sidebar is fixed 37% */
.pkg-layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
}
.pkg-card {
  flex: 1 1 55% !important;
  min-width: 0 !important;
}
.pkg-sidebar {
  flex: 0 0 34% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Prevent legacy sidebar float/display rules from breaking the flex layout. */
.pkg-sidebar .sidebar,
.pkg-sidebar .sidebar.sidebar-primary,
.pkg-sidebar aside.sidebar {
  float: none !important;
  display: block !important;
  /* Match .modern-card vertical spacing so both columns align */
  margin: 9px 0 0 0 !important;
  padding: 28px 16px 16px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Tablet & mobile: stack to single column */
@media (max-width: 900px) {
  .pkg-layout {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .pkg-card {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
  .pkg-sidebar {
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .pkg-sidebar .sidebar,
  .pkg-sidebar .sidebar.sidebar-primary,
  .pkg-sidebar aside.sidebar {
    padding: 0 !important;
    margin: 0 !important;
  }
  .pkg-sidebar img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* ── Modern-card: consistent padding & border across ALL pages ── */
.modern-card {
  /* Ensure border-left gap is the same everywhere */
  padding-left: 32px !important;
}

/* ==========================================================================
   MODERN-CARD — responsive proportions across all pages
   ========================================================================== */

/* Tablet */
@media (max-width: 900px) {
  .modern-card {
    padding: 28px 24px 28px 28px !important;
    margin: 20px 0 !important;
    border-radius: 12px !important;
  }
  .modern-card h1 { font-size: 1.6rem !important; }
  .modern-card h2 { font-size: 1.3rem !important; }
  .modern-card h3 { font-size: 1.1rem !important; }
  .modern-card p, .modern-card li { font-size: 14px !important; line-height: 1.7 !important; }
  /* Left accent border stays clean — just reduce width */
  .modern-card { border-left-width: 3px !important; }
}

/* Mobile */
@media (max-width: 768px) {
  .modern-card {
    padding: 20px 16px 20px 20px !important;
    margin: 14px 0 !important;
    border-radius: 10px !important;
    border-left-width: 3px !important;
    /* Remove overflow:hidden on mobile — it clips text. Card shine animation not needed on mobile */
    overflow: visible !important;
    /* Ensure text wraps and never overflows */
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .modern-card h1 { font-size: 1.4rem !important; margin-bottom: 12px !important; word-break: break-word !important; }
  .modern-card h2 { font-size: 1.2rem !important; margin-bottom: 10px !important; }
  .modern-card h3 { font-size: 1rem !important; margin-bottom: 8px !important; }
  .modern-card p, .modern-card li {
    font-size: 13.5px !important;
    line-height: 1.75 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .modern-card ul { padding-left: 0 !important; }
  .modern-card ul li { padding-left: 18px !important; margin-bottom: 8px !important; }
}

/* Small mobile */
@media (max-width: 576px) {
  .modern-card {
    padding: 16px 14px 16px 18px !important;
    margin: 10px 0 !important;
    border-radius: 8px !important;
  }
  .modern-card h1 { font-size: 1.25rem !important; }
  .modern-card h2 { font-size: 1.1rem !important; }
  .modern-card h3 { font-size: 0.95rem !important; }
  .modern-card p, .modern-card li { font-size: 13px !important; }
}

/* --- Stats & Why-Choose grids — tablet --- */
@media (max-width: 900px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .about-why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* --- Mobile: ≤ 768px --- */
@media (max-width: 768px) {
  /* Page title + breadcrumb */
  .page-title-container {
    padding: 50px 16px 28px !important;
    text-align: left !important;
  }
  .page-title-container h1 {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    margin-bottom: 12px !important;
  }
  /* Drop the white pill on mobile — use a flat transparent breadcrumb */
  .page-title-container .breadcrumbs {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    gap: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .page-title-container .breadcrumbs li {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.75) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  /* Truncate the last (current page) item so it never wraps */
  .page-title-container .breadcrumbs li:last-child {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 180px !important;
    flex-shrink: 1 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
  }
  .page-title-container .breadcrumbs li::after {
    margin: 0 6px !important;
    color: rgba(255,255,255,0.4) !important;
  }
  .page-title-container .breadcrumbs a {
    color: rgba(255,255,255,0.75) !important;
  }
  .page-title-container .page-title {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Top contact bar — hide email, keep phone + LinkedIn centred */
  .top-contact-bar > div > div:nth-child(2) { display: none !important; }
  .top-contact-bar > div { padding: 0 16px !important; justify-content: center !important; }

  /* Hero */
  .modern-hero { padding: 48px 16px 32px !important; }
  .hero-content h1 { font-size: 2rem !important; line-height: 1.15 !important; }
  .hero-content p  { font-size: 0.95rem !important; }
  .hero-stats { gap: 20px !important; flex-wrap: wrap !important; }
  .stat-item h3 { font-size: 1.6rem !important; }
  #heroSlider { height: 300px !important; }
  .hero-slide-name { font-size: 1.3rem !important; }

  /* Feature cards — override the 32% max-width set via inline style */
  .feature-card {
    max-width: 100% !important;
    flex: 1 1 100% !important;
    min-width: unset !important;
  }
  .features-grid {
    grid-template-columns: 1fr !important;
    padding: 0 16px !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
  }
  .feature-card-highlighted { transform: scale(1) !important; }

  /* SEnSEL login section — stack cards vertically */
  #senselogin {
    flex-direction: column !important;
    gap: 16px !important;
    padding: 16px 0 20px !important;
  }
  #senselogin > div {
    flex: unset !important;
    width: 100% !important;
    min-width: unset !important;
  }

  /* Page title */
  .page-title-container { padding: 60px 20px 40px !important; }
  .page-title-container h1 { font-size: 1.9rem !important; }

  /* Avada row padding */
  .avada-row { padding-left: 16px !important; padding-right: 16px !important; }

  /* CTA banner */
  .blue-contact-banner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
    padding: 20px 20px !important;
  }

  /* Modern features section */
  .modern-features-section {
    flex-direction: column !important;
    padding: 0 16px 20px !important;
  }
  .modern-form-card { width: 100% !important; max-height: none !important; }
  .modern-features-ticker { max-height: 300px !important; }

}

/* --- Stats & Why-Choose grids — small mobile --- */
@media (max-width: 576px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin: 20px 0 !important;
  }
  .about-stats-grid > div {
    padding: 18px 12px !important;
    border-radius: 10px !important;
  }
  .about-stats-grid > div > div:first-child {
    font-size: 24px !important;
  }
  .about-stats-grid > div > div:last-child {
    font-size: 11px !important;
  }
  .about-why-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  /* Why-choose section container padding */
  .about-why-grid + * ,
  div:has(> .about-why-grid) {
    padding: 20px 16px !important;
  }
}

/* --- Small mobile: ≤ 576px --- */
@media (max-width: 576px) {
  /* Hide top contact bar entirely */
  .top-contact-bar { display: none !important; }

  /* Hero */
  .modern-hero { padding: 36px 12px 24px !important; }
  .hero-content h1 { font-size: 1.7rem !important; }
  .hero-stats { gap: 14px !important; }
  .stat-item h3 { font-size: 1.3rem !important; }
  .stat-item p  { font-size: 0.8rem !important; }
  #heroSlider { height: 240px !important; }
  .hero-slide-name { font-size: 1.1rem !important; }
  .hero-slide-label { padding: 18px 14px 14px !important; }

  /* Logo */
  .logo img { max-height: 50px !important; }

  /* Page title */
  .page-title-container { padding: 40px 12px 22px !important; }
  .page-title-container h1 { font-size: 1.3rem !important; line-height: 1.3 !important; }
  .page-title-container .breadcrumbs li { font-size: 11px !important; }
  .page-title-container .breadcrumbs li:last-child { max-width: 140px !important; }

  /* Feature cards */
  .feature-card { padding: 20px 16px !important; }
  .features-grid { gap: 14px !important; }

  /* Buttons */
  .hero-buttons { flex-direction: column !important; gap: 10px !important; }
  .hero-buttons a { text-align: center !important; }

  /* Stat items: allow wrapping into 2 columns */
  .hero-stats { justify-content: flex-start !important; }
  .stat-item { flex: 0 0 calc(50% - 7px) !important; }

  /* Modern form card */
  .modern-form-card { padding: 16px !important; }

  /* Tables / marquee */
  .modern-features-ticker { max-height: 240px !important; }
}

/* Client logo carousel cards — very subtle so logos stay readable */
.es-carousel .image {
  background: linear-gradient(145deg, rgba(219, 234, 254, 0.35) 0%, rgba(240, 249, 255, 0.25) 55%, rgba(224, 242, 254, 0.30) 100%) !important;
}

/* ==========================================================================
   TYPOGRAPHY SYSTEM — consistent, bold, readable across all pages
   ========================================================================== */

/* Global heading weight bump: all h tags bold */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700 !important;
  font-family: 'Poppins', sans-serif !important;
}

/* Avada / clearfix section headings */
.avada-row h1 strong,
.clearfix h1 strong,
.fusion-fullwidth h1 strong {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
}

/* -- Product page main title (<strong> at top of modern-card) -- */
.modern-card > strong:first-child {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.5rem !important;
  color: #0272a7 !important;
  display: block !important;
  line-height: 1.35 !important;
  letter-spacing: -0.02em !important;
}

/* -- Intro / lead paragraph (right below the title) -- */
.modern-card > p:first-of-type,
.modern-card > p:first-of-type span {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  line-height: 1.8 !important;
  font-family: 'Inter', sans-serif !important;
}

/* -- All other descriptive paragraphs in content cards -- */
.modern-card p,
.modern-card p span {
  font-family: 'Inter', sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.82 !important;
  color: #475569 !important;
  font-weight: 400 !important;
}

/* -- Section sub-headings ("Main features -", "Contributors:-") -- */
.modern-card > p > strong:only-child,
.modern-card p > strong:only-child {
  font-family: 'Poppins', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
}

/* -- List items: medium weight, clearly readable -- */
.modern-card ul li,
.modern-card ol li {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.82 !important;
  color: #334155 !important;
  font-weight: 500 !important;
}

/* Span inside list items */
.modern-card ul li span,
.modern-card ol li span {
  color: #334155 !important;
  font-weight: 500 !important;
  font-size: 15px !important;
}

/* Strong inside list items — clearly bold, dark */
.modern-card ul li strong,
.modern-card ul li strong span,
.modern-card ol li strong,
.modern-card ol li strong span {
  font-weight: 700 !important;
  color: #1e293b !important;
}

/* -- Feature card titles (Our Packages / Our Services) -- */
.feature-card h3 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
  line-height: 1.35 !important;
}

/* -- Feature card description text -- */
.feature-card p {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #475569 !important;
  line-height: 1.72 !important;
}

/* -- About / Why Choose mini-card labels -- */
.avada-row div[style*="rgba(2,114,167,0.05)"] strong,
.clearfix div[style*="rgba(2,114,167,0.05)"] strong {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}
.avada-row div[style*="rgba(2,114,167,0.05)"] p,
.clearfix div[style*="rgba(2,114,167,0.05)"] p {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #475569 !important;
  line-height: 1.7 !important;
}

/* ==========================================================================
   FONT SIZE FIXES — override all under-sized inline font-size declarations
   ========================================================================== */

/* Sticky nav + all nav links — 14px keeps them readable without overflowing */
#sticky-nav li a,
.sticky-header .navigation.menu li a,
.navigation.menu li a {
  font-size: 14px !important;
}

/* All 13px text in main content, about stats, why-choose cards */
#main p[style*="font-size:13px"],
#main div[style*="font-size:13px"],
#main span[style*="font-size:13px"],
.avada-row p[style*="font-size:13px"],
.avada-row div[style*="font-size:13px"],
.avada-row span[style*="font-size:13px"],
.clearfix p[style*="font-size:13px"],
.clearfix div[style*="font-size:13px"],
.clearfix span[style*="font-size:13px"] {
  font-size: 15px !important;
}

/* 12px video box labels ("Product Demo Video", "Click to watch...") */
div[style*="font-size: 12px"],
span[style*="font-size: 12px"],
div[style*="font-size:12px"],
span[style*="font-size:12px"] {
  font-size: 14px !important;
}

/* Hero slide name text */
.hero-slide-name {
  font-size: 1.5rem !important;
}

/* Hero slide badge */
.hero-slide-badge {
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
}

/* ============================================================
   SECTION LABELS — <p><strong> inside modern-card
   e.g. "Main features -", "Complete solution for..."
   ============================================================ */
.modern-card p > strong,
.modern-card p > strong > span {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}
@media (max-width: 768px) {
  .modern-card p > strong,
  .modern-card p > strong > span {
    font-size: 15px !important;
  }
}

/* ============================================================
   ACCESSIBILITY & UX FIXES
   ============================================================ */

/* 1. Visually-hidden class for form labels (screen-reader accessible, invisible) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 2. Active nav item highlight */
.navigation.menu li.current-menu-item > a,
.navigation.menu li.current_page_item > a,
.navigation.menu li.current-menu-parent > a {
  color: #17bb7d !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #17bb7d !important;
}

/* 3. Form inputs: minimum 44px touch target on mobile */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  select,
  textarea {
    min-height: 44px !important;
    font-size: 16px !important; /* prevents iOS zoom */
    padding: 12px 14px !important;
  }
  .modern-form-card input,
  .modern-form-card select,
  .modern-form-card textarea {
    min-height: 44px !important;
    font-size: 16px !important;
  }
}

/* 4. Select dropdown: custom arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23334155' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 40px !important;
}

/* 5. Placeholder contrast */
::placeholder { color: #64748b !important; opacity: 1 !important; font-weight: 400 !important; }
::-webkit-input-placeholder { color: #64748b !important; }
::-moz-placeholder { color: #64748b !important; }

/* 6. Responsive table wrapper */
.responsive-table {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border-radius: 8px !important;
  margin: 12px 0 !important;
}
.responsive-table table {
  min-width: 500px !important;
  border-collapse: collapse !important;
}

/* 7. Hero paragraph text contrast fix (subtle: #cbd5e1 → #e2e8f0) */
.hero-content p {
  color: #e2e8f0 !important;
}

/* ============================================================
   REQUEST DEMO BUTTON — absolute final override
   modern-theme.css sets  a { color: #0056b3 !important }
   which makes blue-text invisible on blue background.
   This rule has maximum specificity + last source position.
   ============================================================ */
nav#nav a.nav-demo-btn,
nav.nav-holder a.nav-demo-btn,
.navigation.menu a.nav-demo-btn,
a.nav-demo-btn {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #0272a7 !important;
  text-decoration: none !important;
}
nav#nav a.nav-demo-btn:hover,
nav.nav-holder a.nav-demo-btn:hover,
a.nav-demo-btn:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #025f8e !important;
}
