@media (max-width: 768px) {
  .vendor-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto 1rem auto !important;
    background: none !important;
    box-shadow: none !important;
  }
  .vendor-logo-img {
    width: 100px !important;
    height: auto !important;
    max-width: 90vw !important;
    max-height: 120px !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 0.5rem !important;
    object-fit: contain !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  }
}
/* Highlight vendor dropdown on vendor pages, but do not show menu automatically */
.dropdown.vendor-highlight > .dropdown-toggle,
.dropdown-toggle.vendor-highlight {
  background: rgba(0, 166, 81, 0.12);
  color: #00a651 !important;
  border-radius: 0.5rem;
  font-weight: 600;
}
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-blue: hsl(221, 83%, 53%);
  --brand-blue-light: hsl(217, 91%, 60%);
  --brand-gray: hsl(217, 19%, 27%);
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --green-100: #dcfce7;
  --green-600: #16a34a;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-600: #2563eb;
  --blue-800: #1e40af;
}

/* Dark theme variables removed */

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
  padding-top: 4rem; /* Account for fixed navbar */
  transition:
    background 0.3s ease,
    color 0.3s ease;
  overscroll-behavior: contain;
  overflow-x: hidden;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Hide native scrollbars while preserving scrolling (cross-browser) */
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* Prevent transitions during page load to avoid FOUC */
.no-transition * {
  transition: none !important;
}

/* Dark theme body styling removed */

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-900) 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

/* Service Modal Styles - Force Visibility */
.service-modal {
  overflow: hidden !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.8) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  pointer-events: auto !important;
}

/* Ensure modal shows when active */
.service-modal.active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Dark mode modal - with important declarations */
[data-theme="dark"] .modal-content {
  background: #374151 !important;
  color: white !important;
  border: 1px solid #60a5fa !important;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

[data-theme="dark"] .modal-header {
  border-bottom-color: #60a5fa !important;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2563eb;
  margin: 0;
}

[data-theme="dark"] .modal-title {
  color: #60a5fa !important;
}

.modal-icon {
  text-align: center;
  margin-bottom: 1rem;
}

.modal-icon i {
  font-size: 3rem;
  color: #2563eb;
}

[data-theme="dark"] .modal-icon i {
  color: #60a5fa !important;
}

.modal-description {
  line-height: 1.7;
  margin: 1rem 0;
  font-size: 1.1rem;
  color: #374151;
}

[data-theme="dark"] .modal-description {
  color: #d1d5db !important;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
}

[data-theme="dark"] .modal-footer {
  border-top-color: #60a5fa !important;
}

.modal-footer button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.modal-close-btn {
  background-color: var(--gray-600);
  color: white;
}

.modal-close-btn:hover {
  background-color: var(--gray-700);
}

.modal-contact-btn {
  background-color: var(--brand-blue);
  color: white;
}

.modal-contact-btn:hover {
  background-color: var(--brand-blue-light);
}

[data-theme="dark"] .modal-close-btn {
  background-color: var(--gray-700);
  color: var(--gray-100);
}

[data-theme="dark"] .modal-close-btn:hover {
  background-color: var(--gray-600);
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: var(--white);
}

.loading-logo {
  margin-bottom: 2rem;
  animation: logoFadeIn 1s ease-in-out;
}

.loading-logo h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
  animation: logoPulse 2s ease-in-out infinite;
}

.loading-logo h2 span {
  color: var(--brand-blue-light);
  font-size: 1.5rem;
  font-weight: 500;
}

.loading-logo-img {
  height: 5rem;
  width: auto;
  object-fit: contain;
  animation: logoPulse 2s ease-in-out infinite;
}

