/* =============================================
   light-mode-enhanced.css
   Professional Light Mode Theme for Flint Technologies
   Ensures elegant, comfortable, and accessible UI
   ============================================= */

/* =============================================
   LIGHT MODE COLOR TOKENS
   ============================================= */
:root:not(.dark),
body:not(.dark) {
  /* Light mode backgrounds */
  --light-bg-primary: #fafbfc;
  --light-bg-secondary: #f5f7fa;
  --light-bg-card: #ffffff;
  --light-bg-elevated: #ffffff;

  /* Light mode text colors */
  --light-text-primary: #1a1d21;
  --light-text-secondary: #4a5568;
  --light-text-tertiary: #718096;

  /* Light mode borders */
  --light-border-subtle: rgba(26, 29, 33, 0.08);
  --light-border-medium: rgba(26, 29, 33, 0.12);
  --light-border-strong: rgba(26, 29, 33, 0.18);

  /* Light mode shadows */
  --light-shadow-sm:
    0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --light-shadow-md:
    0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --light-shadow-lg:
    0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
  --light-shadow-xl:
    0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);

  /* Orange accents remain consistent */
  --orange-light-bg: rgba(255, 90, 0, 0.06);
  --orange-light-border: rgba(255, 90, 0, 0.2);
  --orange-light-hover: rgba(255, 90, 0, 0.1);
}

/* =============================================
   GLOBAL LIGHT MODE STYLES
   ============================================= */

/* Body background - soft off-white instead of harsh white */
:root:not(.dark),
html:not(.dark),
body:not(.dark) {
  background-color: var(--light-bg-primary) !important;
  color: var(--light-text-primary) !important;
}

/* Smooth theme transition */
html,
body {
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* =============================================
   NAVBAR - LIGHT MODE
   ============================================= */

/* Header background - clean white with subtle shadow */
body:not(.dark) header.header-area {
  background-color: var(--light-bg-card) !important;
  border-bottom: 1px solid var(--light-border-subtle) !important;
  box-shadow: var(--light-shadow-sm) !important;
  transition: all 0.3s ease;
}

/* Sticky header - enhanced shadow */
body:not(.dark) header.header-area.sticky {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.8) !important;
  border-bottom: 1px solid var(--light-border-medium) !important;
  box-shadow: var(--light-shadow-md) !important;
}

/* Nav links - dark text with good contrast */
body:not(.dark) header .header-area-wrap .main-menu > ul > li > a {
  color: var(--light-text-primary) !important;
  font-weight: 500;
  transition: color 0.25s ease;
}

/* Nav link hover - orange accent */
body:not(.dark) header .header-area-wrap .main-menu > ul > li > a:hover,
body:not(.dark) header .header-area-wrap .main-menu > ul > li:hover > a {
  color: #ff5a00 !important;
}

/* Active nav link - orange */
body:not(.dark) header .header-area-wrap .main-menu > ul > li.active > a {
  color: #ff5a00 !important;
}

/* Dropdown icon */
body:not(.dark) header .header-area-wrap .main-menu > ul > li .dropdown-icon {
  color: var(--light-text-secondary) !important;
}

body:not(.dark)
  header
  .header-area-wrap
  .main-menu
  > ul
  > li:hover
  .dropdown-icon,
body:not(.dark)
  header
  .header-area-wrap
  .main-menu
  > ul
  > li.active
  .dropdown-icon {
  color: #ff5a00 !important;
}

/* Sidebar menu button */
body:not(.dark) .sidebar-btn i {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .sidebar-btn:hover i {
  color: #ff5a00 !important;
}

/* =============================================
   MEGA MENU - LIGHT MODE
   ============================================= */

/* Mega menu background - clean white with shadow */
body:not(.dark) header .header-area-wrap .main-menu > ul > li .mega-menu {
  background-color: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-medium) !important;
  border-top: 2px solid #ff5a00 !important;
  box-shadow: var(--light-shadow-xl) !important;
  backdrop-filter: none !important;
}

/* Mega menu titles */
body:not(.dark)
  header
  .header-area-wrap
  .main-menu
  > ul
  > li
  .mega-menu
  .mega-menu-title {
  color: var(--light-text-primary) !important;
}

/* Service nav items */
body:not(.dark) .company-nav-item {
  background-color: var(--light-bg-secondary) !important;
  border: 1px solid var(--light-border-subtle) !important;
  transition: all 0.3s ease;
}

body:not(.dark) .company-nav-item:hover {
  background-color: var(--orange-light-bg) !important;
  border-color: var(--orange-light-border) !important;
  box-shadow: var(--light-shadow-md) !important;
  transform: translateY(-2px);
}

