/* Light Theme - Day Mode - Original Color Scheme */

:root {
  --original-orange: #ff7b00;
  --original-orange-hover: #e65c00;
  --original-light-orange: #ffdbb5;
  --original-light-bg: #ffedd5;
}

body.light-theme {
  background: #FFFFFF !important;
  color: #1a1f3a !important;
}

/* Override dark backgrounds */
body.light-theme section,
body.light-theme .section {
  background: #FFFFFF !important;
  color: #1a1f3a !important;
}

/* Header */
body.light-theme .mega-menu-header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .nav-link {
  color: #1a1f3a !important;
}

body.light-theme .nav-link:hover {
  background: rgba(255, 123, 0, 0.1) !important;
  color: var(--original-orange) !important;
}

body.light-theme .nav-link i {
  color: var(--original-orange) !important;
}

/* Use dark logo in light mode */
body.light-theme .logo-dark-theme {
  display: none !important;
}

body.light-theme .logo-light-theme {
  display: block !important;
}

/* Mega Menu Panels */
body.light-theme .mega-menu-panel {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .mega-menu-section h3 {
  color: var(--original-orange) !important;
  font-weight: 700;
}

body.light-theme .mega-menu-section ul li a {
  color: #1a1f3a !important;
}

body.light-theme .mega-menu-section ul li a:hover {
  background: rgba(255, 123, 0, 0.1) !important;
  color: var(--original-orange) !important;
  border-color: rgba(255, 123, 0, 0.2) !important;
}

/* Cards */
body.light-theme .card,
body.light-theme .service-card,
body.light-theme .feature-card,
body.light-theme .team-card,
body.light-theme .case-study-card,
body.light-theme .service-item,
body.light-theme .feature-item {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #1a1f3a !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .card:hover,
body.light-theme .service-card:hover,
body.light-theme .feature-card:hover,
body.light-theme .team-card:hover,
body.light-theme .case-study-card:hover,
body.light-theme .service-item:hover,
body.light-theme .feature-item:hover {
  border-color: rgba(255, 123, 0, 0.3) !important;
  box-shadow: 0 12px 40px rgba(255, 123, 0, 0.15) !important;
}

/* Text Colors */
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6 {
  color: #1a1f3a !important;
}

body.light-theme p,
body.light-theme span,
body.light-theme div {
  color: #1a1f3a !important;
}

body.light-theme .text-secondary,
body.light-theme .hero-description {
  color: rgba(26, 31, 58, 0.8) !important;
}

body.light-theme .text-muted {
  color: rgba(26, 31, 58, 0.6) !important;
}

/* Links */
body.light-theme a {
  color: var(--original-orange) !important;
}

body.light-theme a:hover {
  color: var(--original-orange-hover) !important;
}

/* Buttons - Keep gradient but adjust */
body.light-theme .btn-primary,
body.light-theme .primary-btn,
body.light-theme button.primary,
body.light-theme .contact-btn {
  background: var(--original-orange) !important;
  color: white !important;
  border: 2px solid var(--original-orange) !important;
  box-shadow: none !important;
}

body.light-theme .btn-primary:hover,
body.light-theme .primary-btn:hover,
body.light-theme button.primary:hover,
body.light-theme .contact-btn:hover {
  background: var(--original-orange-hover) !important;
  border-color: var(--original-orange-hover) !important;
  box-shadow: 0 8px 20px rgba(255, 123, 0, 0.3) !important;
}

body.light-theme .btn-secondary,
body.light-theme .secondary-btn {
  background: transparent !important;
  color: var(--original-orange) !important;
  border: 2px solid var(--original-orange) !important;
  box-shadow: none !important;
}

body.light-theme .btn-secondary:hover,
body.light-theme .secondary-btn:hover {
  background: rgba(255, 123, 0, 0.1) !important;
  border-color: var(--original-orange-hover) !important;
  box-shadow: 0 8px 20px rgba(255, 123, 0, 0.2) !important;
}

/* Hero Section */
body.light-theme .hero-modern,
body.light-theme .page-hero,
body.light-theme .hero-section {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%) !important;
}

body.light-theme .gradient-orb {
  opacity: 0.15 !important;
}

body.light-theme .grid-pattern {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px) !important;
}