.loading-gears {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.gear {
  position: relative;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gear-1 {
  width: 4rem;
  height: 4rem;
  animation: spin 3s linear infinite;
}

.gear-2 {
  width: 3rem;
  height: 3rem;
  animation: spin 2s linear infinite reverse;
}

.gear-3 {
  width: 2.5rem;
  height: 2.5rem;
  animation: spin 4s linear infinite;
}

.gear-tooth {
  position: absolute;
  width: 0.5rem;
  height: 0.25rem;
  background: var(--white);
  border-radius: 0.125rem;
}

.gear-1 .gear-tooth:nth-child(1) {
  transform: rotate(0deg) translateY(-2rem);
}
.gear-1 .gear-tooth:nth-child(2) {
  transform: rotate(45deg) translateY(-2rem);
}
.gear-1 .gear-tooth:nth-child(3) {
  transform: rotate(90deg) translateY(-2rem);
}
.gear-1 .gear-tooth:nth-child(4) {
  transform: rotate(135deg) translateY(-2rem);
}
.gear-1 .gear-tooth:nth-child(5) {
  transform: rotate(180deg) translateY(-2rem);
}
.gear-1 .gear-tooth:nth-child(6) {
  transform: rotate(225deg) translateY(-2rem);
}
.gear-1 .gear-tooth:nth-child(7) {
  transform: rotate(270deg) translateY(-2rem);
}
.gear-1 .gear-tooth:nth-child(8) {
  transform: rotate(315deg) translateY(-2rem);
}

.gear-2 .gear-tooth:nth-child(1) {
  transform: rotate(0deg) translateY(-1.5rem);
}
.gear-2 .gear-tooth:nth-child(2) {
  transform: rotate(60deg) translateY(-1.5rem);
}
.gear-2 .gear-tooth:nth-child(3) {
  transform: rotate(120deg) translateY(-1.5rem);
}
.gear-2 .gear-tooth:nth-child(4) {
  transform: rotate(180deg) translateY(-1.5rem);
}
.gear-2 .gear-tooth:nth-child(5) {
  transform: rotate(240deg) translateY(-1.5rem);
}
.gear-2 .gear-tooth:nth-child(6) {
  transform: rotate(300deg) translateY(-1.5rem);
}

.gear-3 .gear-tooth:nth-child(1) {
  transform: rotate(0deg) translateY(-1.25rem);
}
.gear-3 .gear-tooth:nth-child(2) {
  transform: rotate(36deg) translateY(-1.25rem);
}
.gear-3 .gear-tooth:nth-child(3) {
  transform: rotate(72deg) translateY(-1.25rem);
}
.gear-3 .gear-tooth:nth-child(4) {
  transform: rotate(108deg) translateY(-1.25rem);
}
.gear-3 .gear-tooth:nth-child(5) {
  transform: rotate(144deg) translateY(-1.25rem);
}
.gear-3 .gear-tooth:nth-child(6) {
  transform: rotate(180deg) translateY(-1.25rem);
}
.gear-3 .gear-tooth:nth-child(7) {
  transform: rotate(216deg) translateY(-1.25rem);
}
.gear-3 .gear-tooth:nth-child(8) {
  transform: rotate(252deg) translateY(-1.25rem);
}
.gear-3 .gear-tooth:nth-child(9) {
  transform: rotate(288deg) translateY(-1.25rem);
}
.gear-3 .gear-tooth:nth-child(10) {
  transform: rotate(324deg) translateY(-1.25rem);
}

.loading-text {
  font-size: 0.9rem;
  color: var(--gray-300);
  animation: textFade 2s ease-in-out infinite;
}

.dots span {
  animation: dot-blink 1.4s infinite both;
}

.dots span:nth-child(1) {
  animation-delay: 0s;
}

.dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.dots span:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes dot-blink {
  0%,
  80%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoPulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes textFade {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-blue);
}

h2 {
  font-size: 2.5rem;
  color: var(--brand-blue);
}

h3 {
  font-size: 1.5rem;
  color: var(--brand-blue);
}

p {
  margin-bottom: 1rem;
  color: var(--gray-700);
  font-size: 1.1rem;
}

.text-blue-light {
  color: var(--brand-blue-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--brand-blue),
    var(--brand-blue-light)
  );
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-800), var(--brand-blue));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 166, 81, 0.4);
}

.btn-outline {
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  background-color: transparent;
}

.btn-outline:hover {
  background: linear-gradient(
    135deg,
    var(--brand-blue),
    var(--brand-blue-light)
  );
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

.btn-full {
  width: 100%;
}

.btn-consultation {
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-consultation:hover {
  background-color: var(--blue-800);
}

/* Navigation - Fixed positioning */
.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  border-bottom: 1px solid var(--gray-200) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transform: none !important;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  color: var(--gray-700);
  font-size: 1.125rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-blue);
}

