body.light-mode .section-light {
  background: var(--section-light) !important;
  color: var(--ink) !important;
}

body.light-mode .section-mid {
  background: var(--section-mid) !important;
  color: var(--ink) !important;
}

body.light-mode .team-name {
  color: #000000 !important;
}

/* Light Mode Overrides for Contact Form */
body.light-mode .contact-form-wrap {
  background: #ffffff !important;
  border: 1.5px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04) !important;
}

body.light-mode .form-heading {
  color: #0f172a !important;
}

body.light-mode .form-group label {
  color: #334155 !important;
  opacity: 1 !important;
}

body.light-mode input,
body.light-mode textarea,
body.light-mode select {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #0f172a !important;
}

body.light-mode select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

body.light-mode input::placeholder,
body.light-mode textarea::placeholder {
  color: #94a3b8 !important;
}

body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
  background: #ffffff !important;
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08) !important;
}

body.light-mode .section-about-dark {
  background: #ffffff !important;
  color: var(--ink) !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•

   FINAL THEME OVERRIDE (Must be at the bottom)

â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

body.light-mode {

  --black: #ffffff;

  --dark: #f1f5f9;

  --dark2: #e2e8f0;

  --card-dark: #ffffff;

  --border-dark: rgba(0, 0, 0, 0.08);

  --white: #0f172a;

  --grad-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);

  --grad-blue: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);

  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.08);

}

body.light-mode .section-black {

  background: #f8fafc !important;

  color: #1e293b !important;

}

body.light-mode .hero-overlay {

  background: linear-gradient(to right, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));

}

/* body.light-mode #home padding reset by DPDP hero */

body.light-mode .hero-title,

body.light-mode .hero-sub,

body.light-mode .section-title {

  color: #0f172a !important;

}

body.light-mode #navbar {

  background: rgba(255, 255, 255, 0.8);

  border-bottom-color: rgba(0, 0, 0, 0.05);

}

body.light-mode {

  --black: #ffffff;

  --dark: #f8fafc;

  --dark2: #f1f5f9;

  --card-dark: #ffffff;

  --border-dark: rgba(15, 23, 42, 0.08);

  --white: #0f172a;
  /* Deep Indigo text */

  --grad-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);

  --grad-blue: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);

  --shadow-dark: 0 10px 40px rgba(15, 23, 42, 0.06);

}

body.light-mode .section-black,

body.light-mode .section-dark {

  background: var(--dark) !important;

  color: #1e293b !important;

}

/* Alternate Section Backgrounds for Rhythm */

body.light-mode section:nth-of-type(even) {

  background: #ffffff !important;

}

body.light-mode .hero-overlay {

  background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));

}

body.light-mode .section-title,

body.light-mode h1,
body.light-mode h2,
body.light-mode h3 {

  color: #0f172a !important;

  letter-spacing: -0.02em;

  text-shadow: none !important;

}

body.light-mode p,

body.light-mode .section-sub,

body.light-mode .tech-list li {

  color: #475569 !important;

}

body.light-mode #navbar {

  background: transparent !important;

  backdrop-filter: none !important;

  border-bottom: none !important;

  box-shadow: none !important;

}

body.light-mode #navbar.scrolled {

  background: rgba(255, 255, 255, 0.95) !important;

  backdrop-filter: blur(20px) !important;

  border-bottom: 1px solid rgba(15, 23, 42, 0.05) !important;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;

}

body.light-mode #navbar .nav-links a,

body.light-mode .nav-phone {

  color: #0f172a !important;

  font-weight: 500;

}

body.light-mode .logo-img,

body.light-mode .loader-logo-img,

body.light-mode #cursor-glow img {

  filter: none !important;
  /* Restore natural blue brand color */

  transition: filter 0.3s ease;

}

/* Premium Card Design */

body.light-mode .contrast-card,

body.light-mode .testimonial-card,

body.light-mode .tcard,

body.light-mode .biz-card,

body.light-mode .testimonial-row div {

  background: #ffffff !important;

  border: 1px solid rgba(15, 23, 42, 0.04) !important;

  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 10px 15px -3px rgba(0, 0, 0, 0.03) !important;

}

body.light-mode .contrast-card:hover {

  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08) !important;

  border-color: rgba(37, 99, 235, 0.2) !important;

}

body.light-mode .section-tag {

  background: rgba(14, 165, 233, 0.06) !important;

  color: #0ea5e9 !important;

  font-weight: 600;

  border: 1px solid rgba(14, 165, 233, 0.35);

  display: block;

  margin: 0 auto 20px !important;

  width: max-content;

  text-align: center;

}

body.light-mode .why-left {

  text-align: center !important;

  display: flex !important;

  flex-direction: column !important;

  align-items: center !important;

  margin-left: auto !important;

  margin-right: auto !important;

}

/* Form Refinement */

body.light-mode .contact-form input,

body.light-mode .contact-form textarea,

body.light-mode .contact-form select {

  background: #ffffff !important;

  border: 1px solid #e2e8f0 !important;

  color: #0f172a !important;

}

body.light-mode .contact-form label {

  color: #1e293b !important;

}

/* Footer Premium Flip */

body.light-mode footer {

  background: #fcfcfd !important;

  border-top: 1px solid #e2e8f0;

}

body.light-mode .footer-desc,

body.light-mode .footer-links a,

body.light-mode .footer-col-h,

body.light-mode .footer-contact div,

body.light-mode .footer-bottom p,

body.light-mode .footer-copy {

  color: #1e293b !important;

}

body.light-mode .social-links a {

  background: #f1f5f9 !important;

  color: #2563eb !important;

}

/* Floating Widgets */

body.light-mode .floating-review {

  background: rgba(255, 255, 255, 0.9) !important;

  border: 1px solid rgba(15, 23, 42, 0.08) !important;

  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1) !important;

}

