/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ========== IMAGE OPTIMIZATION ========== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== MICROSOFT FLUENT COLOR SYSTEM ========== */
:root {
  /* Microsoft Fluent Colors */
  --ms-blue: #0078d4;
  --ms-blue-hover: #106ebe;
  --ms-blue-light: #deecf9;
  --ms-cyan: #60caff;
  --ms-purple: #8764b8;
  --ms-teal: #00b7c3;
  --ms-gray-10: #faf9f8;
  --ms-gray-20: #f3f2f1;
  --ms-gray-30: #edebe9;
  --ms-gray-50: #d2d0ce;
  --ms-gray-100: #a19f9d;
  --ms-gray-130: #8a8886;
  --ms-gray-160: #605e5c;
  --ms-gray-190: #323130;
  --ms-gray-200: #201f1e;
  --ms-gray-220: #11100f;
  --ms-success: #107c10;
  --ms-error: #d13438;
  --ms-warning: #ffaa44;
  
  /* Dark mode colors */
  --ms-dark-bg: #1e1e1e;
  --ms-dark-surface: #252423;
  --ms-dark-border: #323130;
  --ms-dark-text: #ffffff;
  --ms-dark-text-secondary: #a19f9d;
}

/* ========== SMOOTH SCROLLING ========== */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  /* Prevent horizontal scrollbar */
  overflow-y: scroll;
}

/* ========== LIGHT / DARK BASE ========== */
body {
  background-color: var(--ms-gray-10);
  color: var(--ms-gray-220);
  transition: background-color 0.3s ease, color 0.3s ease;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  /* Ensure body doesn't expand beyond viewport */
  min-width: 0;
}

body.dark-mode {
  background-color: var(--ms-dark-bg);
  color: var(--ms-dark-text);
}

/* Core container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 12px;
  }
}

/* ========== TOP NAVBAR (Microsoft Style) ========== */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  min-height: 110px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: visible;
  /* Prevent navbar from causing overflow */
  min-width: 0;
  box-sizing: border-box;
  /* Ensure dropdowns can overflow navbar but not viewport */
  overflow: visible;
}

body.dark-mode .top-nav {
  background-color: var(--ms-dark-surface);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Left group */
.nav-left {
  display: flex;
  align-items: center;
  gap: 56px;
  /* Ensure dropdowns can overflow nav container */
  overflow: visible;
  position: relative;
}

/* Logo card - Professional Software Company Style */
.logo-area {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0;
  gap: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
  margin-right: 12px;
  background: transparent !important;
  /* Create isolation context for blend mode to work better */
  isolation: isolate;
  position: relative;
  box-shadow: none;
  border: none;
}

.logo-area:hover {
  opacity: 1;
  background: transparent !important;
  box-shadow: none;
  transform: none;
}

.logo-area:active {
  transform: scale(0.98);
}

.logo-img {
  height: 90px;
  width: auto;
  max-width: 380px;
  min-width: 280px;
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  background: transparent !important;
  mix-blend-mode: normal;
  /* Enhanced visibility with drop shadow */
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15)) 
          drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
  border: none;
  outline: none;
  /* Subtle glow effect */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.logo-area:hover .logo-img {
  mix-blend-mode: normal;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.2)) 
          drop-shadow(0 3px 10px rgba(0, 0, 0, 0.15));
  transform: translateZ(0) scale(1.05);
  opacity: 1;
}

/* Dark mode logo enhancements */
body.dark-mode .logo-img {
  mix-blend-mode: normal;
  filter: none;
  background: transparent !important;
}

body.dark-mode .logo-area:hover .logo-img {
  mix-blend-mode: normal;
  filter: none;
  opacity: 0.9;
}

.logo-text {
  font-size: 24px;
  font-weight: 600;
  color: var(--ms-gray-190);
  letter-spacing: -0.3px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  white-space: nowrap;
  transition: color 0.25s ease;
  line-height: 1.2;
  margin-top: 2px;
}

body.dark-mode .logo-text {
  color: var(--ms-dark-text);
}

/* Full logo with motto (for hero sections, footers, etc.) */
.logo-full {
  height: auto;
  max-width: 100%;
  display: block;
}

  .logo-img:hover {
    filter: none;
  }

/* Logo switching for dark mode */
.logo-img[data-light] {
  display: block;
}

body.dark-mode .logo-img[data-light] {
  display: none;
}

.logo-img[data-dark] {
  display: none;
  height: 85px;
  max-width: 350px;
  min-width: 250px;
  background: transparent !important;
  mix-blend-mode: normal;
  filter: none;
}

body.dark-mode .logo-img[data-dark] {
  display: block;
}

body.dark-mode .logo-area:hover .logo-img[data-dark] {
  mix-blend-mode: normal;
  filter: none;
  opacity: 0.9;
}

/* Main menu */
.main-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 110px;
  /* Ensure dropdowns can overflow menu container */
  overflow: visible;
  position: relative;
}

.nav-link,
.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #323130;
  text-decoration: none;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  white-space: nowrap;
  line-height: 1.5;
}

body.dark-mode .nav-link,
body.dark-mode .dropdown-toggle {
  color: #ffffff;
}

.nav-link:hover,
.dropdown-toggle:hover {
  color: #0078d4;
  background-color: rgba(0, 120, 212, 0.08);
}

body.dark-mode .nav-link:hover,
body.dark-mode .dropdown-toggle:hover {
  background-color: rgba(0, 120, 212, 0.18);
  color: #60caff;
}

.nav-link.active,
.dropdown.active > .dropdown-toggle {
  color: #0078d4;
  font-weight: 600;
  background-color: rgba(0, 120, 212, 0.06);
}

body.dark-mode .nav-link.active,
body.dark-mode .dropdown.active > .dropdown-toggle {
  background-color: rgba(0, 120, 212, 0.15);
  color: #60caff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2.5px;
  background-color: #0078d4;
  border-radius: 2px;
}

body.dark-mode .nav-link.active::after {
  background-color: #60caff;
}

/* Dropdown arrow indicator */
.dropdown-toggle::after {
  content: "▼";
  font-size: 8px;
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.2s ease;
  vertical-align: middle;
  opacity: 0.6;
}

.dropdown.open > .dropdown-toggle::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mega menu (Microsoft Style) */
.dropdown {
  position: relative;
  /* Ensure dropdown container doesn't clip menu */
  overflow: visible;
}