/* Ensure navbar stays fixed on all screen sizes */
@media (max-width: 768px) {
  /* Kaspersky Hero Section Mobile Fixes */
  .vendor-hero .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.5rem !important;
    text-align: center !important;
    padding: 0 0.5rem !important;
  }
  .kaspersky-visual {
    margin-top: 1rem !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
  .kaspersky-cybermap {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }
  .kaspersky-cybermap iframe {
    width: 100% !important;
    min-width: 0 !important;
    height: 220px !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
  }
  .hero-text {
    text-align: center !important;
    align-items: center !important;
  }
  .hero-buttons {
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    align-items: stretch !important;
  }
  .hero-buttons .btn {
    width: 100% !important;
    font-size: 1.1rem !important;
    padding: 1rem !important;
  }
  /* Vendors Page Mobile Enhancements */
  .vendors-header-content {
    padding: 1.5rem 0;
  }
  .vendors-header-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .vendors-header-content p {
    font-size: 1.1rem;
  }
  .vendors-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .vendor-card {
    width: 100% !important;
    min-width: 0 !important;
    padding: 1.25rem !important;
    font-size: 1rem !important;
  }
  .vendor-card h3 {
    font-size: 1.1rem !important;
  }
  .vendor-logo {
    width: 3rem !important;
    height: 3rem !important;
  }
  .vendor-card p {
    font-size: 0.98rem !important;
  }
  .vendor-category h2 {
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
  }
  /* Kaspersky Page Mobile Enhancements */
  .kaspersky-hero {
    padding: 80px 0 40px !important;
    text-align: center !important;
  }
  .kaspersky-hero h1 {
    font-size: 1.5rem !important;
  }
  .hero-content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0 0.5rem !important;
  }
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .product-card {
    width: 100% !important;
    min-width: 0 !important;
    padding: 1.25rem !important;
    font-size: 1rem !important;
  }
  .product-card h3 {
    font-size: 1.1rem !important;
  }
  .product-icon img {
    width: 60px !important;
    height: 60px !important;
  }
  .feature-item {
    padding: 1.25rem !important;
    font-size: 1rem !important;
  }
  .feature-item h3 {
    font-size: 1.1rem !important;
  }
  .cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }
  .cta-buttons .btn {
    width: 100% !important;
    font-size: 1.1rem !important;
    padding: 1rem !important;
  }
  /* General Mobile Touch Enhancements */
  button,
  .btn,
  .nav-link,
  .dropdown-toggle,
  .vendor-card,
  .product-card {
    min-height: 48px !important;
    font-size: 1.1rem !important;
  }
  .modal-content {
    padding: 1rem !important;
  }
  .modal-header,
  .modal-footer {
    padding: 1rem !important;
  }
  .modal-icon i {
    font-size: 2rem !important;
  }
  .modal-description {
    font-size: 1rem !important;
  }
}
.navbar {
  position: fixed !important;
  top: 0 !important;
  z-index: 9999 !important;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.nav-logo:hover {
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.nav-logo-img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
}

.nav-logo h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--brand-blue);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--brand-gray);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  border-radius: 0.375rem;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.nav-link:hover {
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

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

.nav-link.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--brand-gray);
  cursor: pointer;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.dropdown-toggle:hover,
.dropdown.active .dropdown-toggle {
  color: var(--brand-blue);
}

/* Keep active dropdown highlighted on vendor pages */
.dropdown.active .dropdown-toggle {
  background: rgba(37, 99, 235, 0.08);
  border-radius: 0.375rem;
  border-bottom: 2px solid var(--brand-blue);
}

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i,
.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: var(--white);
  /* Ensure menu never exceeds viewport width and avoids causing horizontal scroll */
  width: min(70vw, 750px);
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: start;
  overflow: visible;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-section {
  display: flex;
  flex-direction: column;
  min-height: 90px;
  padding: 0.6rem;
}

.dropdown-section h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;

  /* Reserve vertical space so single-word headings align with two-line headings */
  line-height: 1.2;
  min-height: 2.8rem; /* increased room for two lines */
  display: flex;
  align-items: flex-start; /* top-align single-line headings */
  padding-top: 0.3rem;
}