body.light-mode .fr-content,

body.light-mode .fr-author,

body.light-mode .fr-tag {

  color: #1e293b !important;

}

body.light-mode .contact-form label,

body.light-mode .form-group label,

body.light-mode label {

  color: #334155 !important;

  opacity: 1 !important;

}

body.light-mode .about-title-large,

body.light-mode .about-desc-large,

body.light-mode .card-title-blue,

body.light-mode .card-text,

body.light-mode #about h2,

body.light-mode #about p,

body.light-mode .bento-header h2,

body.light-mode .bento-intro {

  color: #000000 !important;

  opacity: 1 !important;

  visibility: visible !important;

  -webkit-text-fill-color: #000000 !important;

}

body.light-mode .about-card {

  background: #ffffff !important;

  border-color: rgba(15, 23, 42, 0.08) !important;

}

/* Subpage Hero, Feature Slider & CTA Persistence */

body.light-mode .full-hero,

body.light-mode .cta-tech-bg,

body.light-mode .parallax-cta,


body.light-mode #cta {

  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)), url('../images/Trustus.png') !important;

  background-attachment: fixed !important;

  background-size: cover !important;

  color: #0d0d0d !important;

}

body.light-mode .parallax-cta {

  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)), url('../images/cta-parallax.png') !important;

  background-attachment: fixed !important;

  background-size: cover !important;

}

body.light-mode .f-overlay,

body.light-mode .cta-overlay {

  background: rgba(236, 233, 233, 0.8) !important;

}

body.light-mode .feature-title,

body.light-mode .cta-title,

body.light-mode .btn-f.ghost,

body.light-mode .btn-f.primary {

  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;

}

body.light-mode .cta-sub {

  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;

}

/* Dark Text for Light Containers */

body.light-mode .form-heading,

body.light-mode .contact-form-wrap label,

body.light-mode .form-group label,

body.light-mode .citem-label,

body.light-mode .citem-value,

body.light-mode .tech-item h4,

body.light-mode .tech-item p,

body.light-mode h4,

body.light-mode p,

body.light-mode label {

  color: #0f172a !important;

}