.mega-menu {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 8px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 32px 40px;
  display: none;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 40px;
  min-width: 800px;
  max-width: min(1200px, calc(100vw - 32px));
  width: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  animation: fadeInDown 0.2s ease;
  z-index: 1001;
  transform: translateX(0);
  right: auto;
  /* Prevent horizontal overflow */
  box-sizing: border-box;
  overflow: visible;
  /* Ensure menu is visible above other content */
  isolation: isolate;
  /* Ensure menu is not clipped */
  clip-path: none;
  pointer-events: auto;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.dark-mode .mega-menu {
  background-color: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Critical: Ensure menu displays and never exceeds viewport when open */
.dropdown.open .mega-menu {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: min(1200px, calc(100vw - 32px));
  width: auto;
}

.mega-column {
  display: flex;
  flex-direction: column;
}

.mega-column h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #323130;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.dark-mode .mega-column h4 {
  color: #ffffff;
}

.mega-column a {
  display: block;
  font-size: 14px;
  color: #605e5c;
  text-decoration: none;
  padding: 8px 12px;
  margin: 2px 0;
  border-radius: 4px;
  transition: all 0.15s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

body.dark-mode .mega-column a {
  color: #d2d0ce;
}

.mega-column a:hover {
  color: #0078d4;
  background-color: rgba(0, 120, 212, 0.08);
  transform: translateX(4px);
}

body.dark-mode .mega-column a:hover {
  background-color: rgba(0, 120, 212, 0.2);
}

/* Right side of navbar */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Let's Talk button (Microsoft Style) */
/* Modern Microsoft Fluent Talk Button - Glassmorphic */
.talk-btn {
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.9), rgba(96, 202, 255, 0.95));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.25);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.talk-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.talk-btn:hover {
  background: linear-gradient(135deg, rgba(0, 120, 212, 1), rgba(96, 202, 255, 1));
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 120, 212, 0.4), 0 0 15px rgba(96, 202, 255, 0.3);
}

.talk-btn:hover::before {
  left: 100%;
}

.talk-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.3);
}

/* Language button (Microsoft Style) */
.language-select .lang-btn {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background-color: transparent;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.language-select .lang-btn:hover {
  background-color: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.18);
}

body.dark-mode .language-select .lang-btn {
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .language-select .lang-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.lang-text {
  font-size: 13px;
  font-weight: 400;
}

body.dark-mode .language-select .lang-btn {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

body.dark-mode .language-select .lang-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}


/* ========== HERO SECTIONS (HOME + SERVICES) ========== */
.hero {
  position: relative;
  height: 70vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  /* Ensure hero doesn't interfere with dropdown menu */
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: auto;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
}

/* SERVICES HERO - Specific overlay */
.services-hero .hero-overlay {
  background: rgba(15, 23, 42, 0.65);
}

/* PRODUCTS HERO - Uses same hero structure as services.html */
.products-hero {
  height: 70vh;
  min-height: 420px;
}

.products-hero .hero-overlay {
  background: rgba(15, 23, 42, 0.65);
}

.products-hero .hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  max-width: 700px;
}

.products-hero .hero-content p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 28px;
  opacity: 0.95;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-btn {
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ========== BUTTON COLOR OPTIONS - MICROSOFT FLUENT DESIGN ========== */
/* 
  MICROSOFT FLUENT DESIGN COLOR SCHEMES:
  
  Option 1 (RECOMMENDED): Microsoft Blue → Cyan Gradient
    Primary: rgba(0, 120, 212, 0.85) → rgba(96, 202, 255, 0.9) [Matches --ms-blue to --ms-cyan]
    Shadow: rgba(0, 120, 212, 0.4)
  
  Option 2: Microsoft Blue Classic (Solid Fluent Blue)
    Primary: rgba(0, 120, 212, 0.85) → rgba(16, 110, 190, 0.9) [--ms-blue to --ms-blue-hover]
    Shadow: rgba(0, 120, 212, 0.4)
  
  Option 3: Microsoft Purple → Blue Gradient
    Primary: rgba(135, 100, 184, 0.85) → rgba(0, 120, 212, 0.9) [Fluent Purple to Blue]
    Shadow: rgba(135, 100, 184, 0.4)
  
  Option 4: Microsoft Teal → Cyan Gradient
    Primary: rgba(0, 183, 195, 0.85) → rgba(96, 202, 255, 0.9) [Fluent Teal to Cyan]
    Shadow: rgba(0, 183, 195, 0.4)
  
  Option 5: Microsoft Blue → Purple Gradient
    Primary: rgba(0, 120, 212, 0.85) → rgba(135, 100, 184, 0.9) [Blue to Purple]
    Shadow: rgba(135, 100, 184, 0.4)
  
  CURRENT: Option 1 - Microsoft Blue → Cyan (Matches website's --ms-blue and dark mode accent)
*/

/* Primary Button - Microsoft Fluent Blue → Cyan Gradient (RECOMMENDED) */
.hero-btn.primary {
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.85), rgba(96, 202, 255, 0.9));
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.hero-btn.primary::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 ease;
}

.hero-btn.primary:hover {
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.95), rgba(96, 202, 255, 1));
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.4), 0 0 20px rgba(96, 202, 255, 0.3);
}

.hero-btn.primary:hover::before {
  left: 100%;
}

.hero-btn.primary:active {
  transform: translateY(-1px) scale(0.98);
}

/* Secondary Button - Microsoft Fluent Transparent Glass (Matches Fluent Design) */
/* Alternative: Can use subtle Microsoft color tint like rgba(96, 202, 255, 0.15) for cyan accent */
.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.hero-btn.secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2), 0 0 20px rgba(255, 255, 255, 0.15);
}

.hero-btn.secondary:hover::before {
  left: 100%;
}

.hero-btn.secondary:active {
  transform: translateY(-1px) scale(0.98);
}

/* ========== PAGE WRAPPERS ========== */
.page-content {
  padding: 40px 40px 80px;
}

.main-content {
  min-height: 60vh;
  padding: 4rem 0;
}

@media (max-width: 900px) {
  .main-content {
    padding: 3rem 0;
  }
}

@media (max-width: 600px) {
  .main-content {
    padding: 2rem 0;
  }
}

/* ========== ICON STYLES ========== */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  fill: currentColor;
  flex-shrink: 0;
}