.dropdown-section a,
.dropdown-section span {
  color: var(--gray-600);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  display: block;
  transition: all 0.3s ease;
  border-radius: 0.375rem;
  margin: 0.2rem 0;
  position: relative;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dropdown-section a::before,
.dropdown-section span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--brand-blue),
    var(--brand-blue-light)
  );
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}

.dropdown-section a:hover,
.dropdown-section span:hover {
  color: var(--brand-blue);
  background-color: var(--blue-50);
  transform: translateX(6px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
}

.dropdown-section a:hover::before,
.dropdown-section span:hover::before {
  transform: scaleY(1);
}

/* Hero Section */

.hero {
  background:
    linear-gradient(
      to bottom right,
      rgba(30, 41, 59, 0.7),
      rgba(17, 24, 39, 0.7)
    ),
    url("attached_assets/server1.avif") center center/cover no-repeat;
  padding: 4rem 0 5rem;
  margin-top: 0;
  position: relative;
  min-height: 80vh;
  color: #fff;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.2) inset;
}

/* Hero Image */

/* .hero-image-container and .hero-image removed since hero image is no longer used */

/* Security Badge - REMOVED */

.security-widget iframe {
  border-radius: 0.5rem;
  max-width: 100%;
  height: auto;
  width: 570px;
  height: 460px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  gap: 2.5rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  z-index: 2;
  width: 100%;
  text-align: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.hero-text p {
  font-size: 1.25rem;
  max-width: 36rem;
  color: #e0e7ef;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 2;
}

.hero-visual {
  position: relative;
}

.hero-image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Security Badge */
.security-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--white);
  border-radius: 0 1rem 0 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  border-left: none;
  border-bottom: none;
}

.badge-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-icon {
  background-color: var(--blue-100);
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon i {
  color: var(--brand-blue);
  font-size: 1.25rem;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-900);
  margin: 0 0 0.25rem 0;
}

.badge-subtitle {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

[data-theme="dark"] .security-badge {
  background-color: var(--gray-100);
  border-color: var(--gray-300);
}

[data-theme="dark"] .badge-icon {
  background-color: var(--blue-100);
}

[data-theme="dark"] .badge-icon i {
  color: var(--brand-blue-light);
}

[data-theme="dark"] .badge-title {
  color: var(--gray-900);
}

[data-theme="dark"] .badge-subtitle {
  color: var(--gray-700);
}

/* Kaspersky Page Styling */
.vendor-hero .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.kaspersky-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  align-items: flex-start !important;
  text-align: left !important;
}