/* Force contact form to be clearly visible in light mode */
body.light-mode .contact-form-wrap {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .contact-form-wrap label,
body.light-mode .contact-form-wrap .form-group label {
  color: #1e293b !important;
  opacity: 1 !important;
  display: block !important;
  visibility: visible !important;
}

body.light-mode .form-heading {
  color: #0f172a !important;
}

body.light-mode [style*="background:rgba(255,255,255,0.1)"],
body.light-mode [style*="background: var(--grad-hero)"] {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode [style*="border: 1px solid rgba(255"] {
  border-color: #cbd5e1 !important;
}

/* --- FINAL SUBPAGE VISIBILITY HARDENING --- */

/* 1. APPLY LIGHT OVERLAYS TO CTA AND PARALLAX SECTIONS (Preserving Sliders) */
body.light-mode section.cta-tech-bg,
body.light-mode .cta-tech-bg,
body.light-mode .full-hero,
body.light-mode section.parallax-cta,
body.light-mode .parallax-cta,
body.light-mode #cta {
  background-image: linear-gradient(rgba(248, 250, 252, 0.6), rgba(241, 245, 249, 0.7)), url('../images/light-tech-cta.png') !important;
  background-attachment: fixed !important;
  background-size: cover !important;
  background-position: center !important;
  color: #000000 !important;
}

/* Add dense light overlay to ensure black text is readable on dark images */
body.light-mode .cta-overlay,
body.light-mode .f-overlay,
body.light-mode .parallax-cta::before {
  background: rgba(248, 250, 252, 0.85) url('../images/light-tech-cta.png') center/cover !important;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

body.light-mode .cta-inner {
  position: relative;
  z-index: 5 !important;
}

/* Fix Hero Buttons for Light Mode */
body.light-mode .cta-inner .btn-premium,
body.light-mode .cta-inner .btn-primary,
body.light-mode .parallax-cta .btn-premium,
body.light-mode .parallax-cta .btn-primary {
  background: var(--blue) !important;
  color: #ffffff !important;
  border: none !important;
}

body.light-mode .cta-inner .btn-outline,
body.light-mode .parallax-cta .btn-outline {
  border: 1px solid #000000 !important;
  color: #000000 !important;
  background: transparent !important;
}

/* 2. ENSURE TEXT ELEMENTS REMAIN PURE WHITE AND TRANSPARENT (NO BACKGROUND) */

body.light-mode .cta-tech-bg h1,

body.light-mode .cta-tech-bg h2,

body.light-mode .cta-tech-bg p,

body.light-mode .cta-tech-bg .section-title,

body.light-mode .cta-tech-bg .section-sub,

body.light-mode .full-hero h1,

body.light-mode .full-hero p,

body.light-mode .full-hero .section-title,

body.light-mode .full-hero .section-sub,

body.light-mode .parallax-cta h1,

body.light-mode .parallax-cta h2,

body.light-mode .parallax-cta h3,

body.light-mode .parallax-cta p,

body.light-mode .parallax-cta .section-title,

body.light-mode .parallax-cta .hero-title,

body.light-mode .parallax-cta .hero-sub,

body.light-mode .parallax-cta a,

body.light-mode .word-mask,

body.light-mode .word {

  background: transparent !important;
  /* CRITICAL: Remove any background from text */

  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;

}

/* 3. Dark Text for Contrast on Light Section Buttons */

body.light-mode section.parallax-cta h3,

body.light-mode section.parallax-cta p,

body.light-mode section.parallax-cta .section-title,

body.light-mode section.parallax-cta .hero-title,

body.light-mode section.parallax-cta .hero-sub,


/* Black Text for Headers in LIGHT sections (Standard sub-page layout) */
body.light-mode .section-light h1,
body.light-mode .section-light h2,
body.light-mode .section-light h3,
body.light-mode .section-mid h1,
body.light-mode .section-mid h2,
body.light-mode .section-mid h3,
body.light-mode .section-black h1,
body.light-mode .section-black h2,
body.light-mode .section-black h3,
body.light-mode .contrast-section h1,
body.light-mode .contrast-section h2,
body.light-mode .contrast-section h3,
body.light-mode .section-light .section-title,
body.light-mode .section-mid .section-title,
body.light-mode .section-black .section-title,
body.light-mode .contrast-section .section-title,
body.light-mode .section-light .section-sub,
body.light-mode .section-mid .section-sub,
body.light-mode .section-black .section-sub,
body.light-mode .contrast-section .section-sub {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  opacity: 1 !important;
}

/* Hardening for card content in sub-pages */
body.light-mode .contrast-card h3,
body.light-mode .contrast-card p,
body.light-mode .contrast-card li,
body.light-mode .tech-list li,
body.light-mode .pill-tag {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

body.light-mode .contrast-section,
body.light-mode section.section-black {
  background: #f8fafc !important;
}

/* Dark Text for Buttons in Dark Sections (inside Light Mode) */

body.light-mode section.parallax-cta .btn-primary,
body.light-mode section.parallax-cta .btn-premium,
body.light-mode section.parallax-cta .btn-f.primary,
body.light-mode .parallax-cta .btn-primary,
body.light-mode .parallax-cta .btn-premium,
body.light-mode .parallax-cta .btn-f.primary {
  color: #ffffff !important;
}

/* Footer Social Icons Recover */

body.light-mode .social-btn {

  background: #f1f5f9 !important;

  border: 1px solid #cbd5e1 !important;

}

body.light-mode .social-btn svg {

  stroke: #0f172a !important;

}

/* Benefit Cards (Dynamic Variable Override) */

body.light-mode [style*="background: var(--white)"],

body.light-mode [style*="background:var(--white)"] {

  background: #ffffff !important;

  color: #0f172a !important;

}

/* â”€â”€ Light Mode Overrides â”€â”€ */

body.light-mode .cb-window {

  background: #ffffff;

  border-color: rgba(0, 0, 0, 0.08);

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);

}

body.light-mode .cb-bot-msg .cb-bubble {

  background: #f1f5f9;

  color: #0f172a;

  border-color: #e2e8f0;

}

body.light-mode .cb-ts {
  color: #94a3b8;
}

body.light-mode .cb-chip {

  background: #eff6ff;

  border-color: #bfdbfe;

  color: #1d4ed8;

}

body.light-mode .cb-chip:hover {
  background: #dbeafe;
  color: #1e3a8a;
}

body.light-mode .cb-typing-bubble {

  background: #f1f5f9;

  border-color: #e2e8f0;

}

body.light-mode .cb-dot {
  background: #2563eb;
}

body.light-mode .cb-input {

  background: #f8fafc;

  border-color: #e2e8f0;

  color: #000000 !important;

}

body.light-mode .cb-input::placeholder {
  color: #94a3b8;
}

body.light-mode .cb-input:focus {
  border-color: #2563eb;
}

body.light-mode .cb-input-row {

  background: #f8fafc;

  border-top-color: #e2e8f0;

}

/* --- ABSOLUTE VISIBILITY LOCKS --- */

body.light-mode .about-title-large,
body.light-mode .about-desc-large {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.light-mode .theme-switch svg {
  transform: rotate(180deg);
}

/* Light Mode Support for Chatbot */

body.light-mode .chatbot-window {

  background: rgba(255, 255, 255, 0.95);

  border-color: rgba(0, 0, 0, 0.1);

  color: #0f172a;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);

}

body.light-mode .bot-msg {

  background: #f1f5f9;

  color: #334155;

}

body.light-mode .chatbot-input-area input {

  background: #f8fafc;

  border-color: #e2e8f0;

  color: #000000 !important;

}

body.light-mode .chat-quick-btn {

  color: #000000 !important;

  background: #dbeafe;

  border-color: #bedbfe;

}

body.light-mode .chat-quick-btn:hover {
  background: #bfdbfe;
}

body.light-mode #cb-input,
body.light-mode #chatbot-input,
body.light-mode .cb-input,
body.light-mode .chatbot-input-area input {
  color: #000000 !important;
  background-color: #ffffff !important;
  -webkit-text-fill-color: #000000 !important;
}

body.light-mode .about-desc-large,
body.light-mode .stat-label,
body.light-mode .anum-lbl,
body.light-mode .stat-num,
body.light-mode .stat-num span,
body.light-mode .anum,
body.light-mode .anum span {
  color: #000000 !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: #000000 !important;
}

/* â”€â”€ CRITICAL: Force Section Tags to Sky Blue â”€â”€ */
body.light-mode .section-tag,
body.light-mode #why .section-tag,
body.light-mode #team .section-tag,
body.light-mode #solutions .section-tag {
  color: #0ea5e9 !important;
  -webkit-text-fill-color: #0ea5e9 !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.light-mode .section-tag::before,
body.light-mode #why .section-tag::before,
body.light-mode #team .section-tag::before,
body.light-mode #solutions .section-tag::before {
  background: #0ea5e9 !important;
  opacity: 1 !important;
}

/* --- Light Mode Color Overrides (Force Black) --- */
body.light-mode .about-title-large,
body.light-mode .about-desc-large,
body.light-mode .section-about-dark h2,
body.light-mode .section-about-dark h3,
body.light-mode .section-about-dark p,
body.light-mode .section-about-dark .card-title-blue,
body.light-mode .section-about-dark .card-text,
body.light-mode .citem-value {
  color: #111827 !important;
}

body.light-mode .citem-label {
  color: var(--ink-soft) !important;
}

/* 4. LIGHT MODE (Theme Toggled) */
body.light-mode {
  color: #111827 !important;
  background-color: #ffffff !important;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode p,
body.light-mode span:not(.btn-primary span):not(.accent-orange):not(.accent-green):not(.accent-blue) {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

body.light-mode .section-about-dark,
body.light-mode .parallax-cta {
  background-color: #f4f6fc !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LIGHT MODE BUG FIXES — Visual Audit Corrections
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ FIX 1: "Why Choose Us" section — white-on-white text bug â”€â”€
   The #why section uses --dark background which maps to #f8fafc in light mode.
   The .why-point cards and their text stay white, making them invisible.        */

body.light-mode #why {
  background: #f1f5f9 !important;
}

body.light-mode .why-point {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .why-point:hover {
  border-color: rgba(37, 99, 235, 0.3) !important;
  background: #f8faff !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1) !important;
}

body.light-mode #why .wp-title {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode #why .wp-desc {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

/* Why-left text column */
body.light-mode #why .section-title,
body.light-mode #why h2 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode #why .section-sub,
body.light-mode #why p {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

/* â”€â”€ FIX 2: Hero subtitle — near-invisible on bright overlay â”€â”€ */

body.light-mode .hero-content .hero-sub {
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6) !important;
}

body.light-mode .hero-title {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5) !important;
}

body.light-mode .stat-label {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
}

body.light-mode .stat-num,
body.light-mode .stat-num span:not(.accent) {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode .stat-num .accent {
  color: var(--blue) !important;
  -webkit-text-fill-color: var(--blue) !important;
}

/* â”€â”€ FIX 3: Team section — team cards use white backgrounds with dark text â”€â”€ */

body.light-mode #team {
  background: #f8fafc !important;
}

body.light-mode .team-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .team-name {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

body.light-mode .team-role {
  color: #2563eb !important;
  -webkit-text-fill-color: #2563eb !important;
}

body.light-mode #team .section-title,
body.light-mode #team h2 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

/* â”€â”€ FIX 4: Bento grid section — stays dark regardless of theme â”€â”€ */

body.light-mode section#business-solutions.bento-section {
  background: #05070a !important;
  color: #ffffff !important;
}

body.light-mode section#business-solutions.bento-section .bento-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.light-mode section#business-solutions.bento-section .bento-desc {
  color: rgba(255, 255, 255, 0.65) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.65) !important;
}

body.light-mode section#business-solutions.bento-section .bento-intro {
  color: rgba(255, 255, 255, 0.7) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.7) !important;
}