.icon-sm {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.icon-lg {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.icon-xl {
  width: 48px;
  height: 48px;
  margin-right: 12px;
}

/* Feature card icons */
.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--ms-blue-light), rgba(0, 120, 212, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--ms-blue);
}

body.dark-mode .feature-icon {
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.2), rgba(0, 120, 212, 0.1));
}

body.dark-mode .feature-icon svg {
  fill: #60caff;
}

/* ========== HOME FEATURES ========== */
.features {
  padding: 5rem 0;
  background-color: var(--ms-gray-10);
}

@media (max-width: 900px) {
  .features {
    padding: 3rem 0;
  }
}

@media (max-width: 600px) {
  .features {
    padding: 2.5rem 0;
  }
}

body.dark-mode .features {
  background-color: var(--ms-dark-bg);
}

.features h2 {
  text-align: center;
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--ms-gray-220);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

@media (max-width: 900px) {
  .features h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 600px) {
  .features h2 {
    font-size: 1.875rem;
    padding: 0 16px;
  }
}

body.dark-mode .features h2 {
  color: var(--ms-dark-text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Modern Microsoft Fluent Feature Card - Enhanced Glassmorphic */
.feature-card {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 120, 212, 0.05);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 120, 212, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ms-blue), var(--ms-cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 1;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

body.dark-mode .feature-card {
  background-color: rgba(37, 36, 35, 0.8);
  border-color: rgba(0, 120, 212, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 120, 212, 0.2), 0 0 0 1px rgba(0, 120, 212, 0.15);
  border-color: rgba(0, 120, 212, 0.3);
  background-color: rgba(255, 255, 255, 1);
}

body.dark-mode .feature-card:hover {
  box-shadow: 0 25px 60px rgba(0, 120, 212, 0.3), 0 0 0 1px rgba(96, 202, 255, 0.2);
  border-color: rgba(96, 202, 255, 0.3);
  background-color: rgba(37, 36, 35, 0.95);
}

.feature-img {
  width: 100%;
  height: 200px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 12px;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  image-rendering: auto;
}

.feature-card:hover .feature-img img {
  transform: scale(1.05);
}

.feature-card h3 {
  color: #111827;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 600;
}

body.dark-mode .feature-card h3 {
  color: #f1f5f9;
}

.feature-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 15px;
}

body.dark-mode .feature-card p {
  color: #cbd5e1;
}

/* ========== SERVICES GRID (SHARED WITH PRODUCTS) ========== */
/* Services Hero - Matches products-hero but for services.html */
.services-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
  position: relative;
}

body.dark-mode .services-hero {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

/* Services Grid Section */
.services-grid-section {
  padding: 60px 0 80px;
  background-color: #ffffff;
}

body.dark-mode .services-grid-section {
  background-color: #0f172a;
}

/* Services use SAME product classes */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

/* Modern Microsoft Fluent Service Card - Enhanced Glassmorphic */
.service-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 120, 212, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 120, 212, 0.1);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ms-blue), var(--ms-cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0, 120, 212, 0.2), 0 0 0 1px rgba(0, 120, 212, 0.15);
  border-color: rgba(0, 120, 212, 0.3);
  background: rgba(255, 255, 255, 1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

body.dark-mode .service-card {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(0, 120, 212, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .service-card:hover {
  box-shadow: 0 25px 60px rgba(0, 120, 212, 0.3), 0 0 0 1px rgba(96, 202, 255, 0.2);
  border-color: rgba(96, 202, 255, 0.3);
  background: rgba(30, 41, 59, 0.95);
}

.service-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  image-rendering: auto;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-content {
  padding: 28px;
}

.service-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
  line-height: 1.3;
}

body.dark-mode .service-content h3 {
  color: #f1f5f9;
}

.service-content p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

body.dark-mode .service-content p {
  color: #cbd5e1;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
  padding-left: 0;
}

.service-features li {
  font-size: 14px;
  color: #475569;
  margin-bottom: 10px;
  padding-left: 32px;
  position: relative;
  line-height: 1.6;
  min-height: 20px;
  display: flex;
  align-items: center;
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--ms-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-features li::after {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: white;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.dark-mode .service-features li {
  color: #94a3b8;
}

/* Modern Microsoft Fluent Service Button - Glassmorphic */
.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.85), rgba(96, 202, 255, 0.9));
  color: white;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 120, 212, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.service-btn::after {
  content: "→";
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.service-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.4), 0 0 15px rgba(96, 202, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.95), rgba(96, 202, 255, 1));
  border-color: rgba(255, 255, 255, 0.3);
}

.service-btn:hover::before {
  left: 100%;
}

.service-btn:hover::after {
  transform: translateX(4px);
}

.service-btn:active {
  transform: translateY(0) scale(0.98);
}

/* ========== CTA SECTION (SERVICES + COPILOT) ========== */
.services-cta,
.copilot-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #7c3aed15 0%, #06b6d415 100%);
}

body.dark-mode .services-cta,
body.dark-mode .copilot-section {
  background: linear-gradient(135deg, #7c3aed40 0%, #06b6d440 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

body.dark-mode .section-header h2 {
  color: #f8fafc;
}

.section-header p {
  font-size: 18px;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
}

body.dark-mode .section-header p {
  color: #cbd5e1;
}

/* Modern Microsoft Fluent CTA Button - Glassmorphic */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.9), rgba(96, 202, 255, 0.95));
  color: white;
  padding: 16px 40px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cta-btn::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 ease;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 120, 212, 0.4), 0 0 20px rgba(96, 202, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 120, 212, 1), rgba(96, 202, 255, 1));
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.cta-button-wrapper {
  text-align: center;
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Modern Microsoft Fluent Secondary CTA Button - Glassmorphic */
.cta-btn-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(0, 120, 212, 0.6) !important;
  color: var(--ms-blue) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.cta-btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 120, 212, 0.1), transparent);
  transition: left 0.5s ease;
}

.cta-btn-secondary:hover {
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.95), rgba(96, 202, 255, 0.95)) !important;
  color: white !important;
  border-color: rgba(0, 120, 212, 0.8) !important;
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.3);
}

.cta-btn-secondary:hover::before {
  left: 100%;
}

body.dark-mode .cta-btn-secondary {
  background: rgba(96, 202, 255, 0.1) !important;
  border-color: rgba(96, 202, 255, 0.6) !important;
  color: var(--ms-cyan) !important;
}

