/* ====== KT-X PROFESSIONAL WEBSITE ====== */
/* Header & Footer Components */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  /* Muted Professional Colors */
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary: #0891b2;
  --secondary-dark: #0e7490;
  --accent: #dc2626;
  --accent-glow: #ef4444;
  --purple: #7c3aed;
  --purple-light: #8b5cf6;
  --cyan: #0891b2;
  --neon-blue: #06b6d4;
  --neon-pink: #ec4899;

  /* Neutrals */
  --dark: #0f172a;
  --darker: #020617;
  --light: #f8fafc;
  --gray: #94a3b8;
  --light-gray: #e2e8f0;
  --border: #cbd5e1;

  /* Glassmorphism - More Subtle */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-light: rgba(255, 255, 255, 0.08);
  --glass-bg-dark: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --blur-amount: 10px;

  /* Shadows & Effects - Reduced Intensity */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 32px rgba(37, 99, 235, 0.15);
  --shadow-glow: 0 0 15px rgba(8, 145, 178, 0.25);
  --shadow-neon: 0 0 20px rgba(6, 182, 212, 0.3);

  /* Animations */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Other */
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --container: 1440px;

  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --container: 1440px;

  /* Component Variables */
  --card-bg: #ffffff;
  --bg-gradient-warm: linear-gradient(to bottom, #ffffff, #fff5f0);
  --bg-gradient-cool: linear-gradient(to bottom, #ffffff, #f8fafc);
  --bg-alternate: #f8fafc;
}

/* Background Utility Classes */
.bg-gradient-warm {
  background: var(--bg-gradient-warm) !important;
}

.bg-gradient-cool {
  background: var(--bg-gradient-cool) !important;
}

.bg-alternate {
  background: var(--bg-alternate) !important;
}

/* Common Card Styles */
.feature-card,
.process-card,
.contact-card,
.card-base {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

/* Header Styles */
.ktx-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(var(--blur-amount));
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.ktx-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 40px rgba(0, 102, 255, 0.15);
  border-bottom: 1px solid rgba(0, 102, 255, 0.2);
}

.header-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.ktx-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.ktx-logo:hover {
  transform: translateY(-2px);
}

.ktx-logo-img {
  height: 45px;
  width: auto;
  transition: var(--transition);
  flex-shrink: 0;
}

.ktx-logo-text {
  font-size: 22px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
}

.ktx-logo-text .logo-primary {
  color: var(--primary);
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 0;
  transition: var(--transition);
  position: relative;
}

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

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.5s;
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--cyan));
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-glow);
  color: white;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
  padding: 5px;
  transition: var(--transition);
}

.mobile-toggle:hover {
  color: var(--primary);
}