body.light-mode section#business-solutions.bento-section .bento-header h2,
body.light-mode section#business-solutions.bento-section h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.light-mode .about-title-large {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

body.light-mode .about-desc-large {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* â”€â”€ FIX 5: Testimonials section — ensure tcard text is dark â”€â”€ */

body.light-mode .tcard {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.07) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .tcard-text {
  color: #374151 !important;
  -webkit-text-fill-color: #374151 !important;
}

body.light-mode .tcard-name {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode .tcard-co {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}

body.light-mode #testimonials .section-title,
body.light-mode #testimonials h2 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

/* â”€â”€ FIX 6: Customers strip — keep its tan/cream color â”€â”€ */

body.light-mode .customers-strip {
  background: #e6cca4 !important;
}

/* â”€â”€ FIX 7: Contact section — #contact background and label legibility â”€â”€ */

body.light-mode #contact {
  background: #f1f5f9 !important;
}

body.light-mode #contact .section-title,
body.light-mode #contact h2 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode #contact .section-sub,
body.light-mode #contact p:not(.citem-value) {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

body.light-mode .citem-label {
  color: #2563eb !important;
  -webkit-text-fill-color: #2563eb !important;
}

body.light-mode .citem-value {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

/* â”€â”€ FIX 8: Footer — dark footer persists in light mode, needs light flip â”€â”€ */

body.light-mode footer {
  background: #1e293b !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.light-mode .footer-desc,
body.light-mode .footer-links a,
body.light-mode .footer-col-h,
body.light-mode .footer-copy {
  color: rgba(255, 255, 255, 0.75) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.75) !important;
}

body.light-mode footer .footer-copy span,
body.light-mode .footer-copy span,
body.light-mode .footer-bottom .footer-copy span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.light-mode .footer-legal a {
  color: rgba(255, 255, 255, 0.6) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
}

/* 4. FEATURE SLIDER (EXACT USER SYNC) */
body.light-mode .feature-slider-section {
  position: relative !important;
  height: 90vh !important;
  min-height: 650px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 80px 5% !important;
  background: #000 !important;
}

body.light-mode .f-slider {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

body.light-mode .f-slide {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0 !important;
  transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), transform 10s ease-out !important;
  will-change: opacity, transform !important;
  transform: scale(1.15) !important;
  z-index: 0 !important;
}

body.light-mode .f-slide.active {
  opacity: 1 !important;
  transform: scale(1.02) !important;
  z-index: 2 !important;
}

body.light-mode .f-slide.prev {
  opacity: 1 !important;
  z-index: 1 !important;
  transition: none !important;
}

body.light-mode .f-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at center, rgba(5, 6, 8, 0.2) 0%, rgba(5, 6, 8, 0.8) 100%) !important;
  z-index: 2 !important;
  display: block !important;
}

body.light-mode .feature-container {
  position: relative !important;
  z-index: 3 !important;
  max-width: 1000px !important;
}

body.light-mode .feature-title {
  font-family: var(--font-head) !important;
  font-size: clamp(34px, 6vw, 74px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  margin-bottom: 24px !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  perspective: 1200px !important;
  max-width: 1000px !important;
  overflow: visible !important;
  background: transparent !important;
}

body.light-mode .feature-sub {
  font-size: 17px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.8) !important;
  margin-bottom: 48px !important;
  max-width: 700px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

/* â”€â”€ FIX 9: sol-cards inside #solutions (dark section) stay dark in light mode â”€â”€ */

body.light-mode #solutions {
  background: #0a0f1e !important;
}