body.dark-mode .cta-btn-secondary:hover {
  background: linear-gradient(135deg, rgba(96, 202, 255, 0.95), rgba(0, 120, 212, 0.95)) !important;
  color: var(--ms-dark-bg) !important;
  border-color: rgba(96, 202, 255, 0.8) !important;
  box-shadow: 0 8px 25px rgba(96, 202, 255, 0.3);
}

/* ========== PRODUCTS PAGE ========== */
/* Products Hero styles are defined above with services-hero */

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-tags span {
  background: linear-gradient(135deg, var(--ms-blue), var(--ms-blue-hover));
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.hero-tags span:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

/* Products Grid Section */
.products-grid-section {
  padding: 60px 0 80px;
  background-color: #ffffff;
}

body.dark-mode .products-grid-section {
  background-color: #0f172a;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

/* Modern Microsoft Fluent Product Card - Enhanced Glassmorphic */
.product-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 120, 212, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 120, 212, 0.1);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ms-blue), var(--ms-cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0, 120, 212, 0.2), 0 0 0 1px rgba(0, 120, 212, 0.15);
  border-color: rgba(0, 120, 212, 0.3);
  background: rgba(255, 255, 255, 1);
}

.product-card:hover::before {
  transform: scaleX(1);
}

body.dark-mode .product-card {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(0, 120, 212, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .product-card:hover {
  box-shadow: 0 25px 60px rgba(0, 120, 212, 0.3), 0 0 0 1px rgba(96, 202, 255, 0.2);
  border-color: rgba(96, 202, 255, 0.3);
  background: rgba(30, 41, 59, 0.95);
}

.product-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  image-rendering: auto;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-content {
  padding: 28px;
}

.product-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
  line-height: 1.3;
}

body.dark-mode .product-content h3 {
  color: #f1f5f9;
}

.product-content p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

body.dark-mode .product-content p {
  color: #cbd5e1;
}

.product-features {
  list-style: none;
  margin-bottom: 24px;
  padding-left: 0;
}

.product-features li {
  font-size: 14px;
  color: #475569;
  margin-bottom: 10px;
  padding-left: 32px;
  position: relative;
  line-height: 1.6;
  min-height: 20px;
  display: flex;
  align-items: center;
}

.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--ms-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-features li::after {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: white;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.dark-mode .product-features li {
  color: #94a3b8;
}

/* Modern Microsoft Fluent Product Button - Glassmorphic */
.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.85), rgba(96, 202, 255, 0.9));
  color: white;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 120, 212, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.product-btn::after {
  content: "→";
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.product-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.4), 0 0 15px rgba(96, 202, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.95), rgba(96, 202, 255, 1));
  border-color: rgba(255, 255, 255, 0.3);
}

.product-btn:hover::before {
  left: 100%;
}

.product-btn:hover::after {
  transform: translateX(4px);
}

.product-btn:active {
  transform: translateY(0) scale(0.98);
}


/* ========== ABOUT PAGE (CLEAN MICROSOFT STYLE) ========== */
/* About hero - uses gradient background like services-hero */
.about-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
  position: relative;
}

body.dark-mode .about-hero {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.about-hero .hero-overlay {
  background: rgba(15, 23, 42, 0.65);
}

.about-hero .hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.2;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.5px;
}

body.dark-mode .about-hero .hero-content h1 {
  color: #ffffff;
}

.about-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-hero-text {
  max-width: 720px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 20px;
}

.about-hero .hero-content p {
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.about-hero-lead {
  font-size: 20px;
  line-height: 1.7;
  font-weight: 400;
  opacity: 0.98;
  letter-spacing: 0.2px;
}

.about-hero-secondary {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
  opacity: 0.9;
  letter-spacing: 0.1px;
}

body.dark-mode .about-hero .hero-content p {
  color: #ffffff;
}

body.dark-mode .about-hero-lead {
  opacity: 0.98;
}

body.dark-mode .about-hero-secondary {
  opacity: 0.9;
}

/* Mission & Vision Block (reused styling) */

.mission-vision-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  max-width: 1000px;
  margin: 0 auto;
}

.mission-block {
  text-align: left;
  padding: 0 16px;
}

.mission-icon-small {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  background: var(--ms-blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ms-blue);
}

.mission-icon-small svg {
  width: 24px;
  height: 24px;
}

body.dark-mode .mission-icon-small {
  background: rgba(0, 120, 212, 0.15);
  color: #60caff;
}

.mission-block h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #111827;
}

body.dark-mode .mission-block h2 {
  color: #f1f5f9;
}

.mission-block p {
  font-size: 16px;
  line-height: 1.7;
  color: #64748b;
}

body.dark-mode .mission-block p {
  color: #cbd5e1;
}

/* Shared titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

body.dark-mode .section-title {
  color: #f8fafc;
}

body.dark-mode .section-subtitle {
  color: #cbd5e1;
}

/* Section Header Centered */
.section-header-centered {
  text-align: center;
  margin-bottom: 48px;
}

.section-header-centered .section-subtitle {
  font-size: 18px;
  max-width: 600px;
  margin: 12px auto 0;
}



/* Timeline (reused from about page) */

.timeline {
  position: relative;
  margin-top: 48px;
  padding-left: 32px;
  border-left: 2px solid #d2d0ce;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -9px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--ms-blue);
  border: 3px solid #ffffff;
}

body.dark-mode .timeline-dot {
  border-color: #0f172a;
}

body.dark-mode .timeline {
  border-left-color: #334155;
}

.timeline-content {
  margin-left: 32px;
  padding: 0;
}

.timeline-content h3 {
  text-align: left;
}

.timeline-content p {
  text-align: left;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.timeline-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
}

body.dark-mode .timeline-content h3 {
  color: #f1f5f9;
}

body.dark-mode .timeline-content p {
  color: #cbd5e1;
}

/* Values Grid (reused from about page) */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.value-card {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: 20px;
  text-align: left;
  border: 1px solid #f1f5f9;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 120, 212, 0.15);
  border-color: var(--ms-blue);
}

body.dark-mode .value-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .value-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border-color: #60caff;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--ms-blue-light), rgba(0, 120, 212, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ms-blue);
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1);
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

body.dark-mode .value-icon {
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.2), rgba(0, 120, 212, 0.1));
  color: #60caff;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
  line-height: 1.3;
}

body.dark-mode .value-card h3 {
  color: #f1f5f9;
}

.value-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
}

