/* ==========================================================================
   FRACTALIS - LANDING PAGE STYLESHEET
   Aesthetics: Modern Industrial, High-Tech, Clean, Glassmorphism, Blue Accents
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --primary-color: #1a73e8; /* Lighter electrical blue for the dark theme */
  --primary-hover: #3d8bfd;
  --secondary-color: #58a6ff;
  --bg-dark: #090c10; /* Very Dark Slate */
  --bg-card: #161b22; /* Dark Grey Slate */
  --bg-nav: rgba(15, 20, 30, 0.75);
  --text-main: #f0f6fc; /* Off-White */
  --text-muted: #8b949e; /* Muted Grey */
  --border-color: #30363d;
  --glow-color: rgba(26, 115, 232, 0.28);
  --cyan-glow: rgba(88, 166, 255, 0.25);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset and Core Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title span {
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 1rem auto 0;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--glow-color);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Section */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 8px 0;
  background-color: rgba(9, 12, 16, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

header.scrolled .header-container {
  height: 65px;
}

.logo-container a {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 35px;
  width: auto;
  transition: var(--transition-smooth);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Language Dropdown Selector */
.lang-selector {
  position: relative;
  cursor: pointer;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}

.lang-btn i {
  font-size: 0.7rem;
  transition: var(--transition-fast);
}

.lang-selector.active .lang-btn i.fa-chevron-down {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-top: 8px;
  padding: 6px;
  min-width: 120px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 10;
}

.lang-selector.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Sidebar specific: open dropdown upward to avoid clipping at screen bottom */
.dash-sidebar .lang-dropdown {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 8px;
  transform: translateY(10px);
}

.dash-sidebar .lang-selector.active .lang-dropdown {
  transform: translateY(0);
}

.lang-option {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  text-align: center;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.lang-option.active {
  background: rgba(13, 45, 82, 0.1);
  color: var(--primary-color);
}

.theme-menu-option {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px 8px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 0 0 6px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-menu-option:hover,
.theme-menu-option:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  outline: none;
}

.theme-menu-option i {
  width: 14px;
  text-align: center;
}

body.light-theme .theme-menu-option:hover,
body.light-theme .theme-menu-option:focus-visible {
  background: rgba(13, 45, 82, 0.05);
  color: var(--primary-color);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(9, 12, 16, 0.9) 30%, rgba(9, 12, 16, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(13, 45, 82, 0.1);
  border: 1px solid rgba(13, 45, 82, 0.3);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(13, 45, 82, 0.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(13, 45, 82, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(13, 45, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 45, 82, 0); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-title span {
  color: var(--primary-color);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 650px;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  transition: var(--transition-smooth);
  cursor: pointer;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(13, 45, 82, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 45, 82, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Sections Base */
section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background-color: #0c1015;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(13, 45, 82, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary-color);
  font-size: 1.5rem;
  border: 1px solid rgba(13, 45, 82, 0.2);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 0 15px var(--glow-color);
  transform: rotateY(360deg);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.about-image-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}

.about-img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.about-image-container:hover .about-img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(9, 12, 16, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-years {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.about-years-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  font-weight: 600;
}

.about-subtitle {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.about-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* About MVV Tabs */
.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 24px;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

.tab-pane-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
}

.tab-pane-desc {
  color: var(--text-muted);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-image-container {
  display: block;
  height: 280px;
  overflow: hidden;
  position: relative;
  background-color: #1a1e24;
}

.product-image-link:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: -3px;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-info {
  padding: 32px;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid rgba(88, 166, 255, 0.3);
  color: #58a6ff;
  padding: 4px 8px;
  border-radius: 4px;
}

.product-subtitle {
  display: inline-block;
  margin: -2px 0 18px;
  padding: 6px 11px;
  color: var(--primary-color);
  background: linear-gradient(90deg, var(--glow-color), transparent);
  border-left: 3px solid var(--primary-color);
  border-radius: 0 4px 4px 0;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  min-height: 72px;
}

.product-specs {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-bottom: 24px;
}

.btn-quote {
  display: flex;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card:nth-child(odd):last-child {
    grid-column: 1 / -1;
    width: calc((100% - 24px) / 2);
    justify-self: center;
  }
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.spec-label {
  color: var(--text-muted);
}

.spec-val {
  color: #fff;
  font-weight: 600;
}

/* Product detail page */
.product-login-link {
  border: 1px solid var(--primary-color);
  padding: 8px 16px;
  border-radius: 4px;
  color: var(--primary-color);
}

.product-detail-page {
  min-height: 70vh;
}

.product-detail-hero {
  padding: 140px 0 80px;
  background: radial-gradient(circle at 15% 20%, var(--glow-color), transparent 38%);
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-breadcrumb a {
  color: var(--primary-color);
  font-weight: 700;
}

.product-breadcrumb i {
  font-size: 0.65rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: center;
}

.product-detail-image-wrap {
  height: 560px;
  padding: 24px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.product-detail-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: var(--primary-color);
  background: var(--glow-color);
  border: 1px solid rgba(13, 45, 82, 0.35);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail-content h1 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.08;
}

.product-detail-subtitle {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 14px;
  color: var(--primary-color);
  background: linear-gradient(90deg, var(--glow-color), transparent);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 5px 5px 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.product-detail-description {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.product-detail-actions .btn {
  gap: 10px;
}

.product-datasheet-section {
  padding: 0 0 100px;
}

.product-datasheet-card {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  padding: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.product-datasheet-heading > span {
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-datasheet-heading h2 {
  margin-top: 10px;
  font-size: 2.25rem;
}

.product-datasheet-download {
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.product-spec-table {
  border-top: 1px solid var(--border-color);
}

.product-spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.product-spec-row span {
  color: var(--text-muted);
}

.product-spec-row strong {
  text-align: right;
}

.product-no-specs {
  padding-top: 24px;
  color: var(--text-muted);
}

.product-not-found {
  padding: 180px 0 120px;
  text-align: center;
}

.product-not-found i {
  margin-bottom: 24px;
  color: var(--primary-color);
  font-size: 3rem;
}

.product-not-found p {
  margin: 14px 0 30px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-detail-image-wrap {
    height: 500px;
  }

  .product-datasheet-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .product-detail-hero {
    padding: 110px 0 56px;
  }

  .product-detail-image-wrap {
    height: 340px;
    padding: 14px;
  }

  .product-detail-content h1 {
    font-size: 2.25rem;
  }

  .product-detail-actions,
  .product-detail-actions .btn {
    width: 100%;
  }

  .product-datasheet-section {
    padding-bottom: 60px;
  }

  .product-datasheet-card {
    padding: 28px 22px;
  }

  .product-spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-spec-row strong {
    text-align: left;
  }
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 60px;
  align-items: start;
}

.contact-info-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  height: 100%;
}

.contact-info-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 45, 82, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  border: 1px solid rgba(13, 45, 82, 0.15);
  flex-shrink: 0;
}

.contact-text-wrap h5 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-text-wrap p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Form Styles */
.contact-form-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
}

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-control {
  width: 100%;
  background-color: rgba(9, 12, 16, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--glow-color);
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

/* Careers page */
.careers-hero {
  min-height: auto;
  padding: 120px 0 80px;
}

.careers-hero .hero-overlay {
  background: linear-gradient(135deg, rgba(9, 12, 16, 0.92), rgba(9, 12, 16, 0.76));
}

.careers-hero .hero-content {
  text-align: center;
}

.careers-hero .hero-desc {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
}

.careers-content-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.careers-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: start;
}

.careers-section-title {
  display: inline-block;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
  font-size: 1.8rem;
}

.career-job-card,
.career-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.career-job-card {
  padding: 24px;
}

.career-job-card h3 {
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 700;
}

.career-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  color: var(--primary-color);
  background-color: var(--glow-color);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

.career-job-description {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  white-space: pre-line;
}

.career-form-card {
  padding: 32px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.career-form-card > h3 {
  margin-bottom: 20px;
  color: var(--text-main);
  font-size: 1.4rem;
  font-weight: 800;
}

.career-select-group {
  margin-bottom: 24px;
}

.career-select-group select.form-control {
  min-height: 54px;
}

.career-form-card textarea.form-control {
  height: 100px;
}

.career-file-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
}

.career-form-card input[type="file"].form-control {
  padding: 10px;
}

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

.form-label {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  pointer-events: none;
}

.form-select-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-form-block select.form-control {
  min-height: 54px;
  background-color: rgba(9, 12, 16, 0.5);
}

/* Floating Label Animation */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  top: -10px;
  left: 10px;
  font-size: 0.75rem;
  background-color: var(--bg-card);
  padding: 0 8px;
  color: var(--primary-color);
  font-weight: 700;
}

/* Form Status Messages */
.form-message {
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  display: none;
  font-weight: 600;
}

.form-message.success {
  background-color: rgba(46, 160, 67, 0.15);
  border: 1px solid rgba(46, 160, 67, 0.4);
  color: #3fb950;
  display: block;
}

.form-message.error {
  background-color: rgba(248, 81, 73, 0.15);
  border: 1px solid rgba(248, 81, 73, 0.4);
  color: #f85149;
  display: block;
}

/* Footer Section */
footer {
  background-color: #090c10;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo img {
  height: 35px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* Language switching animation helper */
[data-i18n] {
  transition: opacity 0.25s ease-in-out;
}
.lang-changing [data-i18n] {
  opacity: 0.2;
}

/* Form Row 2 Columns */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Media Queries (Responsive Styling) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-container {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  .features-grid {
    margin-bottom: 20px;
  }

  .header-container {
    height: 70px;
  }
  .mobile-toggle {
    display: block;
    z-index: 1001;
  }
  
  body.light-theme .mobile-toggle {
    color: #1f2328;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #090c10;
    flex-direction: column;
    padding: 40px 24px;
    gap: 40px;
    transition: var(--transition-smooth);
    align-items: flex-start;
    border-top: 1px solid var(--border-color);
  }
  
  body.light-theme nav {
    background-color: #ffffff;
    border-top-color: #d0d7de;
  }
  
  nav.active {
    left: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 24px;
  }
  
  .nav-link {
    font-size: 1.1rem;
    display: block;
    width: 100%;
  }

  .features-grid, .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-card:nth-child(odd):last-child {
    grid-column: auto;
    width: 100%;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* About Section Mobile Adjustments */
  .about-title {
    font-size: 1.8rem;
    line-height: 1.25;
  }
  
  .about-desc {
    font-size: 0.95rem;
  }

  .tabs-nav {
    display: flex;
    width: 100%;
    gap: 4px;
  }

  .tab-btn {
    flex: 1;
    padding: 10px 4px;
    font-size: 0.8rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 32px 20px;
  }
  .contact-form-block {
    padding: 32px 20px;
  }
  .contact-info-block {
    padding: 32px 20px;
  }
}

/* ==========================================================================
   LOGIN & DASHBOARD STYLES
   ========================================================================== */

/* Login Section */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.login-card {
  background: rgba(22, 27, 34, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 100%;
  max-width: 450px;
  padding: 48px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(13, 45, 82, 0.05);
  position: relative;
  z-index: 2;
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.login-logo img {
  height: 40px;
  width: auto;
}

.login-header-title {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.login-header-subtitle {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.login-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.login-back-btn:hover {
  color: #fff;
}

/* Dashboard Layout */
.dash-body {
  background-color: #0c0f14;
}

.dash-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Sidebar */
.dash-sidebar {
  width: 230px;
  background-color: #090c10;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  transition: var(--transition-smooth);
}

.sidebar-branding {
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-branding img {
  height: 30px;
  width: auto;
}

.sidebar-menu {
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 6px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.sidebar-link:hover, .sidebar-link.active {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.sidebar-link.active {
  border-left: 3px solid var(--primary-color);
  background-color: rgba(13, 45, 82, 0.05);
  color: var(--primary-color);
  border-radius: 0 6px 6px 0;
}

.sidebar-link.logout-link {
  color: #f85149;
}

.sidebar-link.logout-link:hover {
  background-color: rgba(248, 81, 73, 0.1);
  color: #ff7b72;
}

.sidebar-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Main Dashboard Area */
.dash-main {
  flex-grow: 1;
  margin-left: 230px;
  min-height: 100vh;
  background-color: #0c0f14;
  padding: 40px;
  transition: var(--transition-smooth);
}

.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.dash-topbar h1 {
  font-size: 2rem;
  font-weight: 800;
}

.dash-user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 30px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.user-details-text {
  font-size: 0.85rem;
}

.user-details-text .role {
  color: var(--text-muted);
  font-size: 0.75rem;
  display: block;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Cards & Widgets */
.dash-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
}

.stat-widget {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-widget-info h3 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-widget-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.stat-widget-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-color);
}

/* Data Tables */
.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.dash-card-header h2 {
  font-size: 1.25rem;
}

.dash-table-container {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dash-table th {
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-color);
  letter-spacing: 0.5px;
}

.dash-table td {
  padding: 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.dash-table tr:hover {
  background-color: rgba(255, 255, 255, 0.01);
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.unread {
  background-color: rgba(248, 81, 73, 0.1);
  border: 1px solid rgba(248, 81, 73, 0.3);
  color: #ff7b72;
}

.status-badge.read {
  background-color: rgba(46, 160, 67, 0.1);
  border: 1px solid rgba(46, 160, 67, 0.3);
  color: #56d364;
}

/* Interactive Dashboard Buttons */
.dash-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.dash-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #fff;
}

.dash-btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.dash-btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.dash-btn-danger {
  color: #ff7b72;
  border-color: rgba(248, 81, 73, 0.3);
}

.dash-btn-danger:hover {
  background-color: rgba(248, 81, 73, 0.1);
  border-color: #ff7b72;
}

/* User Profile Card */
.profile-card {
  display: flex;
  gap: 24px;
  align-items: center;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-info h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.profile-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Downloads List */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.download-item:hover {
  border-color: var(--primary-color);
  background-color: rgba(13, 45, 82, 0.02);
}

.download-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.download-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.download-text h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.download-text p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Modal for Viewing Message */
.dash-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.dash-modal.active {
  opacity: 1;
  visibility: visible;
}

.dash-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.dash-modal.active .dash-modal-card {
  transform: translateY(0);
}

.dash-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.dash-modal-close:hover {
  color: #fff;
}

.modal-content-wrap h3 {
  color: var(--primary-color);
  margin-bottom: 24px;
}

.modal-detail-item {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.modal-detail-item strong {
  color: var(--text-muted);
  margin-right: 8px;
}

.modal-msg-body {
  background-color: rgba(9, 12, 16, 0.5);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 6px;
  margin-top: 16px;
  white-space: pre-wrap;
  color: #fff;
  font-size: 0.95rem;
  max-height: 250px;
  overflow-y: auto;
}

/* Sidebar Toggle (Mobile Dashboard) */
.dash-menu-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Dashboard Media Queries */
@media (max-width: 1024px) {
  .dash-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .dash-menu-toggle {
    display: inline-flex;
  }
  
  .dash-sidebar {
    left: -230px;
  }
  
  .dash-sidebar.active {
    left: 0;
  }
  
  .dash-main {
    margin-left: 0;
    padding: 24px;
  }
  
  .dash-main.sidebar-active {
    filter: blur(5px);
    pointer-events: none;
  }
  
  .dash-topbar {
    margin-bottom: 24px;
  }
}

/* Select fields & File inputs */
select.form-control {
  background-color: rgba(9, 12, 16, 0.9);
  color: #fff;
  cursor: pointer;
}
select.form-control option {
  background-color: var(--bg-card);
  color: #fff;
}
input[type="file"].form-control {
  padding: 12px 16px;
  cursor: pointer;
}

/* User Profile & Project Upload Details */
.form-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 8px;
  color: var(--primary-color);
}

/* Dashboard Tab Panels display states */
.tab-panel-section {
  display: none;
  animation: fadeIn 0.35s ease-out;
}
.tab-panel-section.active {
  display: block;
}

/* Default Logo Dark hide */
.logo-dark {
  display: none !important;
}

/* ==========================================================================
   LIGHT THEME OVERRIDES (INVERTED COLORS)
   ========================================================================== */
body.light-theme {
  --primary-color: #0d2d52;
  --primary-hover: #164a85;
  --secondary-color: #1a73e8;
  --bg-dark: #ffffff;
  --bg-card: #f6f8fa;
  --bg-nav: rgba(255, 255, 255, 0.85);
  --text-main: #1f2328;
  --text-muted: #57606a;
  --border-color: #d0d7de;
  --glow-color: rgba(13, 45, 82, 0.08);
  --cyan-glow: rgba(26, 115, 232, 0.15);
  background-color: #ffffff;
  color: #1f2328;
}

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: #000000;
}

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

body.light-theme .logo-dark {
  display: block !important;
  height: 35px;
  width: auto;
}

body.light-theme header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-theme .nav-link {
  color: #57606a;
}

body.light-theme .nav-link:hover, 
body.light-theme .nav-link.active {
  color: #000000;
}

body.light-theme .product-login-link {
  border-color: #000000;
  color: #000000;
  font-weight: 700;
}

body.light-theme .product-login-link:hover {
  background-color: #000000;
  color: #ffffff;
}

body.light-theme .section-alt {
  background-color: #f6f8fa;
}

body.light-theme .feature-card,
body.light-theme .contact-info-block,
body.light-theme .contact-form-block {
  background-color: #f6f8fa;
  border: 1px solid #d0d7de;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

body.light-theme .feature-title,
body.light-theme .contact-info-title {
  color: #000;
}

body.light-theme .feature-desc,
body.light-theme .contact-text-wrap p {
  color: #57606a;
}

body.light-theme .form-control {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #d0d7de;
}

body.light-theme .form-control:focus {
  border-color: var(--primary-color);
  background-color: #ffffff;
}

body.light-theme .form-control:focus ~ .form-label,
body.light-theme .form-control:not(:placeholder-shown) ~ .form-label {
  background-color: #f6f8fa;
  color: var(--primary-color);
}

body.light-theme .form-label {
  color: #57606a;
}

body.light-theme .hero-section {
  color: #000;
}

body.light-theme .hero-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 45%, rgba(255, 255, 255, 0.65) 100%);
}

body.light-theme .hero-title {
  color: #000;
  text-shadow: none;
}

/* Language selector light theme overrides */
body.light-theme .lang-btn {
  background: #ffffff;
  color: #1f2328;
  border-color: #d0d7de;
}

body.light-theme .lang-btn:hover {
  background: #f6f8fa;
  border-color: var(--primary-color);
}

body.light-theme .lang-option:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}

/* Custom premium border style for Login link in header */
body.light-theme .nav-link[style*="border"] {
  border-color: #000000 !important;
  color: #000000 !important;
  font-weight: 700;
  transition: var(--transition-fast);
}

body.light-theme .nav-link[style*="border"]:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

body.light-theme .hero-desc {
  color: #4f5b66;
}

body.light-theme .hero-badge {
  background: var(--primary-color);
  color: #fff;
}

body.light-theme .btn-secondary {
  border-color: #000000;
  color: #000000;
}

body.light-theme .btn-secondary:hover {
  background-color: #000000;
  color: #ffffff;
}

body.light-theme footer {
  background-color: #090c10;
}

body.light-theme footer p,
body.light-theme footer a {
  color: #8b949e;
}

body.light-theme .tab-btn:hover {
  color: #000000;
}

body.light-theme .spec-val {
  color: #1f2328;
}

/* ========================================================================== 
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15), 0 0 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  color: #fff;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   DASHBOARD & LOGIN LIGHT THEME OVERRIDES
   ========================================================================== */
body.light-theme {
  background-image: none !important;
  background-color: #f6f8fa !important;
}

/* Dashboard structure */
body.light-theme .dash-sidebar {
  background-color: #f6f8fa;
  border-right: 1px solid #d0d7de;
}
body.light-theme .sidebar-branding img {
  filter: invert(1) brightness(0.2);
}
body.light-theme .dash-main {
  background-color: #ffffff;
}
body.light-theme .dash-card {
  background-color: #f6f8fa;
  border-color: #d0d7de;
}
body.light-theme .sidebar-link:hover, 
body.light-theme .sidebar-link.active {
  background-color: rgba(0, 0, 0, 0.05);
  color: #000000;
}
body.light-theme .sidebar-link.active {
  background-color: rgba(13, 45, 82, 0.1);
  color: var(--primary-color);
}
body.light-theme .dash-table th {
  background-color: rgba(0, 0, 0, 0.03);
  color: #1f2328;
  border-color: #d0d7de;
}
body.light-theme .dash-table tr {
  border-color: #d0d7de;
}
body.light-theme .dash-table td {
  color: #1f2328;
  border-color: #d0d7de;
}
body.light-theme .form-section-title,
body.light-theme .dash-card-header h2,
body.light-theme .dash-card-header span {
  color: #1f2328 !important;
}
body.light-theme .dash-modal-card {
  background-color: #ffffff;
  border: 1px solid #d0d7de;
  color: #1f2328;
}
body.light-theme .dash-modal-card h3,
body.light-theme .dash-modal-card strong,
body.light-theme .dash-modal-card span,
body.light-theme .dash-modal-card p,
body.light-theme .dash-modal-card div {
  color: #1f2328 !important;
}
body.light-theme .dash-modal-close {
  color: #57606a;
}
body.light-theme .dash-user-badge strong {
  color: #1f2328;
}
body.light-theme .dash-user-badge span.role {
  color: #57606a;
}
body.light-theme .dash-topbar h1 {
  color: #000000 !important;
}

/* Login/Register Specific overrides */
body.light-theme .login-section {
  background-color: #f6f8fa;
}
body.light-theme .login-card,
body.light-theme .register-card {
  background-color: #ffffff;
  border-color: #d0d7de;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
body.light-theme .login-logo img {
  filter: invert(1) brightness(0.2);
}
body.light-theme .login-section .hero-overlay {
  background: #ffffff !important;
  opacity: 1 !important;
}
body.light-theme .login-back-btn,
body.light-theme .login-header-title,
body.light-theme .login-header-subtitle,
body.light-theme .register-container h2,
body.light-theme .register-container p {
  color: #1f2328 !important;
}
body.light-theme .form-group input.form-control,
body.light-theme .form-group textarea.form-control,
body.light-theme .form-group select.form-control {
  background-color: #ffffff !important;
  color: #1f2328 !important;
  border-color: #d0d7de !important;
}
body.light-theme .form-group input.form-control:focus,
body.light-theme .form-group textarea.form-control:focus {
  border-color: var(--primary-color) !important;
}
body.light-theme .form-group label.form-label {
  color: #57606a !important;
}
body.light-theme .form-group label.form-select-label {
  color: #57606a !important;
}
body.light-theme .form-group select.form-control option {
  background-color: #ffffff;
  color: #1f2328;
}
body.light-theme .form-group input.form-control:focus ~ label.form-label,
body.light-theme .form-group input.form-control:not(:placeholder-shown) ~ label.form-label {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
}
body.light-theme .toggle-option {
  border-color: #d0d7de;
  color: #57606a;
}
body.light-theme .toggle-option.active {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* Theme Toggle Button Styling */
.theme-toggle-btn {
  background-color: transparent !important;
  border: 1px solid #30363d !important;
  color: var(--text-muted) !important;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.85rem;
  opacity: 0.55;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus-visible {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--border-color) !important;
  color: var(--text-main) !important;
  opacity: 1;
  outline: none;
}

body.light-theme .theme-toggle-btn {
  background-color: transparent !important;
  border-color: #d0d7de !important;
  color: #57606a !important;
}

body.light-theme .theme-toggle-btn:hover,
body.light-theme .theme-toggle-btn:focus-visible {
  background-color: rgba(13, 45, 82, 0.05) !important;
  border-color: rgba(13, 45, 82, 0.18) !important;
  color: #0d2d52 !important;
}

/* Force Footer to always use Light Logo since Footer background remains dark */
body.light-theme footer .logo-light,
footer .logo-light {
  display: block !important;
}
body.light-theme footer .logo-dark,
footer .logo-dark {
  display: none !important;
}