body.light-mode .sol-name {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.light-mode .sol-desc {
  color: rgba(255, 255, 255, 0.65) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.65) !important;
}

body.light-mode #solutions .section-title,
body.light-mode #solutions h2,
body.light-mode #solutions p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* â”€â”€ FIX 10: hcard floating cards — readable in light mode â”€â”€ */

body.light-mode .hcard {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

body.light-mode .hcard-title {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode .hcard-text {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

/* â”€â”€ FIX 11: Feature Slider Sub-Title — Pure Black in Light Mode â”€â”€ */
body.light-mode .feature-slider-section .feature-sub,
body.light-mode #features .feature-sub,
body.light-mode .feature-content .feature-sub {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* â”€â”€ FIX 12: Navigation Arrows (Slider) — White Background in Light Mode â”€â”€ */
body.light-mode .t-arrow,
body.light-mode .cs-arrow {
  background: #0f172a !important;
  color: #3b82f6 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

body.light-mode .t-arrow:hover,
body.light-mode .cs-arrow:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35) !important;
}

body.light-mode .t-arrow svg,
body.light-mode .cs-arrow svg {
  stroke: currentColor !important;
}

/* â”€â”€ FINAL HARD-LOCK: Contact Form Visibility — Forced Black â”€â”€ */
body.light-mode .contact-form-wrap .form-heading,
body.light-mode .contact-form-wrap label,
body.light-mode .contact-form-wrap .form-group label,
body.light-mode .contact-form-wrap .word,
body.light-mode .contact-form-wrap .word-mask {
  background: transparent !important;
  background-color: transparent !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.light-mode .contact-form-wrap input,
body.light-mode .contact-form-wrap textarea,
body.light-mode .contact-form-wrap select {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  background-color: #ffffff !important;
}

body.light-mode .contact-form-wrap input::placeholder,
body.light-mode .contact-form-wrap textarea::placeholder {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SUB-PAGE PREMIUM COMPONENT STYLING (LIGHT MODE)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Contrast Cards (Used in Zero-Trust, Azure, Intune) */
body.light-mode .contrast-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
  padding: 35px !important;
  border-radius: 16px !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

body.light-mode .contrast-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12) !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
}

body.light-mode .contrast-card h3 {
  color: #0f172a !important;
  font-weight: 700 !important;
  margin-bottom: 15px !important;
}

body.light-mode .contrast-card p {
  color: #475569 !important;
  line-height: 1.7 !important;
}

/* Pill Tags */
body.light-mode .pill-tag {
  background: #eff6ff !important;
  color: #2563eb !important;
  border: 1px solid rgba(37, 99, 235, 0.35) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-size: 11px !important;
  padding: 6px 14px !important;
  border-radius: 99px !important;
  display: inline-block !important;
  margin-bottom: 20px !important;
}

/* Tech Lists */
body.light-mode .tech-list {
  margin-top: 20px !important;
  padding-left: 0 !important;
  list-style: none !important;
}

body.light-mode .tech-list li {
  color: #334155 !important;
  margin-bottom: 10px !important;
  font-size: 14px !important;
  padding-left: 24px !important;
  position: relative !important;
}

body.light-mode .tech-list li::before {
  content: "→" !important;
  position: absolute !important;
  left: 0 !important;
  color: #2563eb !important;
  font-weight: bold !important;
}

/* Sub-page Section Backgrounds */
body.light-mode .section-light,
body.light-mode .section-mid,
body.light-mode .contrast-section {
  background: #f8fafc !important;
}

/* Fix for nested H2 and P in Subpages */
body.light-mode .section-title {
  color: #0f172a !important;
}

body.light-mode .section-sub {
  color: #475569 !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HARD-LOCK: Feature Slider stays DARK in light mode
   (Overrides all conflicting global rules above)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Force feature-sub WHITE (overrides FIX 11 which sets it black) */
body.light-mode .feature-slider-section .feature-sub,
body.light-mode .feature-slider-section p.feature-sub {
  color: rgba(255, 255, 255, 0.85) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
}

/* Force word-mask / word spans inside feature-title to WHITE
   (overrides the global body.light-mode .word black rule) */
body.light-mode .feature-slider-section .word,
body.light-mode .feature-slider-section .word-mask,
body.light-mode .feature-slider-section .feature-title .word,
body.light-mode .feature-slider-section .feature-title .word-mask,
body.light-mode .feature-slider-section .feature-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* Force ALL h1/h2/h3/p/span inside feature-slider-section to white */
body.light-mode .feature-slider-section h1,
body.light-mode .feature-slider-section h2,
body.light-mode .feature-slider-section h3,
body.light-mode .feature-slider-section p,
body.light-mode .feature-slider-section span:not(.btn-primary span):not(.btn-f span) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Ghost button (OUR SERVICES) — white border + white text */
body.light-mode .feature-slider-section .btn-f.secondary,
body.light-mode .feature-actions .btn-f.secondary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
}

/* CORRECTED: ghost (not secondary) */
body.light-mode .feature-slider-section .btn-f.ghost,
body.light-mode #features .btn-f.ghost,
body.light-mode .feature-actions .btn-f.ghost {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px) !important;
}

body.light-mode .feature-slider-section .btn-f.ghost:hover,
body.light-mode #features .btn-f.ghost:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ABSOLUTE FINAL LOCK — #features ID specificity
   Beats ALL other rules (ID > class selectors)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

body.light-mode #features.feature-slider-section {
  background: #000 !important;
}

body.light-mode #features .feature-title,
body.light-mode #features h2.feature-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: transparent !important;
}