body.dark-mode .value-card p {
  color: #cbd5e1;
}

/* Stats (Consistent with other pages) */
.about-stats-enhanced {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--ms-blue), #005a9e);
  color: #ffffff;
}

.about-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-enhanced {
  text-align: center;
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  opacity: 0.9;
  font-weight: 400;
}

/* Why Choose Grid (reused from about page) */

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.why-choose-content h2 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #111827;
  letter-spacing: -0.5px;
}

body.dark-mode .why-choose-content h2 {
  color: #f1f5f9;
}

.why-choose-content .lead-text {
  font-size: 17px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 16px;
  font-weight: 500;
}

body.dark-mode .why-choose-content .lead-text {
  color: #cbd5e1;
}

.why-choose-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 32px;
}

body.dark-mode .why-choose-content p {
  color: #cbd5e1;
}

.why-features-list {
  display: grid;
  gap: 20px;
}

.why-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--ms-blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ms-blue);
  flex-shrink: 0;
}

.why-feature-icon svg {
  width: 20px;
  height: 20px;
}

body.dark-mode .why-feature-icon {
  background: rgba(0, 120, 212, 0.15);
  color: #60caff;
}

.why-feature-item h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111827;
}

body.dark-mode .why-feature-item h4 {
  color: #f1f5f9;
}

.why-feature-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

body.dark-mode .why-feature-item p {
  color: #cbd5e1;
}

.why-choose-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.why-choose-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: auto;
}

/* CTA Section secondary button styles */
.cta-btn[style*="background: transparent"] {
  background: transparent !important;
  border: 2px solid var(--ms-blue) !important;
  color: var(--ms-blue) !important;
}

.cta-btn[style*="background: transparent"]:hover {
  background: var(--ms-blue) !important;
  color: white !important;
}

body.dark-mode .cta-btn[style*="background: transparent"] {
  border-color: #60caff !important;
  color: #60caff !important;
}

body.dark-mode .cta-btn[style*="background: transparent"]:hover {
  background: #60caff !important;
  color: var(--ms-dark-bg) !important;
}

/* ========== BACK TO TOP BUTTON ========== */
/* Modern Microsoft Fluent Back to Top Button - Glassmorphic */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 100px;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.9), rgba(96, 202, 255, 0.95));
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1500;
  box-shadow: 0 4px 16px rgba(0, 120, 212, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: visible;
  pointer-events: none;
  box-sizing: border-box;
  text-align: center;
  line-height: 1;
  padding: 0;
}

.back-to-top::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.back-to-top:hover {
  background: linear-gradient(135deg, rgba(0, 120, 212, 1), rgba(96, 202, 255, 1));
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 120, 212, 0.4), 0 0 20px rgba(96, 202, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.back-to-top:hover::before {
  width: 100%;
  height: 100%;
}

body.dark-mode .back-to-top {
  background: linear-gradient(135deg, rgba(96, 202, 255, 0.9), rgba(0, 120, 212, 0.95));
}

body.dark-mode .back-to-top:hover {
  background: linear-gradient(135deg, rgba(96, 202, 255, 1), rgba(0, 120, 212, 1));
  box-shadow: 0 8px 24px rgba(96, 202, 255, 0.4), 0 0 20px rgba(96, 202, 255, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Ensure button is always visible and not cut off */
.back-to-top {
  min-width: 52px;
  min-height: 52px;
  box-sizing: border-box;
  /* Ensure button text/icon is centered and visible */
  text-align: center;
  line-height: 1;
}

@media (max-width: 1024px) {
  .back-to-top {
    right: 24px;
    bottom: 110px;
  }
}

.back-to-top:active {
  transform: translateY(-2px) scale(0.95);
}

/* ========== FOOTER ========== */
.footer {
  background-color: #001f3f;
  color: #ffffff;
  padding: 4rem 0 1rem;
  margin-top: 4rem;
  transition: background-color 0.3s ease;
}

body.dark-mode .footer {
  background-color: #111827;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 1024px) {
  .footer-container {
    padding: 0 24px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    padding: 0 16px;
  }
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  width: 100%;
  margin-bottom: 3rem;
  align-items: start;
  justify-items: start;
}

/* Footer logo section */
.footer-logo-section {
  display: flex;
  align-items: flex-start;
}

.footer-logo-link {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.footer-logo-link:hover {
  transform: scale(1.02);
}

.footer-logo-img {
  max-width: 320px;
  height: auto;
  max-height: 100px;
  min-width: 200px;
  display: block;
  object-fit: contain;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: transparent;
  /* Completely remove white background for JPG format */
  mix-blend-mode: multiply;
  filter: 
    drop-shadow(0 3px 8px rgba(0, 0, 0, 0.2))
    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15))
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.1))
    contrast(1.4)
    brightness(0.9)
    saturate(1.2);
  transition: all 0.3s ease;
  isolation: isolate;
}

.footer-logo-link:hover .footer-logo-img {
  mix-blend-mode: multiply;
  filter: 
    drop-shadow(0 5px 15px rgba(0, 0, 0, 0.25))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2))
    drop-shadow(0 0 2px rgba(0, 0, 0, 0.15))
    contrast(1.5)
    brightness(0.92)
    saturate(1.25);
  transform: scale(1.02);
}

/* Dark mode footer logo - use screen blend mode for JPG */
body.dark-mode .footer-logo-img {
  mix-blend-mode: screen;
  filter: 
    drop-shadow(0 3px 10px rgba(0, 0, 0, 0.4))
    drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3))
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.12))
    contrast(1.4)
    brightness(1.3)
    saturate(1.2);
  isolation: isolate;
}

body.dark-mode .footer-logo-link:hover .footer-logo-img {
  mix-blend-mode: screen;
  filter: 
    drop-shadow(0 5px 20px rgba(0, 0, 0, 0.5))
    drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.2))
    contrast(1.5)
    brightness(1.35)
    saturate(1.25);
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.footer-section h3 {
  margin: 0 0 1.5rem 0;
  padding: 0;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  text-align: left;
  line-height: 1.4;
}

.footer-section h3::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  margin-top: 8px;
  background: linear-gradient(90deg, #001f3f, #002a66, #003b8c, #003d7a, #0055cc);
}

.footer-section p {
  margin: 0 0 0.75rem 0;
  padding: 0;
  line-height: 1.6;
  opacity: 0.85;
  font-size: 0.9rem;
  width: 100%;
  text-align: left;
}