body:not(.dark) .company-nav-item .company-nav-title {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .company-nav-item .company-nav-desc {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .company-nav-item:hover .company-nav-title {
  color: #ff5a00 !important;
}

/* Spotlight card in mega menu */
body:not(.dark) .company-spotlight-card {
  background-color: var(--light-bg-secondary) !important;
  border: 1px solid var(--light-border-medium) !important;
  box-shadow: var(--light-shadow-md) !important;
}

body:not(.dark) .company-spotlight-stat {
  color: #ff5a00 !important;
}

body:not(.dark) .company-spotlight-label {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .company-spotlight-text {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .company-spotlight-cta {
  color: #ff5a00 !important;
}

body:not(.dark) .company-spotlight-cta:hover {
  color: #e04f00 !important;
}

body:not(.dark) .company-quick-link {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .company-quick-link:hover {
  color: #ff5a00 !important;
}

/* Contact area in mega menu */
body:not(.dark)
  header
  .header-area-wrap
  .main-menu
  > ul
  > li
  .mega-menu
  .contact-area
  h3 {
  color: var(--light-text-primary) !important;
}

body:not(.dark)
  header
  .header-area-wrap
  .main-menu
  > ul
  > li
  .mega-menu
  .contact-area
  a {
  background-color: #ff5a00 !important;
  color: #ffffff !important;
}

/* =============================================
   SIDEBAR MENU - LIGHT MODE
   ============================================= */

body:not(.dark) .right-sidebar-menu {
  background-color: var(--light-bg-card) !important;
  border-left: 1px solid var(--light-border-medium) !important;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08) !important;
}

body:not(.dark) .right-sidebar-close-btn i {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .sidebar-content-wrap .title-area p {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .contact-area h6 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .single-contact .content span {
  color: var(--light-text-tertiary) !important;
}

body:not(.dark) .single-contact .content h6,
body:not(.dark) .single-contact .content h6 a {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .single-contact .icon svg {
  fill: var(--light-text-secondary) !important;
}

body:not(.dark) .social-area h6 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .social-list li a {
  color: var(--light-text-secondary) !important;
  background-color: var(--light-bg-secondary) !important;
  border: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .social-list li a:hover {
  color: #ff5a00 !important;
  background-color: var(--orange-light-bg) !important;
  border-color: var(--orange-light-border) !important;
}

body:not(.dark) .footer-section .social-list li a:hover {
  color: var(--white-color) !important;
  background-color: var(--primary-color1) !important;
  border-color: transparent !important;
}

body:not(.dark) .footer-section .social-list li a:hover i {
  color: var(--white-color) !important;
}

/* =============================================
   HERO SECTION - LIGHT MODE
   ============================================= */

body:not(.dark) .home2-banner-section {
  background: #fafbfc !important;
  position: relative;
}

/* Grid background pattern - visible like in the screenshot */
body:not(.dark) .home2-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(26, 29, 33, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 29, 33, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
}

body:not(.dark) .home2-banner-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    900px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 90, 0, 0.04),
    transparent 80%
  );
  z-index: 0;
  pointer-events: none;
}

/* Ensure content is above the grid */
body:not(.dark) .home2-banner-section .banner-wrapper-wrap {
  position: relative;
  z-index: 1;
}

body:not(.dark) .hero-badge {
  background: rgba(255, 90, 0, 0.08) !important;
  border: 1px solid rgba(255, 90, 0, 0.2) !important;
  color: #ff5a00 !important;
  padding: 8px 16px !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

body:not(.dark) .hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: #ff5a00;
  border-radius: 50%;
  display: inline-block;
}

body:not(.dark) .home2-banner-section .banner-wrapper .left-content h1 {
  color: var(--light-text-primary) !important;
  text-shadow: none !important;
}

body:not(.dark) .glow-text {
  color: #ff5a00 !important;
  text-shadow: 0 2px 8px rgba(255, 90, 0, 0.15) !important;
  position: relative;
  display: inline-block;
}

/* Orange arrow decoration (like in screenshot) */
body:not(.dark) .home2-banner-section .glow-text::after {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #ff5a00 0%, transparent 100%);
}

body:not(.dark) .home2-banner-section .glow-text::before {
  content: '';
  position: absolute;
  right: -85px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  border-right: 2px solid #ff5a00;
  border-top: 2px solid #ff5a00;
}

body:not(.dark) .home2-banner-section .banner-wrapper .left-content p {
  color: var(--light-text-secondary) !important;
}

/* =============================================
   BUTTONS - LIGHT MODE
   ============================================= */

/* Primary button - remains orange */
body:not(.dark) .primary-btn1 {
  background-color: #ff5a00 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(255, 90, 0, 0.25) !important;
}

body:not(.dark) .primary-btn1:hover {
  box-shadow: 0 6px 20px rgba(255, 90, 0, 0.35) !important;
}

/* Secondary button - dark border on light bg */
body:not(.dark) .secondary-btn-outline {
  color: var(--light-text-primary) !important;
  border-color: var(--light-border-strong) !important;
}

body:not(.dark) .secondary-btn-outline:hover {
  border-color: #ff5a00 !important;
  background: var(--orange-light-bg) !important;
  color: #ff5a00 !important;
}

/* Glass button */
body:not(.dark) .glass-btn {
  background: var(--orange-light-bg) !important;
  border-color: var(--orange-light-border) !important;
  color: #ff5a00 !important;
}

body:not(.dark) .glass-btn:hover {
  background: var(--orange-light-hover) !important;
  box-shadow: var(--light-shadow-md) !important;
}

/* =============================================
   CARDS - LIGHT MODE
   ============================================= */

/* Glass cards - solid white with subtle shadow */
body:not(.dark) .glass-card {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
  box-shadow: var(--light-shadow-md) !important;
  backdrop-filter: none !important;
}

body:not(.dark) .glass-card:hover {
  border-color: var(--light-border-medium) !important;
  box-shadow: var(--light-shadow-lg) !important;
}

body:not(.dark) .glass-card--heavy {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-medium) !important;
  box-shadow: var(--light-shadow-lg) !important;
}

/* Service cards */
body:not(.dark) .service-card {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .service-card:hover {
  border-color: var(--orange-light-border) !important;
  box-shadow: var(--light-shadow-lg) !important;
}

body:not(.dark) .service-card .icon svg {
  fill: var(--light-text-primary) !important;
}

body:not(.dark) .service-card:hover .icon svg {
  fill: #ff5a00 !important;
}

body:not(.dark) .service-card h2,
body:not(.dark) .service-card h3 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .service-card p {
  color: var(--light-text-secondary) !important;
}

/* Service Feature Cards - Fix visibility issues */
body:not(.dark) .service-feature-card {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
  box-shadow: var(--light-shadow-md) !important;
}

body:not(.dark) .service-feature-card:hover {
  border-color: var(--light-border-medium) !important;
  box-shadow: var(--light-shadow-lg) !important;
}

/* CRITICAL FIX: Override the #F2F4F7 color from custom-brand.css */
body:not(.dark) .service-feature-card .sfc-text h3 {
  color: #1a1d21 !important; /* Dark text instead of #F2F4F7 */
  font-weight: 700 !important;
}

/* CRITICAL FIX: Override the rgba(90, 96, 108, 0.9) color */
body:not(.dark) .service-feature-card .sfc-text p {
  color: #4a5568 !important; /* Darker, more visible text */
}

body:not(.dark) .service-feature-card .sfc-link {
  color: #ff5a00 !important;
}

body:not(.dark) .service-feature-card .sfc-link:hover {
  color: #e04f00 !important;
}

body:not(.dark) .service-feature-card .sfc-visual svg {
  opacity: 0.9 !important;
}

body:not(.dark) .service-feature-card:hover .sfc-visual svg {
  opacity: 1 !important;
}

/* =============================================
   SECTIONS - LIGHT MODE
   ============================================= */

body:not(.dark) .section-title span {
  color: #ff5a00 !important;
  border-color: var(--orange-light-border) !important;
  background: var(--orange-light-bg) !important;
}

body:not(.dark) .section-title h2 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .section-title p {
  color: var(--light-text-secondary) !important;
}

/* Process/Workflow Cards */
body:not(.dark) .process-card,
body:not(.dark) .workflow-card,
body:not(.dark) .step-card {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
  box-shadow: var(--light-shadow-md) !important;
}

body:not(.dark) .process-card h3,
body:not(.dark) .process-card h4,
body:not(.dark) .workflow-card h3,
body:not(.dark) .workflow-card h4,
body:not(.dark) .step-card h3,
body:not(.dark) .step-card h4 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .process-card p,
body:not(.dark) .workflow-card p,
body:not(.dark) .step-card p {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .process-card .icon,
body:not(.dark) .workflow-card .icon,
body:not(.dark) .step-card .icon {
  background: var(--orange-light-bg) !important;
  border-color: var(--orange-light-border) !important;
  color: #ff5a00 !important;
}

body:not(.dark) .process-card .icon svg,
body:not(.dark) .workflow-card .icon svg,
body:not(.dark) .step-card .icon svg {
  fill: #ff5a00 !important;
  stroke: #ff5a00 !important;
}

/* PSC Cards (Process Showcase Cards) */
body:not(.dark) .psc-card {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .psc-card .psc-content h3,
body:not(.dark) .psc-card .psc-content h4 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .psc-card .psc-content p {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .psc-card:hover .psc-content h3 {
  color: #ff5a00 !important; /* Override the #ffffff on hover */
}

body:not(.dark) .psc-card .psc-overlay {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 100%
  ) !important;
}

body:not(.dark) .psc-card:hover .psc-overlay {
  background: linear-gradient(
    to top,
    rgba(255, 90, 0, 0.15) 0%,
    rgba(255, 90, 0, 0.05) 50%,
    transparent 100%
  ) !important;
}

/* Step numbers/badges */
body:not(.dark) .step-number,
body:not(.dark) .process-number {
  background: var(--orange-light-bg) !important;
  border: 2px solid var(--orange-light-border) !important;
  color: #ff5a00 !important;
  font-weight: 700 !important;
}

/* List items with orange bullets */
body:not(.dark) ul li::marker {
  color: #ff5a00 !important;
}

body:not(.dark) ul li {
  color: var(--light-text-secondary) !important;
}

/* Ensure all headings are visible */
body:not(.dark) h1,
body:not(.dark) h2,
body:not(.dark) h3,
body:not(.dark) h4,
body:not(.dark) h5,
body:not(.dark) h6 {
  color: var(--light-text-primary) !important;
}

/* Ensure all paragraphs are visible */
body:not(.dark) p {
  color: var(--light-text-secondary) !important;
}

/* Links */
body:not(.dark)
  a:not(.primary-btn1):not(.secondary-btn-outline):not(.glass-btn) {
  color: #ff5a00 !important;
}

body:not(.dark)
  a:not(.primary-btn1):not(.secondary-btn-outline):not(.glass-btn):hover {
  color: #e04f00 !important;
}

/* =============================================
   FOOTER - LIGHT MODE
   ============================================= */

body:not(.dark) .footer-section {
  background: var(--light-bg-secondary) !important;
  border-top: 1px solid var(--light-border-medium) !important;
}

body:not(.dark) .footer-section::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 90, 0, 0.15) 30%,
    rgba(255, 90, 0, 0.25) 50%,
    rgba(255, 90, 0, 0.15) 70%,
    transparent
  );
}

body:not(.dark) .footer-widget h5 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .footer-widget ul li a {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .footer-widget ul li a:hover {
  color: #ff5a00 !important;
}

body:not(.dark) .footer-logo p {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .home2-footer-top-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border: 1px solid var(--light-border-medium) !important;
  box-shadow: var(--light-shadow-lg) !important;
}

body:not(.dark) .home2-footer-top-section .footer-top-content h2 {
  color: var(--light-text-primary) !important;
  text-shadow: none !important;
}

body:not(.dark) .home2-footer-top-section .footer-top-content p {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .home2-footer-top-section .footer-top-content p span {
  color: #ff5a00 !important;
  font-weight: 700 !important;
}

/* =============================================
   FORMS - LIGHT MODE
   ============================================= */

body:not(.dark) .form-inner input,
body:not(.dark) .form-inner textarea,
body:not(.dark) .glass-form-field {
  background: var(--light-bg-card) !important;
  border-color: var(--light-border-medium) !important;
  color: var(--light-text-primary) !important;
}

body:not(.dark) .form-inner input:focus,
body:not(.dark) .form-inner textarea:focus,
body:not(.dark) .glass-form-field:focus {
  border-color: #ff5a00 !important;
  box-shadow: 0 0 0 3px var(--orange-light-bg) !important;
}

body:not(.dark) .form-inner label {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .form-inner input::placeholder,
body:not(.dark) .form-inner textarea::placeholder {
  color: var(--light-text-tertiary) !important;
}

/* =============================================
   FORMS - DARK MODE
   ============================================= */

body.dark .form-inner input,
body.dark .form-inner textarea,
body.dark .glass-form-field {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

body.dark .form-inner input:focus,
body.dark .form-inner textarea:focus,
body.dark .glass-form-field:focus {
  border-color: #ff5a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.2) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body.dark .form-inner input:hover,
body.dark .form-inner textarea:hover,
body.dark .glass-form-field:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

body.dark .form-inner label {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.dark .form-inner input::placeholder,
body.dark .form-inner textarea::placeholder,
body.dark .glass-form-field::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Dark Mode - Contact Form Specific */
body.dark .contact-form-wrap {
  background: rgba(255, 255, 255, 0.03) !important;
}

body.dark .contact-form-wrap .form-inner label,
body.dark .contact-form-wrap .form-inner2 > label {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* =============================================
   SCROLLBAR - LIGHT MODE
   ============================================= */

body:not(.dark)::-webkit-scrollbar-track {
  background: var(--light-bg-secondary);
}

body:not(.dark)::-webkit-scrollbar-thumb {
  background: #ff5a00;
  border: 2px solid var(--light-bg-secondary);
}

body:not(.dark)::-webkit-scrollbar-thumb:hover {
  background: #e04f00;
}

/* =============================================
   SCROLL TO TOP BUTTON - LIGHT MODE
   ============================================= */

body:not(.dark) #scroll-percentage {
  background: var(--light-bg-card) !important;
  border: 2px solid var(--orange-light-border) !important;
  box-shadow: var(--light-shadow-lg) !important;
}

body:not(.dark) #scroll-percentage-value {
  color: #1a1d21 !important;
}

body:not(.dark) #scroll-percentage .arrow {
  fill: #ff5a00 !important;
}

/* =============================================
   THEME TOGGLE BUTTON - LIGHT MODE
   ============================================= */

body:not(.dark) .tt-style-switch {
  background-color: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-medium) !important;
  box-shadow: var(--light-shadow-md) !important;
}

body:not(.dark) .tt-style-switch i {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .tt-style-switch:hover {
  background-color: var(--orange-light-bg) !important;
  border-color: var(--orange-light-border) !important;
}

/* =============================================
   BREADCRUMB - LIGHT MODE
   ============================================= */

body:not(.dark) .breadcrumb-section {
  background: var(--light-bg-secondary) !important;
}

body:not(.dark) .breadcrumb-section h1 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .breadcrumb ul li {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .breadcrumb ul li a {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .breadcrumb ul li a:hover {
  color: #ff5a00 !important;
}

/* =============================================
   CONTACT PAGE - HIDE DUPLICATE ADDRESSES & FIX OVERLAP
   APPLIES TO BOTH LIGHT AND DARK MODE
   ============================================= */

/* CRITICAL FIX: Remove wrapper background and shadow completely - BOTH MODES */
.contact-page-top-wrapper {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* Remove all shadows from contact-page-top section - BOTH MODES */
.contact-page-top {
  box-shadow: none !important;
}

/* Ensure no pseudo-elements are causing shadows - BOTH MODES */
.contact-page-top::before,
.contact-page-top::after,
.contact-page-top-wrapper::before,
.contact-page-top-wrapper::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* Hide 2nd and 3rd duplicate contact cards - BOTH MODES */
.contact-page-top .contact-page-top-wrapper .row .col-lg-4:nth-child(2),
.contact-page-top .contact-page-top-wrapper .row .col-lg-4:nth-child(3) {
  display: none !important;
}

/* Make the remaining contact card full width and centered - BOTH MODES */
.contact-page-top .contact-page-top-wrapper .row .col-lg-4:nth-child(1) {
  flex: 0 0 100% !important;
  max-width: 700px !important;
  margin: 0 auto !important;
}

/* Remove any shadows from the row container - BOTH MODES */
.contact-page-top .contact-page-top-wrapper .row {
  box-shadow: none !important;
}

/* REMOVE ALL SHADOWS FROM CONTACT CARD - BOTH MODES */
.contact-page-top .single-contact,
.contact-page-top-wrapper .single-contact {
  box-shadow: none !important;
}

/* =============================================
   CONTACT FORM SECTION - REMOVE ALL SHADOWS
   ============================================= */

/* Remove shadows from contact form wrapper - BOTH MODES */
.contact-from-wrap,
.contact-form-wrap {
  box-shadow: none !important;
  filter: none !important;
}

/* Remove shadows from form card - BOTH MODES */
.contact-form-wrap.inner-contact-from,
.contact-form-wrap.glass-card--heavy {
  box-shadow: none !important;
  filter: none !important;
}

/* Remove pseudo-element shadows from form section - BOTH MODES */
.contact-from-wrap::before,
.contact-from-wrap::after,
.contact-form-wrap::before,
.contact-form-wrap::after {
  box-shadow: none !important;
  filter: none !important;
}

/* Remove shadows from mb-120 sections - BOTH MODES */
.mb-120 {
  box-shadow: none !important;
  filter: none !important;
}

.mb-120::before,
.mb-120::after {
  box-shadow: none !important;
  filter: none !important;
  background: none !important;
}

/* LIGHT MODE SPECIFIC STYLES */
body:not(.dark) .contact-page-top .single-contact {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
  border-radius: 16px !important;
  padding: 40px !important;
  box-shadow: none !important; /* NO SHADOW */
  position: relative !important;
  z-index: 10 !important;
  overflow: visible !important;
  margin: 0 !important;
}

body:not(.dark) .contact-page-top .single-contact:hover {
  border-color: var(--light-border-medium) !important;
  box-shadow: none !important; /* NO SHADOW ON HOVER */
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

body:not(.dark) .contact-page-top .single-contact .content-top h2 {
  color: var(--light-text-primary) !important;
  font-weight: 600 !important;
}

body:not(.dark) .contact-page-top .single-contact .contact-list li .icon {
  background: var(--orange-light-bg) !important;
  border-radius: 8px !important;
  padding: 8px !important;
}

body:not(.dark) .contact-page-top .single-contact .contact-list li .icon svg {
  fill: #ff5a00 !important;
}

body:not(.dark) .contact-page-top .single-contact .contact-list li .content a {
  color: var(--light-text-secondary) !important;
  transition: color 0.3s ease;
}

body:not(.dark) .contact-page-top .single-contact .contact-list li .content a:hover {
  color: #ff5a00 !important;
}

body:not(.dark) .contact-page-top .single-contact .view-map-btn {
  color: #ff5a00 !important;
  font-weight: 600 !important;
}

body:not(.dark) .contact-page-top .single-contact .view-map-btn:hover {
  color: #e04f00 !important;
}

/* Remove shadows from contact form in Light Mode */
body:not(.dark) .contact-form-wrap,
body:not(.dark) .contact-form-wrap.inner-contact-from,
body:not(.dark) .contact-form-wrap.glass-card--heavy {
  box-shadow: none !important;
  filter: none !important;
}

/* =============================================
   COMPREHENSIVE LIGHT MODE LAYOUT FIXES
   ============================================= */

/* Fix z-index conflicts across all pages */
body:not(.dark) .header-area {
  z-index: 1000 !important;
}

body:not(.dark) .right-sidebar-menu {
  z-index: 1001 !important;
}

body:not(.dark) .mega-menu {
  z-index: 999 !important;
}

/* Fix overlapping canvas elements in hero section */
body:not(.dark) #hero-grid-lines,
body:not(.dark) #hero-particles-canvas,
body:not(.dark) #hero-cycle-canvas {
  pointer-events: none !important;
  z-index: 1 !important;
}

body:not(.dark) .home2-banner-section .banner-wrapper-wrap {
  z-index: 10 !important;
}

/* Fix about section glow overflow */
body:not(.dark) .about-us-section .about-image {
  overflow: visible !important;
  position: relative !important;
}

body:not(.dark) .about-us-section .about-image::before {
  z-index: 0 !important;
}

body:not(.dark) .about-us-section .about-image > img {
  position: relative !important;
  z-index: 1 !important;
}

/* Fix service card overlapping */
body:not(.dark) .service-card {
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
}

/* Fix process section spacing */
body:not(.dark) .process-wrapper {
  position: relative !important;
  z-index: 1 !important;
}

/* Fix footer CTA section */
body:not(.dark) .home2-footer-top-section {
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
}

/* Fix testimonial section */
body:not(.dark) .home2-testimonial-section {
  position: relative !important;
  z-index: 1 !important;
}

/* Fix portfolio cards */
body:not(.dark) .psc-card {
  position: relative !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

/* Fix breadcrumb overlap with header */
body:not(.dark) .breadcrumb-section {
  margin-top: 0 !important;
  padding-top: 120px !important;
}

/* Fix console card responsive issues */
body:not(.dark) .console-card {
  max-width: 100% !important;
  overflow-x: auto !important;
}

/* Fix mega menu mobile */
@media (max-width: 991px) {
  body:not(.dark) .mega-menu {
    position: static !important;
    width: 100% !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
  }
}

/* Fix spacing inconsistencies */
body:not(.dark) .mb-120 {
  margin-bottom: 80px !important;
}

@media (max-width: 1199px) {
  body:not(.dark) .mb-120 {
    margin-bottom: 70px !important;
  }
}

@media (max-width: 767px) {
  body:not(.dark) .mb-120 {
    margin-bottom: 60px !important;
  }
}

/* Fix button group spacing on mobile */
@media (max-width: 576px) {
  body:not(.dark) .hero-button-group {
    gap: 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

/* Fix service grid gaps */
@media (max-width: 991px) {
  body:not(.dark) .sfc-grid {
    gap: 24px !important;
  }
}

/* Ensure all text is readable in Light Mode */
body:not(.dark) h1,
body:not(.dark) h2,
body:not(.dark) h3,
body:not(.dark) h4,
body:not(.dark) h5,
body:not(.dark) h6 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) p,
body:not(.dark) li,
body:not(.dark) span {
  color: var(--light-text-secondary) !important;
}

/* Fix form input visibility */
body:not(.dark) input,
body:not(.dark) textarea,
body:not(.dark) select {
  background: var(--light-bg-card) !important;
  border-color: var(--light-border-medium) !important;
  color: var(--light-text-primary) !important;
}

body:not(.dark) input::placeholder,
body:not(.dark) textarea::placeholder {
  color: var(--light-text-tertiary) !important;
}

/* =============================================
   AWARD SECTION - LIGHT MODE FIX (AGGRESSIVE)
   ============================================= */

/* Fix award image background overlapping issue - AGGRESSIVE FIX */
body:not(.dark) .award-section .award-img,
body:not(.dark) .award-section .col-lg-4 .award-img,
body:not(.dark) .award-section .col-md-6 .award-img {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
  display: block !important;
}

/* Ensure award section images are visible */
body:not(.dark) .award-section .award-img ul {
  display: block !important;
  position: relative !important;
}

body:not(.dark) .award-section .award-img ul li {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Hide non-active images by default */
body:not(.dark) .award-section .award-img ul li .single-img {
  display: block !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* Show only active image */
body:not(.dark) .award-section .award-img ul li.active .single-img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  clip-path: none !important;
  transform: none !important;
  animation: none !important;
}

body:not(.dark) .award-section .award-img ul li .single-img img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 10px !important;
}

/* Ensure award slider images are visible in Light Mode */
body:not(.dark) .award-slider-section .award-img {
  display: block !important;
}

body:not(.dark) .award-slider-section .award-img img {
  display: block !important;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Ensure award list has higher z-index */
body:not(.dark) .award-section .award-list {
  position: relative !important;
  z-index: 10 !important;
}

body:not(.dark) .award-section .award-list ul {
  position: relative !important;
  z-index: 10 !important;
}

body:not(.dark) .award-section .award-list ul li {
  background: var(--light-bg-card) !important;
  border-bottom: 1px solid var(--light-border-subtle) !important;
  position: relative !important;
  z-index: 10 !important;
}

body:not(.dark) .award-section .award-list ul li.active {
  background: var(--orange-light-bg) !important;
  border-color: var(--orange-light-border) !important;
}

body:not(.dark) .award-section .award-list ul li .award-history {
  position: relative !important;
  z-index: 10 !important;
}

body:not(.dark) .award-section .award-list ul li .award-history h2,
body:not(.dark) .award-section .award-list ul li .award-history h3 {
  color: var(--light-text-primary) !important;
  position: relative !important;
  z-index: 10 !important;
}

body:not(.dark) .award-section .award-list ul li.active .award-history h2,
body:not(.dark) .award-section .award-list ul li.active .award-history h3 {
  color: #ff5a00 !important;
}

/* Ensure the column containing images doesn't overflow */
body:not(.dark) .award-section .row > [class*="col-"] {
  overflow: visible !important;
  position: relative !important;
}

/* =============================================
   HERO SECTION SPACING OPTIMIZATION
   ============================================= */

/* Optimize hero section spacing - same approach as pricing section */
.home2-banner-section {
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
  padding-bottom: 40px !important;
  /* margin-bottom: 80px !important; Override mb-120 class */
}

/* Ensure banner wrapper has proper spacing */
.home2-banner-section .banner-wrapper-wrap {
  overflow: visible !important;
}

/* Responsive adjustments for hero section */
@media (max-width: 1199px) {
  .home2-banner-section {
    padding-bottom: 30px !important;
    margin-bottom: 70px !important;
  }
}

@media (max-width: 767px) {
  .home2-banner-section {
    padding-bottom: 20px !important;
    margin-bottom: 60px !important;
  }
}

/* =============================================
   MODERN SERVICE PRICING CARDS - LIGHT MODE (COMPACT)
   ============================================= */

/* Modern Service Card Container - Compact Design */
body:not(.dark) .pricing-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.06) !important;
  padding: 28px 24px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

body:not(.dark) .pricing-card:hover {
  transform: translateY(-3px) !important;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.08),
    0 3px 6px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(255, 90, 0, 0.2) !important;
}

/* Featured Card (Custom Development Plan) */
body:not(.dark) .pricing-card.two {
  background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%) !important;
  border: 2px solid rgba(255, 90, 0, 0.2) !important;
  box-shadow:
    0 4px 12px rgba(255, 90, 0, 0.12),
    0 2px 4px rgba(255, 90, 0, 0.08) !important;
  padding: 27px 23px !important;
}

body:not(.dark) .pricing-card.two:hover {
  box-shadow:
    0 10px 24px rgba(255, 90, 0, 0.16),
    0 3px 6px rgba(255, 90, 0, 0.12) !important;
}

/* Premium Card (ERP Solution) */
body:not(.dark) .pricing-card.three {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Service Icon - Compact */
body:not(.dark) .pricing-card .service-icon {
  width: 48px !important;
  height: 48px !important;
  background: rgba(255, 90, 0, 0.08) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 16px !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
}

body:not(.dark) .pricing-card:hover .service-icon {
  background: rgba(255, 90, 0, 0.12) !important;
  transform: scale(1.05) !important;
}

body:not(.dark) .pricing-card .service-icon svg {
  width: 24px !important;
  height: 24px !important;
  stroke: #ff5a00 !important;
  fill: none !important;
}

/* Service Title - Compact */
body:not(.dark) .pricing-card .pricing-top > span {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #64748b !important;
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
}

/* Price Section - Compact */
body:not(.dark) .pricing-card .pricing-top h2 {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #ff5a00 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.1 !important;
}

body:not(.dark) .pricing-card .pricing-top h2 sub {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  vertical-align: baseline !important;
  margin-left: 4px !important;
}

/* Service Description - Compact */
body:not(.dark) .pricing-card .pricing-top > p {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #475569 !important;
  margin: 12px 0 0 0 !important;
  flex-grow: 1 !important;
}

/* CTA Link - Compact */
body:not(.dark) .pricing-card .pay-btn-area {
  margin-top: 16px !important;
  padding-top: 0 !important;
}

body:not(.dark) .pricing-card .pricing-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #ff5a00 !important;
  text-decoration: none !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  transition: all 0.2s ease !important;
}

body:not(.dark) .pricing-card .pricing-btn span {
  position: relative !important;
}

body:not(.dark) .pricing-card .pricing-btn span::after {
  content: "" !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background: #ff5a00 !important;
  transition: width 0.3s ease !important;
}

body:not(.dark) .pricing-card .pricing-btn:hover span::after {
  width: 100% !important;
}

body:not(.dark) .pricing-card .pricing-btn::after {
  content: "→" !important;
  font-size: 16px !important;
  transition: transform 0.2s ease !important;
}

body:not(.dark) .pricing-card .pricing-btn:hover::after {
  transform: translateX(4px) !important;
}

body:not(.dark) .pricing-card .pricing-btn:hover {
  color: #e04f00 !important;
}

/* Pricing Top Container - Ensure proper spacing */
body:not(.dark) .pricing-card .pricing-top {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* Responsive Grid Adjustments - Compact */
@media (max-width: 1199px) {
  body:not(.dark) .pricing-card {
    padding: 24px 20px !important;
  }

  body:not(.dark) .pricing-card.two {
    padding: 23px 19px !important;
  }

  body:not(.dark) .pricing-card .pricing-top h2 {
    font-size: 28px !important;
  }

  body:not(.dark) .pricing-card .service-icon {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 14px !important;
  }
}

@media (max-width: 767px) {
  body:not(.dark) .pricing-card {
    padding: 22px 18px !important;
  }

  body:not(.dark) .pricing-card.two {
    padding: 21px 17px !important;
  }

  body:not(.dark) .pricing-card .pricing-top h2 {
    font-size: 26px !important;
  }

  body:not(.dark) .pricing-card .service-icon {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 12px !important;
  }

  body:not(.dark) .pricing-card .service-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  body:not(.dark) .pricing-card .pricing-top > span {
    font-size: 12px !important;
  }

  body:not(.dark) .pricing-card .pricing-top > p {
    font-size: 13px !important;
  }

  body:not(.dark) .pricing-card .pay-btn-area {
    margin-top: 14px !important;
  }
}

  body:not(.dark) .pricing-card .service-icon {
    width: 48px !important;
    height: 48px !important;
  }

  body:not(.dark) .pricing-card .service-icon svg {
    width: 24px !important;
    height: 24px !important;
  }
}

/* =============================================
   TEAM CARDS - LIGHT MODE
   ============================================= */

body:not(.dark) .team-card {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .team-card h4 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .team-card span {
  color: var(--light-text-secondary) !important;
}

/* =============================================
   PORTFOLIO CARDS - LIGHT MODE
   ============================================= */

body:not(.dark) .portfolio-card {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .portfolio-card h3 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .portfolio-card p {
  color: var(--light-text-secondary) !important;
}

/* =============================================
   BLOG/NEWS CARDS - LIGHT MODE
   ============================================= */

body:not(.dark) .blog-card {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .blog-card h3 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .blog-card p {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .blog-card .meta {
  color: var(--light-text-tertiary) !important;
}

/* =============================================
   ACCORDION/FAQ - LIGHT MODE
   ============================================= */

body:not(.dark) .accordion-item {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .accordion-button {
  background: transparent !important;
  color: var(--light-text-primary) !important;
}

body:not(.dark) .accordion-button:not(.collapsed) {
  background: var(--orange-light-bg) !important;
  color: #ff5a00 !important;
}

body:not(.dark) .accordion-body {
  color: var(--light-text-secondary) !important;
}

/* =============================================
   TABLES - LIGHT MODE
   ============================================= */

body:not(.dark) .table-container {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .table thead {
  background: var(--light-bg-secondary) !important;
  border-bottom: 2px solid var(--light-border-medium) !important;
}

body:not(.dark) .table thead th {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .table tbody td {
  color: var(--light-text-secondary) !important;
  border-bottom: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .table tbody tr:hover {
  background: var(--light-bg-secondary) !important;
}

/* =============================================
   MODALS - LIGHT MODE
   ============================================= */

body:not(.dark) .modal-content {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-medium) !important;
  box-shadow: var(--light-shadow-xl) !important;
}

body:not(.dark) .modal-header {
  border-bottom: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .modal-title {
  color: var(--light-text-primary) !important;
}

body:not(.dark) .modal-body {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .modal-footer {
  border-top: 1px solid var(--light-border-subtle) !important;
}

/* =============================================
   BADGES & TAGS - LIGHT MODE
   ============================================= */

body:not(.dark) .glass-badge {
  background: var(--orange-light-bg) !important;
  border-color: var(--orange-light-border) !important;
  color: #ff5a00 !important;
}

body:not(.dark) .tag {
  background: var(--light-bg-secondary) !important;
  color: var(--light-text-secondary) !important;
  border: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .tag:hover {
  background: var(--orange-light-bg) !important;
  color: #ff5a00 !important;
  border-color: var(--orange-light-border) !important;
}

/* =============================================
   STATS/COUNTERS - LIGHT MODE
   ============================================= */

body:not(.dark) .glass-stat {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .glass-stat .stat-number,
body:not(.dark) .glass-stat .counter_number {
  color: #ff5a00 !important;
}

body:not(.dark) .glass-stat .stat-label {
  color: var(--light-text-secondary) !important;
}

/* =============================================
   CONSOLE CARD - LIGHT MODE
   ============================================= */

body:not(.dark) .tech-showcase-console {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-medium) !important;
  box-shadow: var(--light-shadow-xl) !important;
}

body:not(.dark) .console-header {
  background: var(--light-bg-secondary) !important;
  border-bottom: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .console-title {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .console-toolbar {
  background: var(--light-bg-secondary) !important;
  border-bottom: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .console-btn {
  background: var(--light-bg-card) !important;
  border-color: var(--light-border-medium) !important;
  color: var(--light-text-primary) !important;
}

body:not(.dark) .console-btn:hover:not(.disabled) {
  background: var(--orange-light-bg) !important;
  border-color: var(--orange-light-border) !important;
  color: #ff5a00 !important;
}

body:not(.dark) .console-body {
  background: var(--light-bg-secondary) !important;
}

body:not(.dark) .log-info {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .log-cmd {
  color: var(--light-text-primary) !important;
}

/* =============================================
   RESPONSIVE ADJUSTMENTS
   ============================================= */

@media (max-width: 991px) {
  body:not(.dark) .mobile-menu {
    background: var(--light-bg-card) !important;
    box-shadow: var(--light-shadow-xl) !important;
  }
}

/* =============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================= */

/* Focus states */
body:not(.dark) *:focus-visible {
  outline: 2px solid #ff5a00 !important;
  outline-offset: 2px;
}

/* Selection */
body:not(.dark) ::selection {
  background-color: rgba(255, 90, 0, 0.2);
  color: var(--light-text-primary);
}

/* =============================================
   SMOOTH TRANSITIONS
   ============================================= */

body:not(.dark) * {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}

/* Disable transitions during theme switch */
body.theme-transitioning * {
  transition: none !important;
}

/* =============================================
   ADDITIONAL VISIBILITY FIXES
   ============================================= */

/* Ensure all text content is visible in light mode */
body:not(.dark) .content,
body:not(.dark) .text-content,
body:not(.dark) .description,
body:not(.dark) .details {
  color: var(--light-text-secondary) !important;
}

/* Icon containers */
body:not(.dark) .icon-box,
body:not(.dark) .icon-wrapper,
body:not(.dark) .icon-container {
  background: var(--orange-light-bg) !important;
  border-color: var(--orange-light-border) !important;
}

body:not(.dark) .icon-box svg,
body:not(.dark) .icon-wrapper svg,
body:not(.dark) .icon-container svg {
  fill: #ff5a00 !important;
  stroke: #ff5a00 !important;
  opacity: 1 !important;
}

/* Ensure SVG icons are visible */
body:not(.dark) svg {
  opacity: 0.9 !important;
}

body:not(.dark) svg[stroke] {
  stroke: #ff5a00 !important;
}

body:not(.dark) svg[fill]:not([fill="none"]) {
  fill: #ff5a00 !important;
}

/* Override any white/light text that might be set in dark mode */
body:not(.dark) [class*="title"],
body:not(.dark) [class*="heading"],
body:not(.dark) [class*="header"] {
  color: var(--light-text-primary) !important;
}

body:not(.dark) [class*="desc"],
body:not(.dark) [class*="text"],
body:not(.dark) [class*="content"] {
  color: var(--light-text-secondary) !important;
}

/* Specific fix for any remaining white text - ensure proper color inheritance */
body:not(.dark) * {
  /* All elements inherit proper light mode colors from parent rules */
}

body:not(.dark) *[style*="color: #fff"],
body:not(.dark) *[style*="color: #ffffff"],
body:not(.dark) *[style*="color: white"],
body:not(.dark) *[style*="color: rgb(255, 255, 255)"] {
  color: var(--light-text-primary) !important;
}

/* Ensure proper contrast for all interactive elements */
body:not(.dark) button:not(.primary-btn1),
body:not(.dark) .btn:not(.primary-btn1) {
  color: var(--light-text-primary) !important;
  background: var(--light-bg-card) !important;
  border-color: var(--light-border-medium) !important;
}

body:not(.dark) button:not(.primary-btn1):hover,
body:not(.dark) .btn:not(.primary-btn1):hover {
  background: var(--orange-light-bg) !important;
  border-color: var(--orange-light-border) !important;
  color: #ff5a00 !important;
}

/* Fix for any gradient text that might be invisible */
body:not(.dark) .gradient-text,
body:not(.dark) .glow-text {
  background: linear-gradient(135deg, #ff5a00 0%, #e04f00 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Ensure all sections have proper background */
body:not(.dark) section {
  background-color: var(--light-bg-primary) !important;
}

body:not(.dark) section:nth-child(even) {
  background-color: var(--light-bg-secondary) !important;
}

/* Fix for any overlay text */
body:not(.dark) .overlay-text,
body:not(.dark) .overlay-content {
  color: var(--light-text-primary) !important;
  text-shadow: none !important;
}

/* Ensure proper visibility for all card elements */
body:not(.dark) [class*="card"] h1,
body:not(.dark) [class*="card"] h2,
body:not(.dark) [class*="card"] h3,
body:not(.dark) [class*="card"] h4,
body:not(.dark) [class*="card"] h5,
body:not(.dark) [class*="card"] h6 {
  color: var(--light-text-primary) !important;
}

body:not(.dark) [class*="card"] p,
body:not(.dark) [class*="card"] span:not(.badge) {
  color: var(--light-text-secondary) !important;
}

/* Fix for any remaining visibility issues with specific elements */
body:not(.dark) .home2-banner-section .banner-wrapper .left-content h1,
body:not(.dark) .home2-banner-section .banner-wrapper .left-content h2,
body:not(.dark) .home2-banner-section .banner-wrapper .left-content h3 {
  color: var(--light-text-primary) !important;
  text-shadow: none !important;
}

body:not(.dark) .home2-banner-section .banner-wrapper .left-content p {
  color: var(--light-text-secondary) !important;
}

/* Ensure all list items are visible */
body:not(.dark) li {
  color: var(--light-text-secondary) !important;
}

/* Fix for any span elements that might be invisible */
body:not(.dark) span:not(.badge):not(.tag) {
  color: inherit !important;
}

/* Ensure proper contrast for all text elements */
body:not(.dark) .text-white,
body:not(.dark) .text-light {
  color: var(--light-text-primary) !important;
}

/* Fix for any remaining dark mode specific styles */
body:not(.dark) .dark-only {
  display: none !important;
}

body:not(.dark) .light-only {
  display: block !important;
}

/* =============================================
   CRITICAL FIXES FOR OVERLAPPING ELEMENTS & LAYOUT ISSUES
   Added: May 29, 2026
   ============================================= */

/* =============================================
   HERO SECTION - ENHANCED FIXES
   ============================================= */

/* Fix hero blob visibility and positioning */
body:not(.dark) .hero-blob {
  opacity: 0.03 !important; /* Subtle in light mode */
  mix-blend-mode: multiply !important;
}

/* Fix hero canvas elements */
body:not(.dark) #hero-cycle-canvas,
body:not(.dark) #hero-particles-canvas {
  opacity: 0.4 !important; /* More subtle in light mode */
}

/* Ensure hero content has proper z-index */
body:not(.dark) .banner-wrapper-wrap {
  position: relative !important;
  z-index: 10 !important;
}

/* Fix hero trust indicators */
body:not(.dark) .hero-trust-row {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .hero-trust-row svg {
  fill: #ff5a00 !important;
}

/* =============================================
   IMAGE OVERLAYS - FIX TEXT VISIBILITY
   ============================================= */

/* Portfolio card overlays */
body:not(.dark) .portfolio-card .overlay {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.3) 100%
  ) !important;
}

body:not(.dark) .portfolio-card:hover .overlay {
  background: linear-gradient(
    to top,
    rgba(255, 90, 0, 0.95) 0%,
    rgba(255, 90, 0, 0.75) 50%,
    rgba(255, 90, 0, 0.3) 100%
  ) !important;
}

body:not(.dark) .portfolio-card:hover h3,
body:not(.dark) .portfolio-card:hover p {
  color: #ffffff !important;
}

/* Case study card overlays */
body:not(.dark) .case-study-card .overlay {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 100%
  ) !important;
}

/* Blog/News card image overlays */
body:not(.dark) .blog-card .image-overlay {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.95) 0%,
    transparent 100%
  ) !important;
}

/* =============================================
   SPACING & MARGIN FIXES
   ============================================= */

/* Ensure proper section spacing */
body:not(.dark) section {
  padding-top: clamp(60px, 8vw, 120px) !important;
  padding-bottom: clamp(60px, 8vw, 120px) !important;
}

/* Fix card spacing */
body:not(.dark) [class*="card"] {
  margin-bottom: 30px !important;
}

/* Fix grid gaps */
body:not(.dark) .row {
  row-gap: 30px !important;
}

/* Ensure proper padding in containers */
body:not(.dark) .container,
body:not(.dark) .container-fluid {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* =============================================
   FORM ENHANCEMENTS
   ============================================= */

/* Stronger form field borders */
body:not(.dark) .form-inner input,
body:not(.dark) .form-inner textarea,
body:not(.dark) .form-inner select {
  border: 2px solid var(--light-border-medium) !important;
  padding: 14px 18px !important;
}

/* Enhanced focus state */
body:not(.dark) .form-inner input:focus,
body:not(.dark) .form-inner textarea:focus,
body:not(.dark) .form-inner select:focus {
  border-color: #ff5a00 !important;
  box-shadow: 0 0 0 4px var(--orange-light-bg) !important;
  outline: none !important;
}

/* Form labels with better contrast */
body:not(.dark) .form-inner label {
  color: var(--light-text-primary) !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

/* Placeholder text */
body:not(.dark) .form-inner input::placeholder,
body:not(.dark) .form-inner textarea::placeholder {
  color: var(--light-text-tertiary) !important;
  opacity: 0.7 !important;
}

/* Form validation states */
body:not(.dark) .form-inner input.is-invalid,
body:not(.dark) .form-inner textarea.is-invalid {
  border-color: #dc3545 !important;
}

body:not(.dark) .form-inner input.is-valid,
body:not(.dark) .form-inner textarea.is-valid {
  border-color: #28a745 !important;
}

/* =============================================
   DROPDOWN & SELECT FIXES
   ============================================= */

body:not(.dark) .nice-select {
  background: var(--light-bg-card) !important;
  border: 2px solid var(--light-border-medium) !important;
  color: var(--light-text-primary) !important;
}

body:not(.dark) .nice-select:hover,
body:not(.dark) .nice-select:focus {
  border-color: #ff5a00 !important;
}

body:not(.dark) .nice-select .list {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-medium) !important;
  box-shadow: var(--light-shadow-xl) !important;
}

body:not(.dark) .nice-select .option {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .nice-select .option:hover,
body:not(.dark) .nice-select .option.selected {
  background: var(--orange-light-bg) !important;
  color: #ff5a00 !important;
}

/* =============================================
   MODAL ENHANCEMENTS
   ============================================= */

/* Modal backdrop */
body:not(.dark) .modal-backdrop {
  background-color: rgba(26, 29, 33, 0.6) !important;
}

/* Modal close button */
body:not(.dark) .modal-header .btn-close {
  background-color: var(--light-bg-secondary) !important;
  opacity: 1 !important;
}

body:not(.dark) .modal-header .btn-close:hover {
  background-color: var(--orange-light-bg) !important;
}

/* =============================================
   PRICING TABLE ENHANCEMENTS
   ============================================= */

/* Featured pricing card - stronger differentiation */
body:not(.dark) .pricing-card.two,
body:not(.dark) .pricing-card.featured {
  background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%) !important;
  border: 2px solid #ff5a00 !important;
  box-shadow: 0 8px 24px rgba(255, 90, 0, 0.15) !important;
  transform: scale(1.05) !important;
}

/* Pricing card hover effect */
body:not(.dark) .pricing-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--light-shadow-xl) !important;
}

/* Pricing list items */
body:not(.dark) .pricing-card ul li {
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .pricing-card ul li:last-child {
  border-bottom: none !important;
}

/* Pricing checkmarks */
body:not(.dark) .pricing-card ul li::before {
  color: #28a745 !important;
}

/* =============================================
   TEAM CARD ENHANCEMENTS
   ============================================= */

/* Team card hover effect */
body:not(.dark) .team-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--light-shadow-xl) !important;
  border-color: var(--orange-light-border) !important;
}

/* Team social icons */
body:not(.dark) .team-card .social-icons a {
  background: var(--light-bg-secondary) !important;
  border: 1px solid var(--light-border-subtle) !important;
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .team-card .social-icons a:hover {
  background: #ff5a00 !important;
  border-color: #ff5a00 !important;
  color: #ffffff !important;
}

/* Team role badge */
body:not(.dark) .team-card .role {
  color: #ff5a00 !important;
  font-weight: 600 !important;
}

/* =============================================
   FIX: Ensure all team images are the same size
   ============================================= */
.team-card .team-img img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  aspect-ratio: 4/5 !important;
}

.team-card.style-2 .team-img img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  aspect-ratio: 4/5 !important;
}

/* =============================================
   ACCORDION/FAQ ENHANCEMENTS
   ============================================= */

/* Accordion spacing */
body:not(.dark) .accordion-item {
  margin-bottom: 16px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* Accordion button with icon */
body:not(.dark) .accordion-button::after {
  background-color: #ff5a00 !important;
}

/* Expanded accordion */
body:not(.dark) .accordion-button:not(.collapsed) {
  box-shadow: inset 0 -1px 0 var(--light-border-subtle) !important;
}

/* =============================================
   TABLE ENHANCEMENTS
   ============================================= */

/* Table striping */
body:not(.dark) .table tbody tr:nth-child(odd) {
  background: var(--light-bg-primary) !important;
}

body:not(.dark) .table tbody tr:nth-child(even) {
  background: var(--light-bg-card) !important;
}

/* Table hover */
body:not(.dark) .table tbody tr:hover {
  background: var(--orange-light-bg) !important;
}

/* =============================================
   BREADCRUMB ENHANCEMENTS
   ============================================= */

body:not(.dark) .breadcrumb {
  background: transparent !important;
}

body:not(.dark) .breadcrumb-item + .breadcrumb-item::before {
  color: var(--light-text-tertiary) !important;
}

body:not(.dark) .breadcrumb-item.active {
  color: #ff5a00 !important;
  font-weight: 600 !important;
}

/* =============================================
   PAGINATION FIXES
   ============================================= */

body:not(.dark) .pagination .page-link {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-medium) !important;
  color: var(--light-text-primary) !important;
}

body:not(.dark) .pagination .page-link:hover {
  background: var(--orange-light-bg) !important;
  border-color: var(--orange-light-border) !important;
  color: #ff5a00 !important;
}

body:not(.dark) .pagination .page-item.active .page-link {
  background: #ff5a00 !important;
  border-color: #ff5a00 !important;
  color: #ffffff !important;
}

/* =============================================
   TESTIMONIAL/REVIEW CARDS
   ============================================= */

body:not(.dark) .testimonial-card,
body:not(.dark) .review-card {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
  box-shadow: var(--light-shadow-md) !important;
  padding: 30px !important;
}

body:not(.dark) .testimonial-card .quote-icon {
  color: var(--orange-light-border) !important;
  opacity: 0.3 !important;
}

body:not(.dark) .testimonial-card .author-name {
  color: var(--light-text-primary) !important;
  font-weight: 700 !important;
}

body:not(.dark) .testimonial-card .author-role {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .testimonial-card .rating svg {
  fill: #ffc107 !important;
}

/* =============================================
   STATS/COUNTER SECTION
   ============================================= */

body:not(.dark) .stats-section {
  background: var(--light-bg-secondary) !important;
  border-top: 1px solid var(--light-border-medium) !important;
  border-bottom: 1px solid var(--light-border-medium) !important;
}

body:not(.dark) .stat-item {
  text-align: center !important;
  padding: 20px !important;
}

body:not(.dark) .stat-number {
  color: #ff5a00 !important;
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
  font-weight: 900 !important;
}

body:not(.dark) .stat-label {
  color: var(--light-text-secondary) !important;
  font-weight: 600 !important;
}

/* =============================================
   TIMELINE COMPONENTS
   ============================================= */

body:not(.dark) .timeline-item {
  position: relative !important;
  padding-left: 40px !important;
  margin-bottom: 30px !important;
}

body:not(.dark) .timeline-item::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 3px !important;
  height: 100% !important;
  background: var(--light-border-medium) !important;
}

body:not(.dark) .timeline-item::after {
  content: "" !important;
  position: absolute !important;
  left: -6px !important;
  top: 0 !important;
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  background: #ff5a00 !important;
  border: 3px solid var(--light-bg-card) !important;
}

body:not(.dark) .timeline-content {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
  padding: 20px !important;
  border-radius: 8px !important;
}

/* =============================================
   ALERT/NOTIFICATION BOXES
   ============================================= */

body:not(.dark) .alert {
  border-left: 4px solid !important;
  background: var(--light-bg-card) !important;
}

body:not(.dark) .alert-info {
  border-left-color: #17a2b8 !important;
  background: rgba(23, 162, 184, 0.05) !important;
}

body:not(.dark) .alert-success {
  border-left-color: #28a745 !important;
  background: rgba(40, 167, 69, 0.05) !important;
}

body:not(.dark) .alert-warning {
  border-left-color: #ffc107 !important;
  background: rgba(255, 193, 7, 0.05) !important;
}

body:not(.dark) .alert-danger {
  border-left-color: #dc3545 !important;
  background: rgba(220, 53, 69, 0.05) !important;
}

/* =============================================
   PROGRESS BARS
   ============================================= */

body:not(.dark) .progress {
  background: var(--light-bg-secondary) !important;
  border: 1px solid var(--light-border-subtle) !important;
}

body:not(.dark) .progress-bar {
  background: linear-gradient(90deg, #ff5a00 0%, #e04f00 100%) !important;
}

/* =============================================
   TABS COMPONENT
   ============================================= */

body:not(.dark) .nav-tabs {
  border-bottom: 2px solid var(--light-border-medium) !important;
}

body:not(.dark) .nav-tabs .nav-link {
  color: var(--light-text-secondary) !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
}

body:not(.dark) .nav-tabs .nav-link:hover {
  color: #ff5a00 !important;
  border-bottom-color: var(--orange-light-border) !important;
}

body:not(.dark) .nav-tabs .nav-link.active {
  color: #ff5a00 !important;
  border-bottom-color: #ff5a00 !important;
  font-weight: 600 !important;
}

body:not(.dark) .tab-content {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
  border-top: none !important;
  padding: 30px !important;
}

/* =============================================
   TOOLTIP FIXES
   ============================================= */

body:not(.dark) .tooltip-inner {
  background: var(--light-text-primary) !important;
  color: #ffffff !important;
  box-shadow: var(--light-shadow-lg) !important;
}

body:not(.dark) .tooltip .arrow::before {
  border-top-color: var(--light-text-primary) !important;
}

/* =============================================
   POPOVER FIXES
   ============================================= */

body:not(.dark) .popover {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-medium) !important;
  box-shadow: var(--light-shadow-xl) !important;
}

body:not(.dark) .popover-header {
  background: var(--light-bg-secondary) !important;
  border-bottom: 1px solid var(--light-border-subtle) !important;
  color: var(--light-text-primary) !important;
}

body:not(.dark) .popover-body {
  color: var(--light-text-secondary) !important;
}

/* =============================================
   SPINNER/LOADER FIXES
   ============================================= */

body:not(.dark) .spinner-border {
  border-color: var(--light-border-medium) !important;
  border-right-color: #ff5a00 !important;
}

body:not(.dark) .spinner-grow {
  background-color: #ff5a00 !important;
}

/* =============================================
   CAROUSEL/SLIDER FIXES
   ============================================= */

body:not(.dark) .carousel-control-prev,
body:not(.dark) .carousel-control-next {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-medium) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  opacity: 1 !important;
}

body:not(.dark) .carousel-control-prev:hover,
body:not(.dark) .carousel-control-next:hover {
  background: #ff5a00 !important;
  border-color: #ff5a00 !important;
}

body:not(.dark) .carousel-indicators button {
  background: var(--light-border-medium) !important;
}

body:not(.dark) .carousel-indicators button.active {
  background: #ff5a00 !important;
}

/* =============================================
   SWIPER SLIDER FIXES
   ============================================= */

body:not(.dark) .swiper-button-next,
body:not(.dark) .swiper-button-prev {
  color: #ff5a00 !important;
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-medium) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
}

body:not(.dark) .swiper-button-next:hover,
body:not(.dark) .swiper-button-prev:hover {
  background: #ff5a00 !important;
  color: #ffffff !important;
}

body:not(.dark) .swiper-pagination-bullet {
  background: var(--light-border-medium) !important;
  opacity: 1 !important;
}

body:not(.dark) .swiper-pagination-bullet-active {
  background: #ff5a00 !important;
}

/* =============================================
   VIDEO PLAYER OVERLAY
   ============================================= */

body:not(.dark) .video-overlay {
  background: rgba(255, 255, 255, 0.95) !important;
}

body:not(.dark) .video-play-btn {
  background: #ff5a00 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(255, 90, 0, 0.3) !important;
}

body:not(.dark) .video-play-btn:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 12px 32px rgba(255, 90, 0, 0.4) !important;
}

/* =============================================
   SEARCH BAR FIXES
   ============================================= */

body:not(.dark) .search-bar {
  background: var(--light-bg-card) !important;
  border: 2px solid var(--light-border-medium) !important;
}

body:not(.dark) .search-bar:focus-within {
  border-color: #ff5a00 !important;
  box-shadow: 0 0 0 4px var(--orange-light-bg) !important;
}

body:not(.dark) .search-bar input {
  color: var(--light-text-primary) !important;
  background: transparent !important;
}

body:not(.dark) .search-bar input::placeholder {
  color: var(--light-text-tertiary) !important;
}

body:not(.dark) .search-bar button {
  background: #ff5a00 !important;
  color: #ffffff !important;
}

/* =============================================
   FILTER/SORT BUTTONS
   ============================================= */

body:not(.dark) .filter-btn,
body:not(.dark) .sort-btn {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-medium) !important;
  color: var(--light-text-primary) !important;
}

body:not(.dark) .filter-btn:hover,
body:not(.dark) .sort-btn:hover,
body:not(.dark) .filter-btn.active,
body:not(.dark) .sort-btn.active {
  background: #ff5a00 !important;
  border-color: #ff5a00 !important;
  color: #ffffff !important;
}

/* =============================================
   CATEGORY/TAG CLOUD
   ============================================= */

body:not(.dark) .tag-cloud .tag {
  background: var(--light-bg-secondary) !important;
  border: 1px solid var(--light-border-subtle) !important;
  color: var(--light-text-secondary) !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  display: inline-block !important;
  margin: 4px !important;
}

body:not(.dark) .tag-cloud .tag:hover {
  background: #ff5a00 !important;
  border-color: #ff5a00 !important;
  color: #ffffff !important;
}

/* =============================================
   SIDEBAR WIDGET FIXES
   ============================================= */

body:not(.dark) .sidebar-widget {
  background: var(--light-bg-card) !important;
  border: 1px solid var(--light-border-subtle) !important;
  padding: 30px !important;
  margin-bottom: 30px !important;
  border-radius: 8px !important;
}

body:not(.dark) .sidebar-widget h3,
body:not(.dark) .sidebar-widget h4 {
  color: var(--light-text-primary) !important;
  border-bottom: 2px solid var(--light-border-medium) !important;
  padding-bottom: 12px !important;
  margin-bottom: 20px !important;
}

/* =============================================
   BACK TO TOP BUTTON ENHANCEMENT
   ============================================= */

body:not(.dark) #scroll-percentage:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 8px 24px rgba(255, 90, 0, 0.25) !important;
}

/* =============================================
   RESPONSIVE FIXES FOR MOBILE
   ============================================= */

@media (max-width: 767px) {
  /* Ensure proper spacing on mobile */
  body:not(.dark) section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* Fix card spacing on mobile */
  body:not(.dark) [class*="card"] {
    margin-bottom: 20px !important;
  }

  /* Mobile menu fixes */
  body:not(.dark) .mobile-menu {
    background: var(--light-bg-card) !important;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1) !important;
  }

  /* Mobile form fixes */
  body:not(.dark) .form-inner input,
  body:not(.dark) .form-inner textarea {
    font-size: 16px !important; /* Prevent zoom on iOS */
  }
}

/* =============================================
   PRINT STYLES FOR LIGHT MODE
   ============================================= */

@media print {
  body:not(.dark) {
    background: #ffffff !important;
    color: #000000 !important;
  }

  body:not(.dark) * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}

/* =============================================
   REDUCED MOTION SUPPORT
   ============================================= */

@media (prefers-reduced-motion: reduce) {
  body:not(.dark) * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================
   HIGH CONTRAST MODE SUPPORT
   ============================================= */

@media (prefers-contrast: high) {
  body:not(.dark) {
    --light-border-medium: rgba(26, 29, 33, 0.3) !important;
    --light-border-strong: rgba(26, 29, 33, 0.5) !important;
  }

  body:not(.dark) .primary-btn1 {
    border: 2px solid #000000 !important;
  }
}

/* =============================================
   END OF CRITICAL FIXES
   ============================================= */

/* =============================================
   MODERN SERVICE PRICING CARDS - DARK MODE (COMPACT)
   ============================================= */

/* Modern Service Card Container - Dark Mode - Compact */
body.dark .pricing-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.3) !important;
  padding: 28px 24px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  backdrop-filter: blur(10px) !important;
}

body.dark .pricing-card:hover {
  transform: translateY(-3px) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.3),
    0 3px 6px rgba(0, 0, 0, 0.2) !important;
  border-color: rgba(255, 90, 0, 0.3) !important;
}

/* Featured Card (Custom Development Plan) - Dark Mode */
body.dark .pricing-card.two {
  background: rgba(255, 90, 0, 0.08) !important;
  border: 2px solid rgba(255, 90, 0, 0.3) !important;
  box-shadow:
    0 4px 12px rgba(255, 90, 0, 0.2),
    0 2px 4px rgba(255, 90, 0, 0.15) !important;
  padding: 27px 23px !important;
}

body.dark .pricing-card.two:hover {
  background: rgba(255, 90, 0, 0.12) !important;
  box-shadow:
    0 10px 24px rgba(255, 90, 0, 0.25),
    0 3px 6px rgba(255, 90, 0, 0.2) !important;
}

/* Premium Card (ERP Solution) - Dark Mode */
body.dark .pricing-card.three {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Service Icon - Dark Mode - Compact */
body.dark .pricing-card .service-icon {
  width: 48px !important;
  height: 48px !important;
  background: rgba(255, 90, 0, 0.15) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 16px !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
}

body.dark .pricing-card:hover .service-icon {
  background: rgba(255, 90, 0, 0.25) !important;
  transform: scale(1.05) !important;
}

body.dark .pricing-card .service-icon svg {
  width: 24px !important;
  height: 24px !important;
  stroke: #ff5a00 !important;
  fill: none !important;
}

/* Service Title - Dark Mode - Compact */
body.dark .pricing-card .pricing-top > span {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
}

/* Price Section - Dark Mode - Compact */
body.dark .pricing-card .pricing-top h2 {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #ff5a00 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.1 !important;
}

body.dark .pricing-card .pricing-top h2 sub {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  vertical-align: baseline !important;
  margin-left: 4px !important;
}

/* Service Description - Dark Mode - Compact */
body.dark .pricing-card .pricing-top > p {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 12px 0 0 0 !important;
  flex-grow: 1 !important;
}

/* CTA Link - Dark Mode - Compact */
body.dark .pricing-card .pay-btn-area {
  margin-top: 16px !important;
  padding-top: 0 !important;
}

body.dark .pricing-card .pricing-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #ff5a00 !important;
  text-decoration: none !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  transition: all 0.2s ease !important;
}

body.dark .pricing-card .pricing-btn span {
  position: relative !important;
}

body.dark .pricing-card .pricing-btn span::after {
  content: "" !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background: #ff5a00 !important;
  transition: width 0.3s ease !important;
}

body.dark .pricing-card .pricing-btn:hover span::after {
  width: 100% !important;
}

body.dark .pricing-card .pricing-btn::after {
  content: "→" !important;
  font-size: 16px !important;
  transition: transform 0.2s ease !important;
}

body.dark .pricing-card .pricing-btn:hover::after {
  transform: translateX(4px) !important;
}

body.dark .pricing-card .pricing-btn:hover {
  color: #ff7a33 !important;
}

/* Pricing Top Container - Dark Mode */
body.dark .pricing-card .pricing-top {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* Responsive Grid Adjustments - Dark Mode - Compact */
@media (max-width: 1199px) {
  body.dark .pricing-card {
    padding: 24px 20px !important;
  }

  body.dark .pricing-card.two {
    padding: 23px 19px !important;
  }

  body.dark .pricing-card .pricing-top h2 {
    font-size: 28px !important;
  }

  body.dark .pricing-card .service-icon {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 14px !important;
  }
}

@media (max-width: 767px) {
  body.dark .pricing-card {
    padding: 22px 18px !important;
  }

  body.dark .pricing-card.two {
    padding: 21px 17px !important;
  }

  body.dark .pricing-card .pricing-top h2 {
    font-size: 26px !important;
  }

  body.dark .pricing-card .service-icon {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 12px !important;
  }

  body.dark .pricing-card .service-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  body.dark .pricing-card .pricing-top > span {
    font-size: 12px !important;
  }

  body.dark .pricing-card .pricing-top > p {
    font-size: 13px !important;
  }

  body.dark .pricing-card .pay-btn-area {
    margin-top: 14px !important;
  }
}


/* =============================================
   PRICING SECTION LAYOUT FIX
   Prevents cards from being cut off by next section
   ============================================= */

/* Ensure pricing section has proper height and padding */
.pricing-plan-section {
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
  padding-bottom: 40px !important;
  margin-bottom: 80px !important; /* Override mb-120 class */
}

/* Ensure container expands to fit cards */
.pricing-plan-section .container {
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
}

/* Ensure rows expand to fit card content */
.pricing-plan-section .row {
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
  margin-bottom: 20px !important; /* Reduced from 30px */
}

/* Ensure columns expand to fit cards */
.pricing-plan-section .row > [class*="col-"] {
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
}

/* Ensure pricing cards have proper spacing for shadows */
.pricing-plan-section .pricing-card {
  margin-bottom: 15px !important; /* Reduced from 20px */
}

/* Add extra padding to last row */
.pricing-plan-section .row:last-of-type {
  margin-bottom: 20px !important; /* Reduced from 40px */
  padding-bottom: 0px !important; /* Removed extra padding */
}

/* Responsive adjustments */
@media (max-width: 1199px) {
  .pricing-plan-section {
    padding-bottom: 30px !important;
    margin-bottom: 70px !important;
  }
}

@media (max-width: 767px) {
  .pricing-plan-section {
    padding-bottom: 20px !important;
    margin-bottom: 60px !important;
  }
  
  .pricing-plan-section .row:last-of-type {
    margin-bottom: 15px !important;
  }
}


/* ===================================
   CONTACT PAGE REDESIGN STYLES
   =================================== */

/* Contact Page Wrapper */
.contact-page-wrapper {
  margin-bottom: 120px;
  position: relative;
  overflow: visible;
  clear: both;
}

/* Ensure proper structure closing */
.contact-page-wrapper::after {
  content: "";
  display: table;
  clear: both;
}

/* Ensure footer displays correctly after contact section */
.contact-page-wrapper + .footer-section,
.contact-page-wrapper ~ .footer-section {
  margin-top: 0;
  position: relative;
  z-index: 1;
}

/* Row layout - NO equal height forcing */
.contact-page-wrapper .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;  /* Top-aligned, not stretched */
}

/* Allow natural heights for both columns */
.contact-page-wrapper .col-lg-7,
.contact-page-wrapper .col-lg-5 {
  display: block;  /* Changed from flex to allow natural height */
}

/* Form and card with natural heights */
.contact-page-wrapper .contact-form-wrap,
.contact-page-wrapper .contact-info-card {
  height: auto;  /* Natural height based on content */
  display: flex;
  flex-direction: column;
}

/* Contact Info Card */
.contact-info-card {
  padding: 40px 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: auto;  /* Natural height only */
  justify-content: flex-start;
}

/* Contact Info Header */
.contact-info-header {
  margin-bottom: 20px;
}

.contact-info-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ff5a00 !important;  /* Orange brand color */
}

/* Light Mode */
body:not(.dark) .contact-info-header h2 {
  color: #ff5a00 !important;
}

/* Dark Mode */
body.dark .contact-info-header h2 {
  color: #ff5a00 !important;
}

.contact-info-header p {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Contact Info Description - Light Mode */
body:not(.dark) .contact-info-header p {
  color: var(--light-text-secondary) !important;
}

/* Contact Info Description - Dark Mode */
body.dark .contact-info-header p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Content Top - Location Header */
.single-contact .content-top h2 {
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

.single-contact .content-top h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Single Contact Container - No flex stretching */
.contact-info-card .single-contact {
  flex: 0 0 auto;  /* Don't grow to fill space */
  display: flex;
  flex-direction: column;
}

/* Ensure contact section doesn't affect footer */
.contact-page-wrapper .row {
  position: relative;
  z-index: 1;
}

.contact-page-wrapper .col-lg-7,
.contact-page-wrapper .col-lg-5 {
  position: relative;
  float: none;
}

.contact-info-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color1);
}

.contact-info-header p {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
}

/* Contact Information Styling */
.single-contact {
  height: auto !important;
}

.single-contact .content-top {
  border-bottom: 2px solid rgba(255, 90, 0, 0.2);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.single-contact .content-top h2 {
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
}

/* Location Heading - Light Mode */
body:not(.dark) .single-contact .content-top h2 {
  color: var(--light-text-primary) !important;
  font-family: var(--font-spaceGrotesk);
}

/* Location Heading - Dark Mode */
body.dark .single-contact .content-top h2 {
  color: rgba(255, 255, 255, 0.95) !important;
  font-family: var(--font-spaceGrotesk);
}

.single-contact .content-top .view-map-btn {
  font-size: 14px;
  margin-top: 4px;
  text-decoration: none;
  font-family: var(--font-inter);
  font-weight: 600;
  transition: color 0.3s ease;
}

/* View Map Button - Light Mode */
body:not(.dark) .single-contact .content-top .view-map-btn {
  color: #ff5a00 !important;
}

body:not(.dark) .single-contact .content-top .view-map-btn:hover {
  color: #e04f00 !important;
}

body:not(.dark) .single-contact .content-top .view-map-btn:visited {
  color: #ff5a00 !important;
}

/* View Map Button - Dark Mode */
body.dark .single-contact .content-top .view-map-btn {
  color: #ff5a00 !important;
}

body.dark .single-contact .content-top .view-map-btn:hover {
  color: #ff8040 !important;
}

body.dark .single-contact .content-top .view-map-btn:visited {
  color: #ff5a00 !important;
}

/* ===================================
   CHECKBOX VISIBILITY FIX
   =================================== */

/* Light Mode Checkbox Styles */
body:not(.dark) .form-check-input {
  background-color: #ffffff !important;
  border: 2px solid rgba(26, 29, 33, 0.3) !important;
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  position: relative;
  top: 0;
  vertical-align: middle;
}

body:not(.dark) .form-check-input:hover {
  border-color: #ff5a00 !important;
}

body:not(.dark) .form-check-input:focus {
  border-color: #ff5a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.1) !important;
  outline: none !important;
}

body:not(.dark) .form-check-input:checked {
  background-color: #ff5a00 !important;
  border-color: #ff5a00 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}

/* Dark Mode Checkbox Styles */
body.dark .form-check-input {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  position: relative;
  top: 0;
  vertical-align: middle;
}

body.dark .form-check-input:hover {
  border-color: #ff5a00 !important;
}

body.dark .form-check-input:focus {
  border-color: #ff5a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.2) !important;
  outline: none !important;
}

body.dark .form-check-input:checked {
  background-color: #ff5a00 !important;
  border-color: #ff5a00 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}

/* Checkbox Label Styles */
.form-check-label {
  cursor: pointer;
  user-select: none;
  font-size: 15px;
  line-height: 20px;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

body:not(.dark) .form-check-label {
  color: var(--light-text-primary) !important;
}

body.dark .form-check-label {
  color: rgba(255, 255, 255, 0.9) !important;
}

.form-check:hover .form-check-label {
  color: #ff5a00 !important;
}

.single-contact .content-top h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.location-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(255, 90, 0, 0.1), rgba(255, 90, 0, 0.05));
  border: 1px solid rgba(255, 90, 0, 0.3);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color1);
}

/* Contact List Items */
.single-contact .contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-contact .contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0;
  border-bottom: none;
}

.single-contact .contact-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.single-contact .contact-list .icon {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 90, 0, 0.15), rgba(255, 90, 0, 0.05));
  border-radius: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

.single-contact .contact-list .icon svg {
  fill: var(--primary-color1);
  width: 16px;
  height: 16px;
}

.single-contact .contact-list .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.single-contact .contact-list .label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
  margin-bottom: 4px;
  font-weight: 600;
}

/* Contact Information Links - Light Mode */
body:not(.dark) .single-contact .contact-list a {
  font-size: 15px;
  line-height: 1.6;
  transition: color 0.3s ease;
  display: block;
  color: var(--light-text-secondary) !important;
  text-decoration: none;
  font-family: var(--font-inter);
  font-weight: 400;
}

body:not(.dark) .single-contact .contact-list a:hover {
  color: #ff5a00 !important;
}

body:not(.dark) .single-contact .contact-list a:visited {
  color: var(--light-text-secondary) !important;
}

body:not(.dark) .single-contact .contact-list a:visited:hover {
  color: #ff5a00 !important;
}

/* Contact Information Links - Dark Mode */
body.dark .single-contact .contact-list a {
  font-size: 15px;
  line-height: 1.6;
  transition: color 0.3s ease;
  display: block;
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  font-family: var(--font-inter);
  font-weight: 400;
}

body.dark .single-contact .contact-list a:hover {
  color: #ff5a00 !important;
}

body.dark .single-contact .contact-list a:visited {
  color: rgba(255, 255, 255, 0.85) !important;
}

body.dark .single-contact .contact-list a:visited:hover {
  color: #ff5a00 !important;
}

.single-contact .contact-list .single-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.single-contact .contact-list .single-contact-list li {
  padding: 0;
  margin: 0;
  border: none;
}

/* Phone and Email List Items - Light Mode */
body:not(.dark) .single-contact .contact-list .single-contact-list a {
  font-size: 14px;
  line-height: 1.5;
  color: var(--light-text-secondary) !important;
  text-decoration: none;
  font-family: var(--font-inter);
  font-weight: 400;
}

body:not(.dark) .single-contact .contact-list .single-contact-list a:hover {
  color: #ff5a00 !important;
}

body:not(.dark) .single-contact .contact-list .single-contact-list a:visited {
  color: var(--light-text-secondary) !important;
}

/* Phone and Email List Items - Dark Mode */
body.dark .single-contact .contact-list .single-contact-list a {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  font-family: var(--font-inter);
  font-weight: 400;
}

body.dark .single-contact .contact-list .single-contact-list a:hover {
  color: #ff5a00 !important;
}

body.dark .single-contact .contact-list .single-contact-list a:visited {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Office Hours Section */
.office-hours {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(255, 90, 0, 0.08), rgba(255, 90, 0, 0.03));
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 0, 0.2);
  margin-top: 20px;
}

.office-hours h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary-color1);
}

.office-hours p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 6px;
}

.office-hours p:last-child {
  margin-bottom: 0;
}

.office-hours p strong {
  font-weight: 600;
  min-width: 70px;
  display: inline-block;
}

.response-note {
  font-size: 12px;
  font-style: italic;
  opacity: 0.8;
  margin-top: 10px !important;
}

/* Social Connect Section */
.social-connect {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.social-connect h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.social-connect .social-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-connect .social-list li a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 90, 0, 0.15), rgba(255, 90, 0, 0.05));
  border: 1px solid rgba(255, 90, 0, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-connect .social-list li a:hover {
  background: var(--primary-color1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 90, 0, 0.3);
}

.social-connect .social-list li a i {
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-connect .social-list li a:hover i {
  color: #fff;
}

/* Form Header Styling */
.form-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ff5a00 !important;  /* Orange brand color - matches "Get In Touch" */
}

/* Form Header - Light Mode */
body:not(.dark) .form-header h2 {
  color: #ff5a00 !important;
}

/* Form Header - Dark Mode */
body.dark .form-header h2 {
  color: #ff5a00 !important;
}

.form-header p {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
}

/* Form Header Description - Light Mode */
body:not(.dark) .form-header p {
  color: var(--light-text-secondary) !important;
}

/* Form Header Description - Dark Mode */
body.dark .form-header p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ===================================
   FORM LAYOUT IMPROVEMENTS
   =================================== */

/* Form Container */
.contact-form-wrap {
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  height: auto;  /* Natural height based on content */
}

.contact-form-wrap form {
  flex: 0 0 auto;  /* Don't stretch */
  display: flex;
  flex-direction: column;
}

/* Form Spacing */
.contact-form-wrap .row.mb-40 {
  margin-bottom: 30px !important;
}

.contact-form-wrap .col-md-6,
.contact-form-wrap .col-md-12 {
  margin-bottom: 0;
}

.contact-form-wrap .form-inner {
  margin-bottom: 0;
}

/* Form Fields */
.contact-form-wrap .form-inner label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Form Labels - Light Mode */
body:not(.dark) .contact-form-wrap .form-inner label {
  color: var(--light-text-primary) !important;
}

/* Form Labels - Dark Mode */
body.dark .contact-form-wrap .form-inner label {
  color: rgba(255, 255, 255, 0.9) !important;
}

.contact-form-wrap .glass-form-field {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
}

/* Checkbox Section Spacing */
.contact-form-wrap .form-inner2 {
  margin-bottom: 0;
}

.contact-form-wrap .form-inner2 label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Checkbox Section Label - Light Mode */
body:not(.dark) .contact-form-wrap .form-inner2 label {
  color: var(--light-text-primary) !important;
}

/* Checkbox Section Label - Dark Mode */
body.dark .contact-form-wrap .form-inner2 label {
  color: rgba(255, 255, 255, 0.9) !important;
}

.contact-form-wrap .form-inner2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

.contact-form-wrap .form-inner2 ul li {
  margin-bottom: 0;
}

.contact-form-wrap .form-check {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  min-height: 24px;
}

/* Perfect Checkbox-Label Alignment */
.contact-form-wrap .form-check-input {
  margin: 0 !important;
  flex-shrink: 0;
  vertical-align: middle;
}

.contact-form-wrap .form-check-label {
  margin: 0 0 0 10px !important;
  line-height: 20px;
  display: flex;
  align-items: center;
}

/* Submit Button Alignment */
.contact-form-wrap .primary-btn1 {
  margin-top: 20px;
  align-self: flex-start;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Responsive Form Layout */
@media (max-width: 767px) {
  .contact-form-wrap .form-inner2 ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .contact-form-wrap {
    padding: 30px 20px;
  }
  
  .form-header h2 {
    font-size: 28px;
  }
  
  .contact-form-wrap .primary-btn1 {
    width: 100%;
    text-align: center;
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .contact-info-card {
    margin-top: 30px;
  }
  
  .contact-info-header h2,
  .form-header h2 {
    font-size: 28px;
  }
  
  /* Reset flex on mobile */
  .contact-page-wrapper .row {
    display: block;
  }
  
  .contact-page-wrapper .col-lg-7,
  .contact-page-wrapper .col-lg-5 {
    display: block;
  }
}

@media (max-width: 767px) {
  .contact-page-wrapper .row.g-4 {
    gap: 30px !important;
  }
  
  .contact-info-card,
  .contact-form-wrap {
    padding: 30px 20px;
  }
  
  .single-contact .contact-list {
    gap: 14px;
  }
  
  .single-contact .contact-list li {
    gap: 12px;
  }
  
  .single-contact .contact-list .icon {
    min-width: 36px;
    height: 36px;
  }
  
  .office-hours,
  .social-connect {
    padding: 16px 18px;
  }
  
  .contact-info-header h2,
  .form-header h2 {
    font-size: 24px;
  }
  
  .contact-info-header {
    margin-bottom: 16px;
  }
  
  .single-contact .content-top {
    padding-bottom: 10px;
    margin-bottom: 14px;
  }
}