body.light-mode #features .feature-title span,
body.light-mode #features .feature-title .blue,
body.light-mode #features .feature-title span.blue {
  color: #f4f5f6 !important;
  -webkit-text-fill-color: #60a5fa !important;
}

body.light-mode #features p.feature-sub,
body.light-mode #features .feature-sub {
  color: rgba(255, 255, 255, 0.88) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.88) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* â”€â”€ HERO: blue typed word fix in light mode â”€â”€ */
body.light-mode h1.hero-title #typed-text,
body.light-mode h1.hero-title .typed-link {
  color: var(--blue) !important;
  -webkit-text-fill-color: var(--blue) !important;
}

body.light-mode h1.hero-title span.orange {
  background: linear-gradient(135deg, #c85400 0%, #d65a00 100%) !important;
  background-image: linear-gradient(135deg, #cc5500 0%, #e65c00 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

body.light-mode .cta-title .blue {
  color: #16a34a !important;
  -webkit-text-fill-color: #16a34a !important;
}

body.light-mode .cta-title .orange {
  color: #ea580c !important;
  -webkit-text-fill-color: #ea580c !important;
}

/* ── CLIENTS SLIDER LIGHT MODE ── */
body.light-mode .c2-name {
  color: #475569 !important;
}

body.light-mode .clients-arrow {
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #0f172a !important;
}

body.light-mode .clients-arrow:hover {
  background: var(--blue, #2563eb) !important;
  border-color: var(--blue, #2563eb) !important;
  color: #ffffff !important;
}

/* ── HERO TEXT SLIDER LIGHT MODE ── */
body.light-mode .hero-trust-text {
  color: #475569 !important;
}

body.light-mode .hero-dot {
  background: rgba(0, 0, 0, 0.2) !important;
}

body.light-mode .hero-dot.active {
  background: var(--blue, #2563eb) !important;
}

/* ── MOBILE PADDING OVERRIDE LIGHT MODE ── */
@media (max-width: 1024px) {
  body.light-mode #home {
    padding-top: 100px !important;
  }
}

@media (max-width: 768px) {
  body.light-mode #home {
    padding-top: 90px !important;
  }
}

@media (max-width: 480px) {
  body.light-mode #home {
    padding-top: 70px !important;
  }
}

/* Case Studies Light Mode */
body.light-mode .cs-card {
  background: rgba(255, 255, 255, 1) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .cs-card:hover {
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .cs-card .cs-logo {
  filter: none !important;
  opacity: 1 !important;
}

body.light-mode .cs-client {
  color: #000000 !important;
}

body.light-mode .cs-text {
  color: #4b5563 !important;
}


/* --- Logo Grid Container (Light Mode Overrides) --- */
body.light-mode .logo-grid .c2-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

body.light-mode .logo-grid .c2-item:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.light-mode .logo-grid .c2-logo {}

body.light-mode .logo-grid .c2-item:hover .c2-logo {}

body.light-mode .logo-grid .c2-name {
  color: #666;
}

body.light-mode .logo-grid .c2-item:hover .c2-name {
  color: #111;
}

/* DPDP hero migration: old #home split overrides removed */
.section-sub,
.hero-sub,
h3,
h4 {
  font-size: 17px !important;
}

/* User requested: Hero section headline size increase */
.hero-title,
h1.hero-title,
#home .hero-title,
.hero-content h1 {
  font-size: clamp(40px, 6vw, 72px) !important;
}

/* User requested: Hero section headline size exactly 35px */
.hero-title,
h1.hero-title,
#home .hero-title,
.hero-content h1 {
  font-size: 35px !important;
}

/* User requested: Heading or subheading ke beech ka gap reduce kro */
.section-title,
.hero-title,
.cs-title,
h1,
h2 {
  margin-bottom: 8px !important;
}

.section-sub,
.hero-sub,
p.section-sub {
  margin-top: 0 !important;
}

/* User requested: Hero section split into 2 parts */
#home {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 120px 6% !important;
  min-height: 100vh !important;
}

.hero-slider {
  display: none !important;
}

.hero-content {
  width: 45% !important;
  max-width: none !important;
  position: relative !important;
  z-index: 2 !important;
}

.hero-visuals {
  position: relative !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: 50% !important;
  height: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.hero-visual-slide {
  display: none;
}

.hero-visual-slide.active {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.hero-visual-slide img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 992px) {
  #home {
    flex-direction: column !important;
    padding-top: 150px !important;
    text-align: center !important;
    align-items: center !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: none !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .hero-text-slide {
    text-align: center !important;
  }

  .hero-actions {
    justify-content: center !important;
  }

  .hero-dots {
    justify-content: center !important;
  }

  .section-tag {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }

  .hero-visuals {
    width: 100% !important;
    margin-top: 50px !important;
  }
}

/* User requested: Center the Who Are We heading */
.about-header,
.about-title-large,
.about-desc-large {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* User requested: Fix visibility of 'Chat with Confiable' tooltip */
.confiable-wa-tooltip {
  color: #ffffff !important;
  background: rgba(17, 24, 39, 0.95) !important;
  /* Darker background for better contrast */
  font-weight: 500 !important;
}

/* User requested: Hide the 'Chat with Confiable' tooltip entirely */
.confiable-wa-tooltip {
  display: none !important;
}

/* User requested: Global Font Size Adjustments */

/* 1. Heading font should be 34px */
.section-title,
.hero-title,
.cs-title,
.about-title-large,
h1,
h2 {
  font-size: 34px !important;
}

/* 2. Subheading font should be 17px */
.section-sub,
.hero-sub,
p.section-sub,
.about-desc-large,
h3,
h4 {
  font-size: 17px !important;
}

/* 3. Headline (tags/labels) font size should be 10px */
.section-tag,
.hero-trust-text,
.pill-tag {
  font-size: 10px !important;
}

/* 4. Button size should be 14px */
.btn-primary,
.btn-premium,
.btn-secondary,
button,
.hero-actions a,
.chat-quick-btn {
  font-size: 14px !important;
}

/* User requested: p.hww-sub font size is 17px */
.hww-sub,
p.hww-sub,
.about-desc-large {
  font-size: 17px !important;
}

/* User requested: p.alliances-sub and p.cta-sub font size is 17px */
.alliances-sub,
p.alliances-sub,
.cta-sub,
p.cta-sub {
  font-size: 17px !important;
}

/* User requested: Card titles wale span font size is 20px */
.card-title-blue span,
.cs-title span,
.about-card h3 span {
  font-size: 20px !important;
}

/* User requested: Add background image to Why Choose Us section */
#why {
  background-image: url('../images/Trustus.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  /* Parallax effect */
  position: relative !important;
}

#why::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(17, 24, 39, 0.4) !important;
  /* Dark overlay to keep text readable */
  z-index: 0 !important;
}

#why>* {
  position: relative !important;
  z-index: 1 !important;
}

/* User requested: Fix background image for Why Choose Us section */
body.light-mode #why,
body:not(.light-mode) #why,
#why {
  background: url('../images/Trustus.png') no-repeat center center !important;
  background-size: cover !important;
  position: relative !important;
}

#why::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(17, 24, 39, 0.75) !important;
  /* Dark overlay to make text pop */
  z-index: 0 !important;
}

body.light-mode #why .section-title,
body.light-mode #why .section-sub,
body.light-mode #why .section-tag,
body.light-mode #why h2,
body.light-mode #why p {
  color: #ffffff !important;
}

/* Ensure the cards keep their original text colors */
body.light-mode #why .wp-title {
  color: #111827 !important;
}