.footer-section p:last-child {
  margin-bottom: 0;
}

.footer-section p strong {
  display: inline-block;
  min-width: 75px;
  margin-right: 6px;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.footer-section ul li {
  margin: 0 0 0.75rem 0;
  padding: 0;
  width: 100%;
  line-height: 1.5;
}

.footer-section ul li:last-child {
  margin-bottom: 0;
}

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s, text-decoration 0.3s;
  font-size: 0.9rem;
  display: block;
  width: 100%;
  text-align: left;
  line-height: 1.5;
}

.footer-section ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 20px 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-left {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-bottom-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
  font-size: 0.85rem;
  transition: opacity 0.3s;
}

.footer-bottom a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-logo {
  color: #ffffff;
  font-weight: bold;
  font-style: italic;
}

.footeropyright,
.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ========== WHATSAPP SIDEBAR ========== */
.whatsapp-sidebar {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
}

/* Ensure proper spacing between back-to-top and WhatsApp buttons */
@media (max-width: 900px) {
  .back-to-top {
    bottom: 90px;
  }
  
  .whatsapp-sidebar {
    bottom: 20px;
  }
}

/* Modern Microsoft Fluent WhatsApp Button - Enhanced */
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 0 20px rgba(37, 211, 102, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover::before {
  width: 100%;
  height: 100%;
}

.whatsapp-btn:active {
  transform: scale(1.05) translateY(0);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.whatsapp-btn:hover svg {
  transform: scale(1.1);
}

/* ========== MOBILE MENU (HAMBURGER) ========== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--ms-gray-220);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .mobile-menu-toggle span {
  background-color: var(--ms-dark-text);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
}

/* ========== RESPONSIVE ========== */
/* Large Tablets and Small Desktops (1024px - 1200px) */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
    padding: 0 24px;
  }

  .mega-menu {
    min-width: 700px;
    max-width: min(900px, calc(100vw - 32px));
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 32px;
    padding: 24px 32px;
    box-sizing: border-box;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium screens - adjust mega-menu for better fit */
@media (max-width: 1100px) {
  .mega-menu {
    min-width: 600px;
    max-width: calc(100vw - 32px);
    width: auto;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 24px;
    padding: 24px 28px;
    box-sizing: border-box;
  }
}

/* Ensure mega-menu never exceeds viewport on any screen */
@media (max-width: 900px) {
  .mega-menu {
    min-width: auto !important;
    max-width: calc(100vw - 32px) !important;
    width: auto !important;
  }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .top-nav {
    padding: 0 24px;
    min-height: 80px;
  }

  .nav-left {
    gap: 24px;
  }

  .logo-img {
    height: 70px;
    max-width: 260px;
    min-width: 200px;
  }

  .main-menu {
    gap: 4px;
  }

  .nav-link,
  .dropdown-toggle {
    padding: 10px 12px;
    font-size: 14px;
  }

  .mega-menu {
    min-width: auto;
    max-width: min(800px, calc(100vw - 32px));
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 24px 28px;
    box-sizing: border-box;
  }

  .talk-btn {
    padding: 9px 18px;
    font-size: 13px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .products-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-vision-wrapper {
    gap: 48px;
  }

  .why-choose-grid {
    gap: 48px;
  }
}

/* Mobile and Small Tablets (max-width: 900px) */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
  }

  body.dark-mode .main-menu {
    background-color: var(--ms-dark-surface);
  }

  .main-menu.active {
    right: 0;
  }

  .nav-link,
  .dropdown-toggle {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 8px;
    margin-bottom: 4px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-link:hover,
  .dropdown-toggle:hover {
    background-color: rgba(0, 120, 212, 0.08);
  }

  body.dark-mode .nav-link:hover,
  body.dark-mode .dropdown-toggle:hover {
    background-color: rgba(96, 202, 255, 0.15);
  }

  .dropdown {
    width: 100%;
  }

  .mega-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    left: 0;
    padding: 16px 0;
    margin-top: 8px;
    margin-left: 0;
    box-shadow: none;
    border: none;
    background: transparent;
    grid-template-columns: 1fr;
    gap: 16px;
    border-left: 3px solid var(--ms-blue);
    padding-left: 16px;
    box-sizing: border-box;
  }

  body.dark-mode .mega-menu {
    background: transparent;
    border-left-color: var(--ms-cyan);
  }

.dropdown.open .mega-menu {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}

  .mega-column h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--ms-blue);
  }

  body.dark-mode .mega-column h4 {
    color: var(--ms-cyan);
  }

  .mega-column a {
    padding: 10px 12px;
    font-size: 14px;
    margin: 2px 0;
  }

  .top-nav {
    padding: 0 20px;
    min-height: 70px;
  }

  .nav-left {
    gap: 16px;
    width: 100%;
    justify-content: space-between;
  }

  .logo-img {
    height: 60px;
    max-width: 220px;
    min-width: 160px;
    background: transparent !important;
    mix-blend-mode: normal;
    filter: none;
  }

  .nav-right {
    gap: 8px;
  }

  .talk-btn {
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .language-select .lang-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .lang-text {
    display: none;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
  }

  .about-hero .hero-content h1 {
    font-size: 32px;
  }

  .about-hero-text {
    max-width: 100%;
    gap: 16px;
    margin-bottom: 32px;
  }

  .about-hero-lead {
    font-size: 18px;
    line-height: 1.6;
  }

  .about-hero-secondary {
    font-size: 16px;
    line-height: 1.6;
  }

  .mission-vision-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mission-block {
    padding: 0;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-choose-image {
    order: -1;
  }

  .why-choose-image img {
    height: 300px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .products-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .copilot-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    justify-items: start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-bottom-left,
  .footer-bottom-right {
    justify-content: center;
    flex-wrap: wrap;
  }

  .products-hero .hero-content h1,
  .services-hero .hero-content h1 {
    font-size: 32px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .container {
    padding: 0 20px;
  }
}

/* Small Mobile Devices (max-width: 600px) */
@media (max-width: 600px) {
  .top-nav {
    padding: 0 16px;
    min-height: 65px;
  }

  .nav-left {
    gap: 12px;
  }

  .logo-img {
    height: 55px;
    max-width: 200px;
    min-width: 150px;
    background: transparent !important;
    mix-blend-mode: normal;
    filter: none;
    border: none;
    box-shadow: none;
  }

  .logo-img[data-dark] {
    height: 55px;
    max-width: 200px;
    min-width: 150px;
    mix-blend-mode: normal;
    filter: none;
    background: transparent !important;
  }

  .logo-area {
    background: transparent !important;
    border-radius: 0;
    padding: 0;
    gap: 0;
    box-shadow: none;
    border: none;
  }

  .logo-text {
    font-size: 18px;
  }

  .main-menu {
    width: 280px;
    max-width: 90vw;
    padding: 70px 20px 20px;
  }

  .nav-link,
  .dropdown-toggle {
    padding: 12px 14px;
    font-size: 14px;
  }

  .talk-btn {
    padding: 7px 14px;
    font-size: 12px;
  }

  .language-select .lang-btn {
    padding: 7px 10px;
    font-size: 11px;
  }

  .hero {
    height: 60vh;
    min-height: 350px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-btn {
    padding: 12px 24px;
    font-size: 14px;
    max-width: 100%;
  }

  .page-content {
    padding: 20px 16px;
  }

  .container {
    padding: 0 16px;
  }

  .back-to-top {
    right: 20px;
    bottom: 100px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    min-width: 48px;
    min-height: 48px;
  }

  .whatsapp-sidebar {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-btn {
    width: 56px;
    height: 56px;
  }

  .about-hero {
    padding: 50px 0;
    min-height: 40vh;
  }

  .about-hero .hero-content h1 {
    font-size: 28px;
  }

  .about-hero-text {
    gap: 14px;
    margin-bottom: 28px;
    padding: 0 16px;
  }

  .about-hero-lead {
    font-size: 17px;
    line-height: 1.6;
  }

  .about-hero-secondary {
    font-size: 15px;
    line-height: 1.6;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-stats-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .mission-vision-wrapper {
    gap: 40px;
  }

  .why-choose-grid {
    gap: 40px;
  }

  .why-choose-image img {
    height: 250px;
  }

  .features-grid {
    gap: 20px;
  }

  .products-grid,
  .services-grid {
    gap: 20px;
  }

  .product-content,
  .service-content {
    padding: 20px 16px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: start;
  }

  .footer-bottom {
    padding: 1.5rem 16px 1rem;
    gap: 12px;
  }

  .footer-bottom a {
    font-size: 0.8rem;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .products-hero .hero-content h1,
  .services-hero .hero-content h1 {
    font-size: 28px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .section-header p {
    font-size: 16px;
  }

  .mega-menu {
    padding-left: 12px;
    max-width: calc(100vw - 32px);
    min-width: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    box-sizing: border-box;
  }

  .mega-column a {
    padding: 8px 10px;
    font-size: 13px;
  }
}

/* Extra Small Mobile Devices (max-width: 400px) */
@media (max-width: 400px) {
  .top-nav {
    padding: 0 12px;
    min-height: 60px;
  }

  .logo-img {
    height: 50px;
    max-width: 180px;
    min-width: 140px;
  }

  .logo-img[data-dark] {
    height: 50px;
    max-width: 180px;
    min-width: 140px;
  }

  .main-menu {
    width: 260px;
    padding: 65px 16px 16px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-btn {
    padding: 11px 20px;
    font-size: 13px;
  }

  .container {
    padding: 0 12px;
  }

  .page-content {
    padding: 16px 12px;
  }

  .back-to-top {
    right: 16px;
    bottom: 90px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    min-width: 44px;
    min-height: 44px;
  }

  .whatsapp-btn {
    width: 52px;
    height: 52px;
  }

  .whatsapp-sidebar {
    right: 12px;
    bottom: 12px;
  }
}

/* ========== CAREERS PAGE STYLES ========== */

/* Careers Hero - Specific styling */
.careers-hero {
  height: 70vh;
  min-height: 420px;
}

.careers-hero .hero-overlay {
  background: rgba(15, 23, 42, 0.65);
}

.careers-hero .hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  max-width: 700px;
}

.careers-hero .hero-content p {
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 28px;
  opacity: 0.95;
}

/* Main content wrapper */
.main-content {
  background-color: #ffffff;
}

body.dark-mode .main-content {
  background-color: #0f172a;
}

/* Careers sections */
.careers-section {
  padding: 80px 0;
}

body.dark-mode .careers-section {
  background-color: #0f172a;
}

.careers-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.careers-intro h2 {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.2;
}

body.dark-mode .careers-intro h2 {
  color: #f8fafc;
}

.careers-intro p {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.7;
}

body.dark-mode .careers-intro p {
  color: #cbd5e1;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* Modern Microsoft Fluent Benefit Card - Glassmorphic */
.benefit-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 120, 212, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 120, 212, 0.1);
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ms-blue), var(--ms-cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 1;
}

body.dark-mode .benefit-card {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(0, 120, 212, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.benefit-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0, 120, 212, 0.2), 0 0 0 1px rgba(0, 120, 212, 0.15);
  border-color: rgba(0, 120, 212, 0.3);
  background: rgba(255, 255, 255, 1);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

body.dark-mode .benefit-card:hover {
  box-shadow: 0 25px 60px rgba(0, 120, 212, 0.3), 0 0 0 1px rgba(96, 202, 255, 0.2);
  border-color: rgba(96, 202, 255, 0.3);
  background: rgba(30, 41, 59, 0.95);
}

.benefit-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  image-rendering: auto;
}

.benefit-card:hover .benefit-image {
  transform: scale(1.05);
}

.benefit-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin: 24px 0 12px;
  line-height: 1.3;
}

body.dark-mode .benefit-card h3 {
  color: #f1f5f9;
}

.benefit-card p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  padding: 0 20px;
  margin-bottom: 0;
}

body.dark-mode .benefit-card p {
  color: #cbd5e1;
}

/* Open Positions */
.open-positions {
  max-width: 900px;
  margin: 0 auto;
}

.open-positions h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 48px;
}

body.dark-mode .open-positions h2 {
  color: #f8fafc;
}

/* Modern Microsoft Fluent Position Card - Glassmorphic */
.position-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 32px 28px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 120, 212, 0.05);
  border: 1px solid rgba(0, 120, 212, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.dark-mode .position-card {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(0, 120, 212, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.position-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px rgba(0, 120, 212, 0.2), 0 0 0 1px rgba(0, 120, 212, 0.15);
  border-color: rgba(0, 120, 212, 0.3);
  background: rgba(255, 255, 255, 1);
}

body.dark-mode .position-card:hover {
  box-shadow: 0 20px 48px rgba(0, 120, 212, 0.3), 0 0 0 1px rgba(96, 202, 255, 0.2);
  border-color: rgba(96, 202, 255, 0.3);
  background: rgba(30, 41, 59, 0.95);
}

.position-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--ms-blue), var(--ms-cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 1;
}

.position-card:hover::before {
  transform: scaleX(1);
}

.position-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
  line-height: 1.3;
}

body.dark-mode .position-card h3 {
  color: #f8fafc;
}

.position-card p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 12px;
  line-height: 1.6;
}

body.dark-mode .position-card p {
  color: #94a3b8;
}

.position-card strong {
  color: #111827;
  font-weight: 600;
}

body.dark-mode .position-card strong {
  color: #e5e7eb;
}

/* Modern Microsoft Fluent Apply Button - Glassmorphic */
.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.9), rgba(96, 202, 255, 0.95));
  color: white;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-apply::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 ease;
}