.kaspersky-cybermap {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 2px solid #00a651;
  background: linear-gradient(135deg, #00a651, #00c65a);
  padding: 4px;
}

.kaspersky-cybermap iframe {
  border-radius: 0.75rem;
  display: block;
}

/* Kaspersky Theme Colors */
.vendor-hero h1 .text-blue-light {
  color: #00a651 !important;
}

.vendor-hero .btn-primary {
  background: linear-gradient(135deg, #00a651, #00c65a);
  border-color: #00a651;
}

.vendor-hero .btn-primary:hover {
  background: linear-gradient(135deg, #008a44, #00a651);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 166, 81, 0.3);
}

.vendor-hero .btn-outline {
  color: #00a651;
  border-color: #00a651;
}

.vendor-hero .btn-outline:hover {
  background-color: #00a651;
  color: white;
}

/* Dark mode adjustments for Kaspersky page */
[data-theme="dark"] .vendor-hero h1 .text-blue-light {
  color: #00c65a !important;
}

[data-theme="dark"] .kaspersky-cybermap {
  border-color: #00c65a;
  background: linear-gradient(135deg, #00c65a, #00a651);
}

[data-theme="dark"] .vendor-hero .btn-outline {
  color: #00c65a;
  border-color: #00c65a;
}

/* Dark mode vendor button removed */

/* Kaspersky Specific Styling - Override Only for Vendor Pages */
.vendor-hero {
  /* Kaspersky green theme colors for vendor pages only */
  background: linear-gradient(135deg, #1a2233 0%, #232b3e 100%) !important;
  min-height: 100vh;
  width: 100%;
  /* Dark background for vendor hero, covers viewport height and 100% width */
}

.vendor-hero h1,
.vendor-hero h2,
.vendor-hero h3 {
  color: #00a651 !important;
}

.vendor-hero .text-blue-light {
  color: #00c65a !important;
}

.vendor-hero .btn-primary {
  background: linear-gradient(135deg, #00a651, #00c65a) !important;
  border-color: #00a651 !important;
}

.vendor-hero .btn-primary:hover {
  background: linear-gradient(135deg, #008a44, #00a651) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 166, 81, 0.3) !important;
}

.vendor-hero .btn-outline {
  color: #00a651 !important;
  border-color: #00a651 !important;
}

.vendor-hero .btn-outline:hover {
  background-color: #00a651 !important;
  color: white !important;
}

/* Kaspersky Product Icons */
.kaspersky-icon {
  width: 2.5rem !important;
  height: 2.5rem !important;
  object-fit: contain;
  filter: brightness(1.1);
}

.vendor-hero .service-icon {
  background-color: #f0fdf4;
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.vendor-hero .service-card:hover .service-icon {
  background-color: #00a651;
}

.vendor-hero .service-icon i {
  font-size: 1.5rem;
  color: #00a651;
  transition: all 0.3s ease;
}

.vendor-hero .service-card:hover .service-icon i {
  color: white;
}

/* Dark mode vendor service icons removed */

/* Theme toggle styling removed */

/* Stats Section Light Mode Fix */
.stats-section {
  background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
  padding: 4rem 0;
}

.stats-section .stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stats-section .stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.stats-section .stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00a651;
  margin-bottom: 0.5rem;
}

.stats-section .stat-item p {
  color: var(--gray-600);
  font-weight: 500;
}

/* Dark mode stats section removed */

/* Feature Icons Fix for Why Choose Kaspersky Section - VENDOR PAGES ONLY */
.vendor-hero ~ .why-choose-us .feature-icon {
  background-color: #f0fdf4 !important;
  width: 4rem !important;
  height: 4rem !important;
  border-radius: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 1.5rem !important;
  transition: all 0.3s ease !important;
}

.vendor-hero ~ .why-choose-us .feature-card:hover .feature-icon {
  background-color: #00a651 !important;
}

.vendor-hero ~ .why-choose-us .feature-icon i {
  font-size: 1.5rem !important;
  color: #00a651 !important;
  transition: all 0.3s ease !important;
  display: block !important;
}

.vendor-hero ~ .why-choose-us .feature-card:hover .feature-icon i {
  color: white !important;
}

/* Dark mode vendor feature icons removed */

/* Vendor Page Specific Green Text Colors - VENDOR PAGES ONLY */
.vendor-hero .section-header h2,
.product-overview h2,
.product-overview h3,
.vendor-hero ~ .why-choose-us h2,
.vendor-hero ~ .why-choose-us h3,
.managed-services h2,
.managed-services h3 {
  color: #00a651 !important;
}

/* Dark mode vendor text colors removed */

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.service-icon {
  background-color: var(--blue-50);
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: var(--brand-blue);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--brand-blue);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--blue-800);
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
}

.feature-icon {
  background-color: var(--blue-50);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--brand-blue);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background-color: var(--brand-blue);
  transform: translateY(-2px);
}

.feature-card:hover .feature-icon i {
  color: var(--white);
}

/* Home Page Why Choose Us - Ensure Blue Colors */
.why-choose-us:not(.vendor-hero ~ .why-choose-us) .feature-icon {
  background-color: var(--blue-50) !important;
}

.why-choose-us:not(.vendor-hero ~ .why-choose-us) .feature-icon i {
  color: var(--brand-blue) !important;
}

.why-choose-us:not(.vendor-hero ~ .why-choose-us)
  .feature-card:hover
  .feature-icon {
  background-color: var(--brand-blue) !important;
}

.why-choose-us:not(.vendor-hero ~ .why-choose-us)
  .feature-card:hover
  .feature-icon
  i {
  color: var(--white) !important;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray-600);
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  max-height: 400px;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--blue-50);
  border-radius: 0.75rem;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Contact Us Section */
.contact-us {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--brand-blue), var(--green-600));
  text-align: center;
}

/* Dark mode contact section removed */

.contact-us-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .contact-us-content h2 {
  color: var(--gray-200);
}

.contact-us-content > p {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

[data-theme="dark"] .contact-us-content > p {
  color: var(--gray-600);
}

.contact-us-form-container {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 32rem;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .contact-us-form-container {
  background-color: var(--gray-100);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-us-form-container h3 {
  color: var(--brand-blue);
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .contact-us-form-container h3 {
  color: var(--brand-blue-light);
}

/* Forms */
.contact-us-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-us-form input,
.contact-us-form select,
.contact-us-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background-color: var(--white);
  color: var(--gray-800);
}

[data-theme="dark"] .contact-us-form input,
[data-theme="dark"] .contact-us-form select,
[data-theme="dark"] .contact-us-form textarea {
  background-color: var(--gray-200);
  border-color: var(--gray-300);
  color: var(--gray-700);
}

.contact-us-form input:focus,
.contact-us-form select:focus,
.contact-us-form textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

[data-theme="dark"] .contact-us-form input:focus,
[data-theme="dark"] .contact-us-form select:focus,
[data-theme="dark"] .contact-us-form textarea:focus {
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.contact-us-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  background-color: var(--brand-blue);
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--white);
  font-size: 1rem;
}

.contact-details h3 {
  color: var(--brand-blue);
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.contact-details p {
  color: var(--gray-600);
  margin-bottom: 0;
}

.contact-note {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.map-container {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.map-container h3 {
  color: var(--brand-blue);
  margin-bottom: 1.5rem;
}

.map-wrapper {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/* Footer */
.footer {
  background-color: var(--brand-gray);
  color: var(--white);
  padding: 4rem 0 2rem;
}

[data-theme="dark"] .footer {
  background-color: #161b22;
  color: var(--gray-200);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

.footer-logo h3 {
  color: var(--white);
  margin: 0;
}

[data-theme="dark"] .footer-logo h3 {
  color: var(--gray-200);
}

.footer-section p {
  color: var(--gray-300);
  line-height: 1.6;
}

[data-theme="dark"] .footer-section p {
  color: var(--gray-600);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

[data-theme="dark"] .footer-section h4 {
  color: var(--gray-200);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

[data-theme="dark"] .footer-section ul li a {
  color: var(--gray-600);
}

[data-theme="dark"] .footer-section ul li a:hover {
  color: var(--brand-blue-light);
}

.footer-section ul li a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.social-links a {
  color: var(--gray-300);
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--white);
}

[data-theme="dark"] .social-links a {
  color: var(--gray-600);
}

[data-theme="dark"] .social-links a:hover {
  color: var(--brand-blue-light);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}
.footer-content {
  text-align: center !important;
  justify-items: center !important;
  align-items: center !important;
}
.footer-contact {
  align-items: center !important;
  text-align: center !important;
}
.social-links {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--gray-300);
}

.footer-contact i {
  width: 1rem;
  color: var(--brand-blue);
}

[data-theme="dark"] .footer-contact p {
  color: var(--gray-600);
}

[data-theme="dark"] .footer-contact i {
  color: var(--brand-blue-light);
}

.footer-bottom {
  border-top: 1px solid var(--gray-600);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-300);
  margin: 0;
}

[data-theme="dark"] .footer-bottom {
  border-top: 1px solid var(--gray-300);
}

[data-theme="dark"] .footer-bottom p {
  color: var(--gray-600);
}

/* Toast notification removed */

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-logo h1 {
    font-size: 1.25rem;
  }

  .nav-logo-img {
    height: 2rem;
  }

  .theme-toggle {
    order: -1;
    margin-bottom: 1rem;
  }

  .nav-menu {
    position: fixed !important;
    top: 4rem !important;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-top: 1px solid var(--gray-200);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 998;
  }

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

  .nav-link.active {
    background-color: var(--blue-50);
    border-radius: 0.5rem;
    border-bottom-color: transparent;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .security-widget iframe {
    width: 100%;
    max-width: 100%;
    height: 300px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-container {
    padding: 1.5rem;
  }

  .map-wrapper iframe {
    height: 300px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    min-width: auto;
    max-width: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    margin-top: 1rem;
    opacity: 1;
    visibility: visible;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    border-radius: 0.75rem;
  }

  .dropdown-section {
    background-color: var(--gray-50);
    padding: 1rem;
    border-radius: 0.5rem;
    min-height: auto;
  }

  .dropdown-section h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    border-bottom: none;
    padding-bottom: 0;
  }

  .dropdown-section a {
    font-size: 0.85rem;
    padding: 0.5rem;
    margin: 0.1rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1.125rem;
  }
}

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

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .consultation-content h2 {
    font-size: 2rem;
  }

  .security-badge {
    position: static;
    margin-top: 1rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn.loading::after {
  content: "...";
  animation: loading 1s infinite;
}

@keyframes loading {
  0%,
  33% {
    content: ".";
  }
  34%,
  66% {
    content: "..";
  }
  67%,
  100% {
    content: "...";
  }
}

/* Vendors Page Styles */
.vendors-header {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #e3e7ee 0%, #f9fafb 100%);
  color: #222;
  text-align: center;
}

[data-theme="dark"] .vendors-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.vendors-header-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #222;
}

.vendors-header-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  color: #222;
}

.vendors-grid-section {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

[data-theme="dark"] .vendors-grid-section {
  background-color: var(--gray-50);
}

.vendor-category {
  margin-bottom: 4rem;
}

.vendor-category h2 {
  font-size: 2rem;
  color: var(--brand-blue);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

[data-theme="dark"] .vendor-category h2 {
  color: var(--brand-blue-light);
}

.vendor-category h2 i {
  font-size: 1.5rem;
}

.vendors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Mobile Vendors Menu Section */
.mobile-vendors-menu {
  display: none;
  padding: 2rem 0;
  background-color: var(--white);
}

[data-theme="dark"] .mobile-vendors-menu {
  background-color: var(--gray-100);
}

.vendors-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vendor-category h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vendor-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vendor-links span {
  color: var(--gray-600);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  display: block;
  transition: all 0.3s ease;
  border-radius: 0.375rem;
  margin: 0.2rem 0;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background-color: var(--gray-50);
}

[data-theme="dark"] .vendor-links span {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--gray-300);
}

.vendor-links span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--brand-blue),
    var(--brand-blue-light)
  );
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}

.vendor-links span:hover {
  color: var(--brand-blue);
  background-color: var(--blue-50);
  transform: translateX(6px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
}

[data-theme="dark"] .vendor-links span:hover {
  background-color: rgba(37, 99, 235, 0.1);
}

.vendor-links span:hover::before {
  transform: scaleY(1);
}

.vendor-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

[data-theme="dark"] .vendor-card {
  background-color: var(--gray-100);
  border-color: var(--gray-300);
}

.vendor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .vendor-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.vendor-logo {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--brand-blue), var(--blue-600));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.vendor-logo i {
  font-size: 1.5rem;
  color: var(--white);
}

.vendor-logo-img {
  height: 4rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.vendor-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .vendor-card h3 {
  color: var(--gray-800);
}

.vendor-card p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .vendor-card p {
  color: var(--gray-600);
}

.vendor-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  background-color: var(--blue-50);
  color: var(--brand-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

[data-theme="dark"] .service-tag {
  background-color: var(--blue-50);
  color: var(--brand-blue-light);
}

.vendors-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f9fafb 0%, #e3e7ee 100%);
  color: #222;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .vendors-cta {
  background: linear-gradient(135deg, #f9fafb 0%, #e3e7ee 100%);
  color: #222;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.cta-content p {
  /* Center CTA content and buttons on vendors page */
  .cta-content {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    display: flex;
    flex-direction: column;
  }
  .cta-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }
  width: 90% !important;
  height: 90% !important;
  border-radius: 0.5rem !important;
  object-fit: cover !important;
  display: block !important;
  background: #fff !important;
  margin: 5% auto !important;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .mobile-vendors-menu {
    display: block;
  }

  .vendors-grid-section {
    display: none;
  }

  .vendors-header-content h1 {
    font-size: 2.5rem;
  }

  .vendors-grid {
    grid-template-columns: 1fr;
  }

  .vendor-category h2 {
    font-size: 1.75rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Service Modal Styles - Simplified */
.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 99999;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none;
}

.service-modal.active {
  display: flex !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
}

[data-theme="dark"] .modal-overlay {
  background-color: rgba(0, 0, 0, 0.8) !important;
}

.modal-content {
  position: fixed !important;
  top: 50vh !important;
  left: 50vw !important;
  transform: translate(-50%, -50%) !important;
  background-color: var(--white);
  border-radius: 1rem;
  max-width: 600px;
  width: 90%;
  max-height: calc(80vh + 40px);
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 100001;
  padding: 20px;
  margin: 0 !important;
}

/* Dark mode modal content - removed to prevent conflicts with JS positioning */

.service-modal.active .modal-content {
  z-index: 100001 !important;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--gray-200);
}

[data-theme="dark"] .modal-header {
  border-bottom-color: #374151;
}

.modal-header h3 {
  color: var(--brand-blue);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

[data-theme="dark"] .modal-header h3 {
  color: var(--brand-blue-light);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--gray-700);
  background-color: var(--gray-100);
}

[data-theme="dark"] .modal-close {
  color: #9ca3af;
}

[data-theme="dark"] .modal-close:hover {
  color: #d1d5db;
  background-color: #374151;
}

.modal-body {
  padding: 2rem;
}

.modal-icon {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-icon i {
  font-size: 4rem;
  color: var(--brand-blue);
}

[data-theme="dark"] .modal-icon i {
  color: var(--brand-blue-light);
}

.modal-description {
  line-height: 1.7;
  color: var(--gray-700);
  font-size: 1.1rem;
}

[data-theme="dark"] .modal-description {
  color: #d1d5db;
}

.modal-footer {
  padding: 1rem 2rem 2rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Modal responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 1rem;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1.5rem;
  }

  .modal-footer {
    flex-direction: column;
    padding-top: 1rem;
  }

  .modal-icon i {
    font-size: 3rem;
  }

  .modal-description {
    font-size: 1rem;
  }
}

/* Kaspersky Product Page Styles */
.kaspersky-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 150px 0 100px;
  text-align: center;
}

.kaspersky-hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.kaspersky-logo {
  margin-bottom: 2rem;
}

.vendor-logo {
  height: 80px;
  width: auto;
  background: white;
  padding: 10px;
  border-radius: 10px;
}

.product-overview {
  padding: 80px 0;
  background: var(--bg-color);
}

.section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-icon {
  margin-bottom: 1.5rem;
}

.product-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.features-section {
  padding: 80px 0;
  background: var(--section-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.feature-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.managed-services {
  padding: 80px 0;
  background: var(--bg-color);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.service-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.service-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stats-section {
  padding: 60px 0;
  background: var(--primary-color);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Page-specific: center "Why Choose Us" and use checkmark bullets for services pages */
.page-why {
  text-align: center;
  padding: 2rem 0;
}
.page-why h2 {
  margin-bottom: 1rem;
}
.page-why ul {
  list-style: none;
  margin: 0.5rem auto 0;
  padding: 0;
  display: inline-block;
  text-align: left;
  max-width: 560px;
}
.page-why ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}
.page-why ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-blue);
  font-weight: 700;
  line-height: 1;
}

/* Dark mode for Kaspersky page */
[data-theme="dark"] .kaspersky-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

[data-theme="dark"] .product-card {
  background: var(--card-bg-dark);
  color: var(--text-dark);
  border-color: var(--border-dark);
}

[data-theme="dark"] .feature-item {
  background: var(--card-bg-dark);
  color: var(--text-dark);
  border-color: var(--border-dark);
}

[data-theme="dark"] .vendor-logo {
  background: white;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

.back-to-top:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Mobile responsiveness for Kaspersky page */
@media (max-width: 768px) {
  .kaspersky-hero {
    padding: 120px 0 60px;
  }

  .kaspersky-hero h1 {
    font-size: 2rem;
  }

  .service-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .stats-section .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item h3 {
    font-size: 2rem;
  }
}