/* Footer Styles */
.ktx-footer {
  background: var(--darker);
  color: white;
  padding: 80px 0 30px;
  margin-top: 100px;
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo-section {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.footer-logo-text .logo-primary {
  color: var(--secondary);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-contact {
  margin-top: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
}

.contact-item i {
  color: var(--secondary);
  margin-top: 2px;
}

.footer-heading {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.service-tag:hover {
  background: rgba(0, 168, 232, 0.1);
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 25px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--secondary);
}

/* ====== THEME STYLES ====== */

/* IoT 4.0 Theme - Blue/Cyan Tech Colors for Industrial IoT */
:root {
  --i40-primary: #0066ff;
  --i40-secondary: #00d9ff;
  --i40-accent: #6366f1;
  --i40-gradient: linear-gradient(135deg, #0066ff, #00d9ff);
}

.i40-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
}

.i40-badge {
  background: rgba(0, 102, 255, 0.15);
  color: var(--i40-secondary);
  border: 1px solid rgba(0, 217, 255, 0.3);
}

.i40-card {
  border-left: 4px solid var(--i40-primary);
  transition: var(--transition);
}

.i40-card:hover {
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

.i40-icon {
  background: var(--i40-gradient);
  color: white;
}

.i40-section {
  position: relative;
}

.i40-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
      rgba(0, 102, 255, 0.1) 0%,
      transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

/* Manpower/Workforce Theme - Orange/Warm People Colors */
:root {
  --workforce-primary: #ff6b35;
  --workforce-secondary: #f7931e;
  --workforce-accent: #ff9a56;
  --workforce-gradient: linear-gradient(135deg, #ff6b35, #f7931e);
}

.workforce-hero {
  background: linear-gradient(135deg, #0f172a 0%, #7c2d12 50%, #0f172a 100%);
}

.workforce-badge {
  background: rgba(255, 107, 53, 0.15);
  color: var(--workforce-secondary);
  border: 1px solid rgba(247, 147, 30, 0.3);
}

.workforce-card {
  border-left: 4px solid var(--workforce-primary);
  transition: var(--transition);
}

.workforce-card:hover {
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.workforce-icon {
  background: var(--workforce-gradient);
  color: white;
}

.workforce-section {
  position: relative;
}

.workforce-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
      rgba(255, 107, 53, 0.08) 0%,
      transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

/* Responsive Header/Footer */
@media (max-width: 992px) {
  .main-navigation {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .main-navigation.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 20px;
  }

  .mobile-toggle {
    display: block;
  }

  .footer-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 70px;
  }

  .ktx-logo {
    gap: 10px;
  }

  .ktx-logo-img {
    height: 38px;
  }

  .ktx-logo-text {
    font-size: 18px;
  }

  .main-navigation {
    top: 70px;
    max-height: calc(100vh - 70px);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .ktx-logo {
    gap: 8px;
  }

  .ktx-logo-img {
    height: 32px;
  }

  .ktx-logo-text {
    font-size: 16px;
  }
}

/* ====== DARK MODE STYLES ====== */

/* Dark Mode Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  margin-left: 20px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.theme-toggle i {
  font-size: 18px;
  color: white;
  transition: var(--transition);
}

.theme-toggle .fa-sun {
  display: none;
}

.theme-toggle .fa-moon {
  display: block;
}

/* Dark mode active toggle state */
body.dark-mode .theme-toggle .fa-sun {
  display: block;
}

body.dark-mode .theme-toggle .fa-moon {
  display: none;
}

body.dark-mode .theme-toggle {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

body.dark-mode .theme-toggle:hover {
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

/* Dark Mode Variables Override */
body.dark-mode {
  --dark: #f8fafc;
  --darker: #e2e8f0;
  --dark: #f8fafc;
  --darker: #e2e8f0;
  --card-bg: rgba(30, 41, 59, 0.6);
  --bg-gradient-warm: linear-gradient(to bottom, #1e293b, #0f172a);
  --bg-gradient-cool: linear-gradient(to bottom, #1e293b, #0f172a);
  --bg-alternate: #1e293b;
  --light: #0f172a;
  --gray: #cbd5e1;
  --light-gray: #334155;
  --border: #475569;
  background: #0a0f1c;
  color: #e2e8f0;
}

/* Dark Mode - Page Background */
body.dark-mode {
  background: linear-gradient(135deg, #0a0f1c 0%, #0f172a 50%, #0a0f1c 100%);
}

/* Dark Mode - Header */
body.dark-mode .ktx-header {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .ktx-header.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .ktx-logo-text {
  color: #f8fafc;
}

body.dark-mode .nav-link {
  color: #e2e8f0;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
  color: var(--secondary);
}

body.dark-mode .mobile-toggle {
  color: #e2e8f0;
}

/* Dark Mode - Mobile Navigation */
@media (max-width: 992px) {
  body.dark-mode .main-navigation {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
}

/* Dark Mode - Text & Typography */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #0066ff;
}

body.dark-mode p {
  color: #94a3b8;
}

/* Dark Mode - Services Section */
body.dark-mode .services-section {
  background: linear-gradient(180deg, #0a0f1c 0%, #0f172a 100%);
}

body.dark-mode .service-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

body.dark-mode .service-features li {
  color: #94a3b8;
}

/* Dark Mode - Stat Cards */
body.dark-mode .stat-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .stat-card:hover {
  background: rgba(30, 41, 59, 0.8);
}

/* Dark Mode - Content Sections */
body.dark-mode .content-section {
  background: #0a0f1c;
}

body.dark-mode section {
  background-color: transparent;
}

/* Dark Mode - Page Content */
body.dark-mode .page-content {
  background: #0a0f1c;
}

/* Dark Mode - Cards & Tiles */
body.dark-mode .card,
body.dark-mode .industry-card,
body.dark-mode .service-item,
body.dark-mode .step {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .card:hover,
body.dark-mode .industry-card:hover,
body.dark-mode .service-item:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: var(--primary);
}

/* Dark Mode - Forms */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #64748b;
}

body.dark-mode input:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Dark Mode - Footer */
body.dark-mode .ktx-footer {
  background: #020617;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .footer-tagline,
body.dark-mode .footer-links a,
body.dark-mode .copyright {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .contact-item {
  color: rgba(0, 0, 0, 0.8);
}

/* Dark Mode - Buttons */
body.dark-mode .btn-outline {
  border-color: var(--secondary);
  color: var(--secondary);
}

body.dark-mode .btn-outline:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: white;
}

/* Dark Mode - Section Backgrounds with Light BG */
body.dark-mode .light-bg,
body.dark-mode .bg-light {
  background: #0f172a;
}

/* Dark Mode - Tables */
body.dark-mode table {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode th {
  background: rgba(30, 41, 59, 0.8);
  color: #f8fafc;
}

body.dark-mode td {
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

/* Dark Mode - Service Tags */
body.dark-mode .service-tag {
  background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .service-tag:hover {
  background: rgba(8, 145, 178, 0.2);
}

/* Dark Mode - Scrollbar */
body.dark-mode::-webkit-scrollbar {
  width: 10px;
}

body.dark-mode::-webkit-scrollbar-track {
  background: #0f172a;
}

body.dark-mode::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
}

body.dark-mode::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* Dark Mode - Selection */
body.dark-mode ::selection {
  background: var(--primary);
  color: white;
}

/* Smooth Transition for Theme Change */
body,
body * {
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Prevent transition on page load */
body.no-transition,
body.no-transition * {
  transition: none !important;
}

/* ====== ACCESSIBILITY - Skip Link ====== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 10px;
}

/* ====== LEGAL PAGES STYLES ====== */
.legal-content {
  background: var(--light);
  padding: 80px 0;
}

.legal-document {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.last-updated {
  color: var(--gray);
  font-size: 0.95rem;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  color: var(--dark);
  font-size: 1.6rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.legal-section h2:after {
  display: none;
}

.legal-section h3 {
  color: var(--dark);
  font-size: 1.2rem;
  margin: 25px 0 15px;
}

.legal-section p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--gray);
  line-height: 1.7;
}

.legal-section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.legal-section a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.legal-section a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.contact-details-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(8, 145, 178, 0.05));
  padding: 25px 30px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  margin-top: 20px;
}

.contact-details-box p {
  margin-bottom: 10px;
  color: var(--dark);
}

.contact-details-box i {
  color: var(--primary);
  margin-right: 10px;
  width: 20px;
}

/* Cookie Table */
.cookie-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cookie-table th,
.cookie-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cookie-table th {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.cookie-table td {
  background: white;
  color: var(--gray);
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

.cookie-table tr:hover td {
  background: rgba(37, 99, 235, 0.03);
}

/* Dark Mode - Legal Pages */
body.dark-mode .legal-content {
  background: #0a0f1c;
}

body.dark-mode .legal-document {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .last-updated {
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .legal-section h2 {
  color: #f8fafc;
  border-color: var(--secondary);
}

body.dark-mode .legal-section h3 {
  color: #e2e8f0;
}

body.dark-mode .legal-section ul li {
  color: #94a3b8;
}

body.dark-mode .legal-section a {
  color: var(--secondary);
}

body.dark-mode .contact-details-box {
  background: rgba(30, 41, 59, 0.6);
  border-left-color: var(--secondary);
}

body.dark-mode .contact-details-box p {
  color: #e2e8f0;
}

body.dark-mode .cookie-table td {
  background: rgba(30, 41, 59, 0.6);
}

body.dark-mode .cookie-table tr:hover td {
  background: rgba(8, 145, 178, 0.1);
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
  .legal-document {
    padding: 30px 20px;
  }

  .legal-section h2 {
    font-size: 1.4rem;
  }

  .contact-details-box {
    padding: 20px;
  }
}

/* Committee Section Styles */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.committee-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  /* Fallback for var(--border) if not defined */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  text-align: center;
}

.committee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.committee-img-container {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  position: relative;
}

.committee-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary);
  background-color: #f1f5f9;
  /* Fallback for var(--light) */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.committee-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  /* Fallback for var(--dark) */
  margin-bottom: 5px;
}

.committee-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.committee-bio {
  color: #666;
  /* Fallback for var(--gray) */
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Dark Mode - Committee Section */
body.dark-mode .committee-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .committee-name {
  color: #f8fafc;
}

body.dark-mode .committee-role {
  color: var(--secondary);
}

body.dark-mode .committee-bio {
  color: #ffffff;
}

body.dark-mode .committee-img {
  border-color: var(--secondary);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Committee Social Links */
.committee-social {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.committee-social .social-link {
  color: #64748b;
  /* Slate-500, visible on white */
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  /* Slate-100 */
}

.committee-social .social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Dark Mode - Social Links */
body.dark-mode .committee-social .social-link {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
}

body.dark-mode .committee-social .social-link:hover {
  background: var(--secondary);
  color: #0f172a;
}

/* Partners Section */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.partner-logo {
  flex: 0 1 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  background: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-weight: 700;
  color: #555;
  font-size: 1.1rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--primary);
  border-color: var(--primary);
}

/* Dark Mode - Partners */
body.dark-mode .partner-logo {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

body.dark-mode .partner-logo:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: var(--secondary);
}