body.light-mode #why .wp-desc {
  color: #4b5563 !important;
}

#why>* {
  position: relative !important;
  z-index: 1 !important;
}

/* User requested: Reduce blank space above text */
.why-layout {
  align-items: flex-start !important;
}

#why .why-left {
  padding-top: 40px !important;
}

/* User requested: Text visibility increase (ALWAYS white on left side due to dark bg image) */
#why .why-left .section-title,
#why .why-left h2,
#why .why-left .section-sub,
#why .why-left p,
#why .why-left .section-tag {
  color: #ffffff !important;
}

/* Fix right side cards colors depending on mode */
body.light-mode #why .wp-title {
  color: #111827 !important;
}

body.light-mode #why .wp-desc {
  color: #4b5563 !important;
}

body:not(.light-mode) #why .wp-title {
  color: #ffffff !important;
}

body:not(.light-mode) #why .wp-desc {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* User requested: Make Why Choose Us section smaller/less broad */
#why {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

#why .why-layout {
  gap: 40px !important;
}

#why .why-points {
  gap: 12px !important;
}

#why .why-point {
  padding: 16px 20px !important;
}

#why .why-left {
  padding-top: 20px !important;
}

/* Slightly reduce the icon size inside the cards to fit the smaller padding */
#why .wp-icon svg {
  width: 32px !important;
  height: 32px !important;
}

#why .wp-title {
  margin-bottom: 6px !important;
}

/* User requested: Use a darker overlay behind content for readability */
#why::before {
  background: rgba(17, 24, 39, 0.75) !important;
  /* Darker global overlay */
}

/* ---- USER REQUESTED: HEIGHT REDUCTION AND REMOVE PARALLAX EFFECT ---- */

#why {
  /* Reduce vertical padding to approximately 60-80px on desktop */
  padding-top: 70px !important;
  padding-bottom: 70px !important;

  /* Remove any fixed height or excessive min-height settings. Let height be determined by content. */
  min-height: 0 !important;
  height: auto !important;

  /* Keep the background image visible only behind the content area 
       Do not create a full-screen hero section effect. */
  background-attachment: scroll !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Reduce vertical padding to approximately 40-60px on mobile */
@media (max-width: 768px) {
  #why {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}

/* --- CUSTOM WHY SECTION OVERRIDES --- */

/* REDESIGNED WHY CHOOSE US SECTION - ENTERPRISE WHITE THEME */

/* Container */
body.light-mode #why {
  background: #F8FAFC !important;
  /* Clean light gray/white background, overrides shorthand */
  background-image: none !important;
  padding: 100px 5% !important;
  display: flex !important;
  justify-content: center !important;
  min-height: auto !important;
}

body.light-mode #why::before {
  display: none !important;
  /* Remove any dark overlays */
}

body.light-mode #why .why-layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1280px !important;
  gap: 60px !important;
  margin: 0 auto !important;
}

/* Left content card */
body.light-mode #why .why-left {
  flex: 1 !important;
  max-width: 500px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  padding: 40px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

body.light-mode #why .section-tag {
  color: #2563EB !important;
  /* Microsoft Blue */
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 14px !important;
  margin-bottom: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
}

body.light-mode #why .section-title,
body.light-mode #why h2 {
  color: #FFFFFF !important;
  /* Pure White */
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 42px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 24px !important;
}

body.light-mode #why .section-sub,
body.light-mode #why p {
  color: rgba(255, 255, 255, 0.85) !important;
  /* Light white */
  -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  margin-bottom: 40px !important;
}

/* Feature cards grid */
body.light-mode #why .why-points {
  flex: 1.2 !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}

/* Individual white cards */
body.light-mode #why .why-point {
  background-color: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 32px 24px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

body.light-mode #why .why-point:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04) !important;
  border-color: #CBD5E1 !important;
}

/* Icons and text inside cards */
body.light-mode #why .wp-icon {
  color: #2563EB !important;
  margin-bottom: 16px !important;
  display: inline-block !important;
}