/* Floating Cards in Hero */
body.light-theme .floating-card {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .floating-card:hover {
  background: rgba(255, 255, 255, 1) !important;
  border-color: rgba(10, 74, 255, 0.3) !important;
  box-shadow: 0 12px 40px rgba(10, 74, 255, 0.2) !important;
}

/* Hero Badge */
body.light-theme .hero-badge {
  background: var(--original-light-bg) !important;
  border: 1px solid rgba(255, 123, 0, 0.3) !important;
  color: var(--original-orange) !important;
}

body.light-theme .hero-badge:hover {
  background: var(--original-light-orange) !important;
  border-color: var(--original-orange) !important;
}

/* Footer */
body.light-theme footer {
  background: #f8f9ff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #1a1f3a !important;
}

body.light-theme footer h3,
body.light-theme footer h4,
body.light-theme footer h5 {
  color: #1a1f3a !important;
}

body.light-theme footer a {
  color: #1a1f3a !important;
}

body.light-theme footer a:hover {
  color: var(--original-orange) !important;
}

body.light-theme footer .social-links a {
  background: var(--original-light-bg) !important;
  border: 1px solid rgba(255, 123, 0, 0.3) !important;
}

body.light-theme footer .social-links a:hover {
  background: var(--original-light-orange) !important;
  box-shadow: 0 0 20px rgba(255, 123, 0, 0.3) !important;
}

body.light-theme footer .social-links a i {
  color: var(--original-orange) !important;
}

/* Forms */
body.light-theme input,
body.light-theme textarea,
body.light-theme select {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  color: #1a1f3a !important;
}

body.light-theme input:focus,
body.light-theme textarea:focus,
body.light-theme select:focus {
  border-color: #0A4AFF !important;
  box-shadow: 0 0 0 3px rgba(10, 74, 255, 0.1) !important;
}

body.light-theme input::placeholder,
body.light-theme textarea::placeholder {
  color: rgba(26, 31, 58, 0.5) !important;
}

/* Tables */
body.light-theme table {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body.light-theme th {
  background: rgba(10, 74, 255, 0.1) !important;
  color: #0A4AFF !important;
}

body.light-theme td {
  color: #1a1f3a !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body.light-theme tr:hover {
  background: rgba(10, 74, 255, 0.05) !important;
}

/* Stats Section */
body.light-theme .stats-section {
  background: #f8f9ff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* CTA Section */
body.light-theme .cta-section {
  background: linear-gradient(135deg, var(--original-light-bg) 0%, var(--original-light-orange) 100%) !important;
  border: 1px solid rgba(255, 123, 0, 0.2) !important;
}

/* Testimonials */
body.light-theme .testimonial-item {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .testimonial-text {
  color: rgba(26, 31, 58, 0.8) !important;
}

/* Badges */
body.light-theme .badge,
body.light-theme .tag,
body.light-theme .case-study-tag {
  background: var(--original-light-bg) !important;
  border: 1px solid rgba(255, 123, 0, 0.3) !important;
  color: var(--original-orange) !important;
}

/* Icons */
body.light-theme .icon,
body.light-theme i.fas,
body.light-theme i.far,
body.light-theme i.fab {
  color: var(--original-orange) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
}

/* Exception: Service icons should stay white */
body.light-theme .service-icon i {
  color: white !important;
  -webkit-text-fill-color: white !important;
}

/* Service Icons */
body.light-theme .service-icon,
body.light-theme .feature-icon {
  background: var(--original-orange) !important;
  color: white !important;
}

/* Dividers */
body.light-theme hr,
body.light-theme .divider {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent) !important;
}

/* Remove grid backgrounds in light mode */
body.light-theme .grid-bg::before,
body.light-theme section.with-grid::before,
body.light-theme footer::before {
  opacity: 0.3 !important;
}

/* Overlay */
body.light-theme .mega-menu-overlay {
  background: rgba(0, 0, 0, 0.3) !important;
}

/* Mobile Menu Toggle */
body.light-theme .mobile-menu-toggle span {
  background: #1a1f3a !important;
}

/* Ensure images are visible */
body.light-theme img {
  opacity: 1 !important;
  filter: none !important;
}

/* Case Study Images */
body.light-theme .case-study-image {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Team Member Images */
body.light-theme .team-member img {
  border: 3px solid rgba(255, 123, 0, 0.3) !important;
}

/* Section Labels and Headings with Orange */
body.light-theme .section-label,
body.light-theme .label,
body.light-theme h3.orange-text,
body.light-theme .text-section h3 {
  color: var(--original-orange) !important;
}

/* Gradient Text in Light Theme */
body.light-theme .gradient-text,
body.light-theme .text-gradient {
  background: linear-gradient(135deg, var(--original-orange) 0%, var(--original-orange-hover) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block !important;
  position: relative !important;
}

/* Ensure no child elements interfere */
body.light-theme .gradient-text *,
body.light-theme .text-gradient * {
  background: none !important;
}

/* Light theme button spans */
body.light-theme .btn-primary span,
body.light-theme .btn-secondary span,
body.light-theme .hero-badge span,
body.light-theme .floating-card span {
  background: none !important;
  color: inherit !important;
}

/* Stats Numbers */
body.light-theme .stat-number {
  background: linear-gradient(135deg, var(--original-orange) 0%, var(--original-orange-hover) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block !important;
  color: transparent !important;
}

/* Hero Logo in Light Theme */
body.light-theme .hero-logo-light {
  display: block !important;
  filter: drop-shadow(0 20px 60px rgba(255, 123, 0, 0.4)) !important;
}

/* Floating Cards in Hero - Orange Icons */
body.light-theme .floating-card i {
  color: var(--original-orange) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
}

/* Input Focus States */
body.light-theme input:focus,
body.light-theme textarea:focus,
body.light-theme select:focus {
  outline: none !important;
  border-color: var(--original-orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.1) !important;
}

/* Table Styles */
body.light-theme th {
  background: var(--original-light-bg) !important;
  color: var(--original-orange) !important;
}

body.light-theme tr:hover {
  background: var(--original-light-bg) !important;
}

/* Stats Section Background */
body.light-theme .stats-section {
  background: var(--original-light-bg) !important;
  border: 1px solid rgba(255, 123, 0, 0.2) !important;
}

/* Card Icons and Numbers */
body.light-theme .card .grid-background div {
  background: rgba(255, 123, 0, 0.05) !important;
}

body.light-theme .card h2 {
  color: var(--original-orange) !important;
}


/* Philosophy Icons - Force visibility in light theme */
body.light-theme .philosophy-icon i,
body.light-theme .philosophy-icon i.fas,
body.light-theme .philosophy-icon i.far,
body.light-theme .philosophy-icon i.fab {
  color: white !important;
  -webkit-text-fill-color: white !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}