.btn-apply:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.4), 0 0 20px rgba(96, 202, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 120, 212, 1), rgba(96, 202, 255, 1));
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  text-decoration: none;
}

.btn-apply:hover::before {
  left: 100%;
}

.btn-apply:active {
  transform: translateY(-1px) scale(0.98);
}

/* Careers CTA */
/* Modern Microsoft Fluent Careers CTA - Glassmorphic */
.careers-cta {
  text-align: center;
  max-width: 600px;
  margin: 64px auto 0;
  padding: 40px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  border: 1px solid rgba(0, 120, 212, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.careers-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ms-blue), var(--ms-cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.careers-cta:hover::before {
  transform: scaleX(1);
}

body.dark-mode .careers-cta {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(0, 120, 212, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.careers-cta h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

body.dark-mode .careers-cta h2 {
  color: #f8fafc;
}

.careers-cta p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 32px;
}

body.dark-mode .careers-cta p {
  color: #cbd5e1;
}

.careers-cta .btn-apply {
  display: block;
  max-width: 280px;
  margin: 0 auto;
  font-size: 16px;
  padding: 14px 32px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .careers-hero {
    height: 60vh;
  }
  
  .careers-hero .hero-content h1,
  .products-hero .hero-content h1 {
    font-size: 32px;
  }
  
  .careers-section {
    padding: 60px 0;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
  }
  
  .open-positions h2,
  .careers-intro h2 {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .careers-hero .hero-content h1,
  .products-hero .hero-content h1 {
    font-size: 26px;
  }
  
  .careers-hero .hero-content p,
  .products-hero .hero-content p {
    font-size: 16px;
  }
  
  .careers-section {
    padding: 40px 0;
  }
  
  .position-card {
    padding: 24px 20px;
  }
  
  .position-card h3 {
    font-size: 20px;
  }
  
  .careers-cta {
    padding: 32px 24px;
    margin-top: 48px;
  }
  
  .careers-cta h2 {
    font-size: 24px;
  }
}

/* ========== WHY WORK WITH ROOLLout - SINGLE LINE ========== */
@media (min-width: 1200px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  
  .benefit-card {
    flex: 1;
    min-width: 0;
  }
}

/* Ensure single line on large screens */
@media (min-width: 1400px) {
  .benefits-grid {
    gap: 20px;
  }
  
  .container {
    max-width: 1400px;
  }
}

/* Tighter spacing for perfect single line */
.benefits-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.benefit-card {
  display: flex;
  flex-direction: column;
}

.benefit-image {
  flex-shrink: 0;
}

/* ========== CONTACT PAGE STYLES ========== */

/* Contact Hero */
.contact-hero .hero-overlay {
  background: rgba(15, 23, 42, 0.55);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#contact-info,
#contact-form {
  max-width: 100%;
}

.contact-lead {
  color: #64748b;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.5;
}

body.dark-mode .contact-lead {
  color: #cbd5e1;
}

.contact-detail-block {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ms-gray-30);
}

.contact-detail-block:last-child {
  border-bottom: none;
}

.contact-detail-block h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ms-gray-220);
  display: flex;
  align-items: center;
  gap: 8px;
}

body.dark-mode .contact-detail-block h3 {
  color: var(--ms-dark-text);
}

.contact-detail-block p {
  font-size: 15px;
  color: var(--ms-gray-160);
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-detail-block p a {
  color: var(--ms-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-detail-block p a:hover {
  color: var(--ms-blue-hover);
  text-decoration: underline;
}

body.dark-mode .contact-detail-block p {
  color: var(--ms-dark-text-secondary);
}

body.dark-mode .contact-detail-block {
  border-bottom-color: var(--ms-dark-border);
}

.whatsapp-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.whatsapp-link:hover {
  color: #1d4ed8;
}

/* Contact Form */
.contact-form-container .position-card {
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ms-gray-220);
  font-size: 14px;
  display: block;
}

body.dark-mode .form-group label {
  color: var(--ms-dark-text);
}

/* Modern Microsoft Fluent Form Inputs */
.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 1.5px solid var(--ms-gray-50);
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ms-gray-220);
  font-family: inherit;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
  background: rgba(37, 36, 35, 0.8);
  border-color: var(--ms-dark-border);
  color: var(--ms-dark-text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ms-blue);
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.15), 0 4px 12px rgba(0, 120, 212, 0.1);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(96, 202, 255, 0.2), 0 4px 12px rgba(96, 202, 255, 0.15);
  border-color: var(--ms-cyan);
  background: rgba(37, 36, 35, 0.95);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(0, 120, 212, 0.3);
}

body.dark-mode .form-group input:hover,
body.dark-mode .form-group textarea:hover {
  border-color: rgba(96, 202, 255, 0.3);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.success,
.form-group textarea.success {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Modern Microsoft Fluent Submit Button - Glassmorphic */
.btn-submit {
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.9), rgba(96, 202, 255, 0.95));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-submit::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 ease;
}

.btn-submit:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.4), 0 0 20px rgba(96, 202, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 120, 212, 1), rgba(96, 202, 255, 1));
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:active {
  transform: translateY(0) scale(0.98);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .contact-form-container .position-card {
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .contact-grid {
    padding: 0 16px;
    gap: 24px;
  }
  
  .contact-form-container .position-card {
    padding: 24px 20px;
  }
  
  .btn-submit {
    padding: 14px 24px;
    width: 100%;
  }
}