body.light-mode #why .wp-icon svg {
  stroke: #2563EB !important;
}

body.light-mode #why .wp-title {
  color: #0F172A !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

body.light-mode #why .wp-desc {
  color: #475569 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Responsive Design */
@media (max-width: 991px) {
  body.light-mode #why .why-layout {
    flex-direction: column !important;
    align-items: center !important;
    gap: 50px !important;
  }

  body.light-mode #why .why-left {
    max-width: 100% !important;
    text-align: center !important;
  }

  body.light-mode #why .section-tag {
    justify-content: center !important;
  }

  body.light-mode #why .section-title,
  body.light-mode #why h2 {
    text-align: center !important;
    font-size: 36px !important;
  }

  body.light-mode #why .why-points {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  body.light-mode #why {
    padding: 60px 20px !important;
  }

  body.light-mode #why .why-points {
    grid-template-columns: 1fr !important;
  }

  body.light-mode #why .section-title,
  body.light-mode #why h2 {
    font-size: 32px !important;
  }
}


/* Fix missing title visibility in light mode for the alliance CTA block */
body.light-mode .alliance-cta-title {
  color: var(--dark) !important;
}


/* ---- USER REQUESTED: WHY CHOOSE US IMAGE BACKGROUND CARD ---- */
#why {
  position: relative !important;
  background-image: url('../images/why-choose-us-bg.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-color: #111827 !important;
  /* Fallback */
  overflow: hidden !important;
  /* Ensure image stays inside boundaries/rounded corners */
  /* Do not change width/height/padding here to preserve existing */
}

/* 60-70% dark overlay for readability */
#why::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(17, 24, 39, 0.70) !important;
  /* 70% dark overlay */
  z-index: 0 !important;
  pointer-events: none !important;
}

#why>* {
  position: relative !important;
  z-index: 1 !important;
}

body.light-mode #why .section-title,
body.light-mode #why h2,
body.light-mode #why .section-sub,
body.light-mode #why p,
body.light-mode #why .section-tag,
body.light-mode #why .wp-title,
body.light-mode #why .wp-desc {
  color: #ffffff !important;
}

/* ==========================================================================
   USER REQUESTED STRICT SUBHEADING FIX (ABSOLUTE 17PX)
   ========================================================================== */
.section-sub,
.hero-sub,
.feature-sub,
.sh-sub,
.cta-sub,
.hww-sub,
.alliances-sub,
p.section-sub,
p.feature-sub,
p.hww-sub,
p.alliances-sub,
p.cta-sub,
.about-desc-large,
h3,
h4 {
  font-size: 17px !important;
}

/* ==========================================================================
   MOBILE MENU FIX (LIGHT MODE)
   ========================================================================== */
body.light-mode .mobile-menu a {
  color: #0f172a !important;
}

body.light-mode .mobile-menu .mob-dropdown-menu a {
  color: #334155 !important;
}

/* ==========================================================================
   CONSULTATION MODAL POPUP LIGHT THEME OVERRIDES
   ========================================================================== */
body.light-mode .consultation-modal-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15) !important;
}

body.light-mode .consultation-modal-close {
  background: rgba(15, 23, 42, 0.05) !important;
  color: #64748b !important;
}

body.light-mode .consultation-modal-close:hover {
  background: rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
}

body.light-mode .consultation-modal-info {
  background: linear-gradient(135deg, #f0f4ff 0%, #e2e8f0 100%) !important;
  color: #0f172a !important;
  border-right-color: rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .modal-logo-img {
  filter: none !important;
  /* Original colored brand logo */
}

body.light-mode .info-title {
  color: #0f172a !important;
}

body.light-mode .info-text {
  color: #475569 !important;
}

body.light-mode .info-features li {
  color: #334155 !important;
}

body.light-mode .check-icon {
  color: #2563eb !important;
}

body.light-mode .consultation-modal-form-wrapper {
  background: #ffffff !important;
}

body.light-mode .free-badge {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

body.light-mode .consultation-modal-card label,
body.light-mode .consultation-modal-card .form-group label,
body.light-mode .consultation-modal-form label,
body.light-mode .consultation-modal-form .form-group label {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  opacity: 1 !important;
  display: block !important;
  visibility: visible !important;
}

body.light-mode .form-group input,
body.light-mode .form-group select {
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

body.light-mode .form-group input::placeholder {
  color: #94a3b8 !important;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group select:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

body.light-mode .modal-submit-btn {
  background: #2563eb !important;
  color: #ffffff !important;
}

body.light-mode .modal-submit-btn:hover {
  background: #1d4ed8 !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25) !important;
}

@media (max-width: 768px) {
  body.light-mode .consultation-modal-info {
    border-right-color: transparent !important;
    border-bottom-color: rgba(15, 23, 42, 0.08) !important;
  }
}


/* ==========================================================================
   RESPONSIVE DESKTOP NAVBAR & EMAIL CLIPPING RESOLUTION
   ========================================================================== */
@media (max-width: 1350px) {
  .nav-email-text {
    display: none !important;
  }
}

@media (max-width: 1100px) {
  nav {
    padding: 0 3% !important;
  }

  .nav-links {
    gap: 4px !important;
  }

  .nav-links a {
    padding: 6px 12px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 950px) {
  nav {
    padding: 0 2% !important;
  }

  .nav-links {
    gap: 2px !important;
  }

  .nav-links a {
    padding: 5px 8px !important;
    font-size: 13px !important;
  }
}
/* ==========================================================================
   CUSTOM ELEMENTS PRE-UPGRADE STYLES (FOMC & CLS PREVENTION)
   ========================================================================== */
app-navbar {
  display: block;
  height: 0;
}

app-footer {
  display: block;
  min-height: 480px;
  background-color: #ffffff !important; /* Default light background for footer */
}
