/* ==========================================================================
   CSS Custom Properties (CSS Variables)
   ========================================================================== */

:root {
  /* Color Palette - White Theme */
  --color-primary-white: #FFFFFF;
  --color-off-white: #FAFAFA;
  --color-light-gray: #F5F5F5;
  --color-medium-gray: #666666;
  --color-dark-gray: #333333;
  --color-accent-blue: #007BFF;
  --color-accent-blue-hover: #0056B3;
  --color-success-green: #28A745;
  --color-error-red: #DC3545;
  --color-border-light: #E9ECEF;
  --color-hover-bg: #F8F9FA;

  /* Typography System */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --font-family-heading: var(--font-family-primary);

  /* Font Sizes */
  --font-size-h1: 2rem;
  /* 32px - reduced from 40px */
  --font-size-h2: 1.5rem;
  /* 24px - reduced from 32px */
  --font-size-h3: 1.25rem;
  /* 20px - reduced from 24px */
  --font-size-body: 0.875rem;
  /* 14px - reduced from 16px */
  --font-size-small: 0.75rem;
  /* 12px - reduced from 14px */
  --font-size-body-lg: 1rem;
  /* 16px - reduced from 18px */

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;

  /* Spacing System */
  --spacing-xs: 0.5rem;
  /* 3px - reduced from 4px */
  --spacing-sm: 0.6rem;
  /* 6px - reduced from 8px */
  --spacing-md: 1rem;
  /* 12px - reduced from 16px */
  --spacing-lg: 1.25rem;
  /* 20px - reduced from 24px */
  --spacing-xl: 1.5rem;
  /* 24px - reduced from 32px */
  --spacing-2xl: 2.25rem;
  /* 36px - reduced from 48px */
  --spacing-3xl: 3rem;
  /* 48px - reduced from 64px */
  --spacing-4xl: 3.75rem;
  /* 60px - reduced from 80px */

  /* Container and Layout */
  --container-max-width: 1200px;
  /* widen to prevent text wrapping over boxes */
  --section-padding-vertical: var(--spacing-3xl);
  /* Reduced from 4xl */
  --section-padding-horizontal: var(--spacing-md);
  --grid-gap: 2rem;
  /* 24px - reduced from 30px */

  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;

  /* Box Shadows */
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.2);
  --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.6s ease-in-out;

  /* Z-index Scale */
  --z-dropdown: 100;
  --z-header: 200;
  --z-modal: 300;
  --z-tooltip: 400;
}

/* ==========================================================================
   CSS Reset and Base Styles
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Browser compatibility fixes */
@supports not (backdrop-filter: blur(10px)) {
  .header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
  }
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-dark-gray);
  background-color: var(--color-primary-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ==========================================================================
   Typography System
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

p {
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-relaxed);
}

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

a:hover,
a:focus {
  /* color: var(--color-accent-blue-hover); */
  text-decoration: underline;
}

a:focus {
  /* outline: 2px solid var(--color-accent-blue); */
  outline-offset: 2px;
}

/* ==========================================================================
   Container and Grid System
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-horizontal);
}

/* Responsive Grid System */
.grid {
  display: grid;
  gap: var(--grid-gap);
}

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

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

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

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

/* Responsive grid adjustments */
@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {

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

/* Flexbox utilities */
.flex {
  display: flex;
}

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

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

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

.flex-wrap {
  flex-wrap: wrap;
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */

section {
  padding: var(--section-padding-vertical) 0;
}

.section-title {
  text-align: center;
  /* margin-bottom: var(--spacing-3xl); */
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
}

/* Alternating section backgrounds */
section:nth-child(even) {
  background-color: var(--color-off-white);
}

/* ==========================================================================
   Button System
   ========================================================================== */

.btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-accent-blue);
  color: var(--color-primary-white);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-accent-blue-hover);
  color: var(--color-primary-white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background-color: var(--color-primary-white);
  color: var(--color-accent-blue);
  border: 2px solid var(--color-accent-blue);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-accent-blue);
  color: var(--color-primary-white);
  text-decoration: none;
}

/* ==========================================================================
   Card System
   ========================================================================== */

.card {
  background-color: var(--color-primary-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-subtle);
  padding: var(--spacing-xl);
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   Accessibility and Screen Reader Support
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-dark-gray);
  color: var(--color-primary-white);
  padding: var(--spacing-sm) var(--spacing-md);
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  z-index: var(--z-tooltip);
  transition: top var(--transition-fast);
}

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

/* ==========================================================================
   Responsive Design Breakpoints
   ========================================================================== */

/* Mobile First Approach */
/* Base styles are for mobile (320px+) */

/* Small tablets and large phones (576px and up) */
@media (min-width: 576px) {
  :root {
    --section-padding-horizontal: var(--spacing-lg);
  }
}

/* Tablets (768px and up) */
@media (min-width: 768px) {
  :root {
    --section-padding-horizontal: var(--spacing-lg);
    --font-size-h1: 2.5rem;
    /* 40px - reduced from 48px */
    --font-size-h2: 2rem;
    /* 32px - reduced from 36px */
  }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
  :root {
    --section-padding-horizontal: var(--spacing-2xl);
  }
}

/* Large desktop (1200px and up) */
@media (min-width: 1200px) {
  :root {
    --font-size-h1: 3rem;
    /* 48px - reduced from 56px */
    --font-size-h2: 2.25rem;
    /* 36px - reduced from 40px */
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {

  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* ==========================================================================
   Header and Navigation Styles
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: saturate(180%) blur(20px);
  /* transparent at top */
  box-shadow: none;
  /* no shadow at top */
  z-index: var(--z-header);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), backdrop-filter var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  /* solid/blurred when scrolled */
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: var(--shadow-medium);
}

.logo-image {
  height: 80px;
  width: 300px;
  object-fit: contain;
  margin-top: 10px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--section-padding-horizontal);
  /* Reduced from md */
  max-width: var(--container-max-width);
  margin: 0 auto;
  position: relative;
}

.logo {
  position: absolute;
  left: var(--section-padding-horizontal);
}

.logo h1 {
  font-size: var(--font-size-body);
  /* Reduced from h3 */
  font-weight: var(--font-weight-bold);
  color: #ffffff;
  margin: 0;
  transition: color var(--transition-normal);
}

.header.scrolled .logo h1 {
  color: var(--color-dark-gray);
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.logo a:hover,
.logo a:focus {
  color: var(--color-accent-blue);
  text-decoration: none;
}

.logo a:hover h1,
.logo a:focus h1 {
  color: var(--color-accent-blue) !important;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  /* Reduced from xl to lg for better fit */
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: var(--spacing-sm) 0;
  /* Reduced from md */
  font-weight: var(--font-weight-medium);
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
}

.header.scrolled .nav-link {
  color: var(--color-dark-gray);
}

.header.scrolled .nav-link:hover{
  color: var(--color-accent-blue);
}

.nav-link:hover,
.nav-link:focus,
.nav-link[aria-current="page"] {
  color: var(--color-accent-blue);
}

.dropdown-arrow {
  margin-left: var(--spacing-xs);
  font-size: var(--font-size-small);
  transition: transform var(--transition-normal);
  display: inline-block;
}

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

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: var(--color-primary-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-medium);
  padding: var(--spacing-sm) 0;
  /* Reduced from md */
  min-width: 220px;
  /* Reduced from 260px */
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: var(--z-dropdown);
  list-style: none;
  margin: 0;
  border: 1px solid var(--color-border-light);
  margin-top: 4px;
}

/* Mega dropdown (grid, up to 6 items in 2 rows) */
.dropdown.mega {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  grid-auto-rows: auto;
  gap: 12px 16px;
  padding: 12px 12px;
  min-width: 780px;
}

/* grid naturally wraps to create 2 rows when there are 4–6 items */

/* Responsive adjustments */
@media (max-width: 1000px) {
  .dropdown.mega {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    min-width: 480px;
  }
}

@media (max-width: 700px) {
  .dropdown.mega {
    grid-template-columns: 1fr;
    min-width: 260px;
  }
}

.dropdown-container:hover .dropdown,
.dropdown-container:focus-within .dropdown,
.dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(8px);
  animation: dropdownFadeIn var(--transition-fast) ease-out;
}

.dropdown-container:hover .dropdown-arrow,
.dropdown-container:focus-within .dropdown-arrow,
.dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  /* more generous touch target */
  color: var(--color-dark-gray);
  text-decoration: none;
  transition: all var(--transition-fast);
  gap: var(--spacing-sm);
  /* Reduced from md */
  position: relative;
  border-radius: var(--border-radius-sm);
  margin: 0 8px;
  /* slightly wider */
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--color-hover-bg);
  color: var(--color-dark-gray);
  text-decoration: none;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-item span {
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
}

.dropdown-item:hover span,
.dropdown-item:focus span {
  color: var(--color-accent-blue);
}

.dropdown-image {
  width: 36px;
  /* larger icon */
  height: 36px;
  /* larger icon */
  border-radius: var(--border-radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-white);
  font-size: var(--font-size-small);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform var(--transition-fast);
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.dropdown-item:hover .dropdown-image,
.dropdown-item:focus .dropdown-image {
  transform: scale(1.1);
}
.dropdown-item:hover span{
  transform: scale(1.1);
  margin-left: 5px;
}

.dropdown-image.product-1 {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background-image: url('../images/auditplus\(1\).png');
  background-blend-mode: overlay;
}

.dropdown-image.product-2 {
  /* background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); */
  background-image: url('../images/mbrs.ai\(1\).png');
  background-blend-mode: overlay;
  width: 100px;
}

.dropdown-image.product-3 {
  /* background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); */
  background-image: url('../images/docuplus.ai.png');
  background-blend-mode: overlay;

}

.dropdown-image.product-4 {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background-image: url('../images/secpluslogo.png');
  background-blend-mode: overlay;
}




/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
  flex-direction: column;
  gap: 4px;
  z-index: calc(var(--z-header) + 1);
}

.mobile-menu-toggle:focus {
  /* outline: 2px solid var(--color-accent-blue); */
  outline-offset: 2px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-dark-gray);
  transition: all var(--transition-normal);
  transform-origin: center;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-primary-white);
  box-shadow: var(--shadow-medium);
  padding: var(--spacing-lg);
  z-index: var(--z-header);
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
}

.mobile-menu.show {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mobile accordion submenu (inside mobile-menu) */
.mobile-accordion-container {
  margin-top: 6px;
}

.mobile-accordion {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 12px 0;
  font: inherit;
  color: var(--color-dark-gray);
}

.mobile-nav-link {
  display: block;
  padding: var(--spacing-md) 0;
  color: var(--color-dark-gray);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  /* color: var(--color-accent-blue); */
  /* padding-left: var(--spacing-sm); */
  color: #1f8bff;
  text-decoration: none;
}


/* ==========================================================================
   Hero Section Styles
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-white);
  padding-top: 0;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(44, 44, 44, 0.6), rgba(48, 48, 48, 0.6)), url('../images/background5.webp');
  /* background-position: center; */
  background-repeat: no-repeat;
  background-size: 1000px;
  background-position-x: right;
  background-size: cover;

}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}


/* Floating Shapes */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Canvas overlay for tech line network */
.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  color: white;
}

.floating-shapes .element {
  position: absolute;
  background: rgba(0, 123, 255, 0.1);
  border: 2px solid rgba(0, 123, 255, 0.2);
  border-radius: 4px;
  animation: floatUp 8s linear infinite;
  /* Keep hidden during any animation delay; keyframes control visibility */
  opacity: 0;
  animation-fill-mode: both;
  /* apply 0% styles during delay and retain at end */
  will-change: transform, opacity;
}

.floating-shapes .element:nth-child(1) {
  width: 20px;
  height: 20px;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
  border: 2px solid pink;
  background-color: pink;
}

.floating-shapes .element:nth-child(2) {
  width: 15px;
  height: 15px;
  left: 20%;
  animation-delay: 2s;
  animation-duration: 10s;
  border: 2px solid purple;
  background-color: purple;
}

.floating-shapes .element:nth-child(3) {
  width: 25px;
  height: 25px;
  left: 70%;
  animation-delay: 4s;
  animation-duration: 14s;
  border: 2px solid orange;
  background-color: orange;
}

.floating-shapes .element:nth-child(4) {
  width: 18px;
  height: 18px;
  left: 85%;
  animation-delay: 6s;
  animation-duration: 11s;
  border: 2px solid yellow;
  background-color: yellow;
}

.floating-shapes .element:nth-child(5) {
  width: 22px;
  height: 22px;
  left: 50%;
  animation-delay: 8s;
  animation-duration: 13s;
  border: 2px solid blue;
  background-color: blue;
}

.floating-shapes .element:nth-child(6) {
  width: 16px;
  height: 16px;
  left: 75%;
  animation-delay: 9s;
  animation-duration: 13s;
  border: 2px solid green;
  background-color: green;
}

.floating-shapes .element:nth-child(7) {
  width: 21px;
  height: 21px;
  left: 35%;
  animation-delay: 10s;
  animation-duration: 13s;
  border: 2px solid red;
  background-color: red;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
    /* start hidden */
  }

  10% {
    opacity: 0.6;
    /* fade in after motion has begun */
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
    /* fade out at end */
  }
}

.hero-container {
  text-align: center;
  max-width: 800px;
  width: 100%;
  padding: 0 var(--section-padding-horizontal);
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

/* Left-side hero illustration */
.hero-logo {
  position: absolute;
  z-index: 0;
  top: -60%;
  pointer-events: none;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
  width: 50%;
  left: -350px;
  height: auto;
  /* transform: scaleX(-1); */

}

/* Ensure text sits above the illustration */
.hero-title,
.hero-subtitle,
.cta-button {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-logo {
    left: 50%;
    transform: translate(-50%, -35%);
    width: 60vw;
    opacity: 0.25;
  }
}

.hero-title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-md);
  /* Reduced from lg */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.3s forwards;
  position: relative;
}

/* Animated RGB gradient text effect */
.rgb-gradient-text {
  /* smooth flowing multicolor gradient */
  background-image: linear-gradient(320deg,
      #ff7a00 16%,
      #ffee00 33%,
      #1aff00 50%,
      #00e5ff 66%,
      #7a00ff 83%,
      #ff0000 100%);
  background-size: 400% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  /* Safari */
  display: inline-block;
  will-change: background-position, transform, opacity;
  animation: rgbSlide 10s linear infinite, floatY 3s ease-in-out 1.3s infinite;
}

@keyframes rgbSlide {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 200% 50%;
  }

  100% {
    background-position: 400% 50%;
  }
}

/* Subtle up-and-down motion */
@keyframes floatY {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-blue-hover));
  border-radius: 2px;
  animation: expandLine 1s ease-out 1.3s forwards;
}

.hero-subtitle {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-normal);
  /* color: var(--color-medium-gray); */
  color: #ffffff;
  margin-bottom: var(--spacing-xl);
  /* Reduced from 2xl */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.6s forwards;
  line-height: var(--line-height-relaxed);

}

.cta-button {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  /* Reduced from lg 2xl */
  background-color: var(--color-accent-blue);
  color: var(--color-primary-white);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.9s forwards;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.cta-button::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.6s ease;
}

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

.cta-button:hover,
.cta-button:focus {
  background-color: var(--color-accent-blue-hover);
  color: var(--color-primary-white);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.cta-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.cta-button:focus {
  outline: 3px solid rgba(0, 123, 255, 0.3);
  outline-offset: 3px;
}

.cta-button:focus:not(:focus-visible) {
  outline: none;
}

/* Hero section scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 1s ease-out 2s forwards;
  transform: rotate(-45deg);
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-accent-blue);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.scroll-arrow:hover {
  border-color: var(--color-accent-blue-hover);
  transform: rotate(-45deg) scale(1.1);
}

.hero-scroll-indicator:focus {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 4px;
  border-radius: var(--border-radius-sm);
}

.hero-scroll-indicator:focus:not(:focus-visible) {
  outline: none;
}

.hero-scroll-indicator:focus .scroll-arrow {
  border-color: var(--color-accent-blue-hover);
  transform: rotate(-45deg) scale(1.1);
}

/* ==========================================================================
   Products Section Styles
   ========================================================================== */

#products {
  background-image: url('../images/ourservices3.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

/* .product-detail{
  margin-bottom: -20px;
} */

.products-section {
  background-color: var(--color-off-white);
  padding: 80px 0;
  position: relative;
}

.products-subtitle {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  color: var(--color-medium-gray);
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

/* Product Cards Row */
.products-cards-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease-out 0.3s forwards;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  width: 200px;
  height: 200px;
  background-color: var(--color-primary-white);
  border: 2px solid transparent;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: cardFadeIn 0.6s ease-out forwards;
}

.product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card:nth-child(3) {
  animation-delay: 0.3s;
}

.product-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.product-card:hover::before {
  left: 100%;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--color-accent-blue);
}

.product-card:hover .product-icon {
  transform: scale(1.15) rotate(8deg);
  filter: brightness(1.1);
}

.product-icon.mbrs {
  /* Removed margin-top to align with other product icons */
}

.product-card:hover .product-title {
  color: var(--color-accent-blue);
  transform: translateY(-2px);
}

.product-card:hover .product-description {
  transform: translateY(-1px);
}

.product-icon {
  width: 50px;
  height: 50px;
  margin-bottom: var(--spacing-sm);
  border-radius: var(--border-radius-lg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-icon.auditplus {
  background-image: url('../images/auditplus\(1\).png');
}

.product-icon.mbrs {
  background-image: url('../images/mbrs.ai\(1\).png');
  width: 100px;
}

.product-icon.docuplus {
  background-image: url('../images/docuplus.ai.png');
}

.product-icon.secplus {
  background-image: url('../images/secpluslogo.png');
}

.product-title {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-xs);
  transition: all 0.3s ease;
}

.product-description {
  color: var(--color-medium-gray);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-relaxed);
  transition: all 0.3s ease;
}


@keyframes contentFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  opacity: 0;
  transform: translateY(10px);
  animation: contentFadeIn 0.3s ease-out 0.15s forwards;
}

.feature-tag {
  background-color: var(--color-light-gray);
  color: var(--color-medium-gray);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(5px);
  animation: tagFadeIn 0.2s ease-out forwards;
}

.feature-tag:nth-child(1) {
  animation-delay: 0.2s;
}

.feature-tag:nth-child(2) {
  animation-delay: 0.25s;
}

.feature-tag:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes tagFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-tag:hover {
  background-color: var(--color-accent-blue);
  color: var(--color-primary-white);
  transform: translateY(-2px);
}

.product-cta {
  background-color: transparent;
  color: var(--color-accent-blue);
  border: 2px solid var(--color-accent-blue);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius-md);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-body);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  animation: contentFadeIn 0.3s ease-out 0.35s forwards;
}

.product-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent-blue);
  transition: left 0.4s ease;
  z-index: -1;
}

.product-cta:hover::before {
  left: 0;
}

.product-cta:hover {
  color: var(--color-primary-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .products-cards-row {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .product-card {
    width: 175px;
    height: 200px;
    padding: var(--spacing-md);
  }

  .product-icon {
    width: 40px;
    height: 40px;
  }

  .product-title {
    font-size: var(--font-size-small);
  }

  .product-description {
    font-size: var(--font-size-xs);
  }

}

/* ==========================================================================
   Careers Section Styles
   ========================================================================== */

/* ... existing code ... */

/* Careers Section - Enhanced with job details */
.careers-section {
  background: linear-gradient(180deg, #f7f8ff 0%, #e9f0f9 100%);
  padding: var(--spacing-4xl) 0;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.job-row {
  background-color: #fff;
  border-radius: 12px;
  padding: var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.job-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
  border-color: var(--color-accent-blue);
  border: 2px solid var(--color-accent-blue);
}

.job-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-md);
  flex: 1;
}

.job-image-container {
  position: relative;
  width: 200px;
  height: 150px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--color-light-gray);
  border-radius: 8px;
}

.job-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.job-row:hover .job-image {
  transform: scale(1.05);
}

.job-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.job-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-sm);
  transition: color var(--transition-fast);
}

.job-row:hover .job-title {
  color: var(--color-accent-blue);
}

.job-description {
  color: var(--color-medium-gray);
  font-size: var(--font-size-small);
  line-height: 1.5;
  margin-bottom: var(--spacing-md);
  margin-top: var(--spacing-md);
  width: 700px;
}

.job-requirements {
  margin-bottom: var(--spacing-lg);
}

.job-requirement-title {
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-size-small);
}

.job-requirement-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-requirement-list li {
  color: var(--color-medium-gray);
  font-size: var(--font-size-small);
  line-height: 1.4;
  margin-bottom: 4px;
  position: relative;
  padding-left: var(--spacing-md);
}

.job-requirement-list li::before {
  content: '•';
  color: black;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.careers-cta {
  margin-top: var(--spacing-4xl);
  padding: var(--spacing-2xl);
  border-radius: 16px;
  text-align: center;
  margin-bottom: var(--spacing-4xl);
  background-color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.careers-cta-title {
  margin: 0 0 var(--spacing-sm);
  font-size: 1.6rem;
}

.careers-cta-text {
  margin: 0 0 var(--spacing-lg);
  opacity: .95;
}

.resume-cta-button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  color: #000;
  border: 1px solid rgba(0, 0, 0, .6);
  text-decoration: none;
  transition: transform .15s ease, background .2s ease;
  margin-top: var(--spacing-2xl);
}

.resume-cta-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: #067eff;
  border: 1px solid #067eff;
}

/* Careers hero and CTA */
.careers-hero {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  padding: var(--spacing-2xl);
  margin-bottom: var(--spacing-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
}

.careers-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.careers-hero-title {
  font-size: 1.5rem;
  margin: 0 0 var(--spacing-sm);
  text-align: center;
}

.careers-hero-subtitle {
  color: var(--color-medium-gray);
  margin-bottom: var(--spacing-xl);
  text-align: center;
  font-size: 0.9rem;
}

.careers-stats {
  display: flex;
  gap: var(--spacing-xl);
  color: var(--color-medium-gray);
  font-weight: 600;
  font-size: 0.85rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--spacing-xl);
}

.benefit-card {
  background: #fafafe;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: var(--spacing-lg);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto var(--spacing-sm);
  color: transparent;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #6b6f76;
  stroke-width: 1.8;
}

.benefit-title {
  margin: 0 0 var(--spacing-xs);
  font-weight: 700;
  font-size: 0.9rem;
}

.benefit-text {
  margin: 0;
  color: var(--color-medium-gray);
  font-size: 0.8rem;
}




/* .job-image-fallback.internship {
  background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.job-image-fallback.junior-programmer {
  background-image: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.job-image-fallback.senior-programmer {
  background-image: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.job-image-fallback.accounting {
  background-image: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
} */

.job-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
}

.job-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-dark-gray);
  margin: 0;
}

.job-requirements,
.job-benefits {
  margin-top: var(--spacing-sm);
}

.requirements-title,
.benefits-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.requirements-list,
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.requirements-list li,
.benefits-list li {
  color: var(--color-medium-gray);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  padding-left: var(--spacing-md);
  position: relative;
}

.requirements-list li::before {
  content: '•';
  color: var(--color-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.benefits-list li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.apply-button {
  background-color: var(--color-accent-blue);
  color: var(--color-primary-white);
  text-decoration: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--border-radius-md);
  font-weight: var(--font-weight-semibold);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: fit-content;
  border: 2px solid transparent;
  align-self: flex-end;
  margin-top: auto;
}

.job-details .apply-button {
  width: 100%;
  margin-top: var(--spacing-md);
}

.apply-button:hover {
  background-color: var(--color-accent-blue-hover);
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  /* color: var(--color-primary-white); */
}

.apply-button:focus {
  outline: 3px solid rgba(0, 123, 255, 0.3);
  outline-offset: 2px;
}

.apply-button:active {
  transform: translateY(0);
}

/* Responsive Design for Careers Section */
@media (max-width: 1024px) {
  .jobs-list {
    grid-template-columns: 1fr;
  }

  .job-content {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: stretch;
  }

  .job-image-container {
    width: 100%;
    height: 180px;
    align-self: stretch;
  }
}



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

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

  .careers-hero-title,
  .careers-hero-subtitle {
    text-align: center;
  }

  .careers-stats {
    justify-content: center;
  }
}

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


@media (max-width: 768px) {
  .careers-section {
    padding: var(--spacing-3xl) 0;
  }

  .job-row {
    flex-direction: column;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
  }

  .job-content {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: stretch;
  }

  .job-image-container {
    width: 80px;
    height: 80px;
  }

  .job-title {
    font-size: var(--font-size-lg);
  }

  .job-description {
    font-size: var(--font-size-sm);
  }

  .requirements-list li,
  .benefits-list li {
    font-size: var(--font-size-xs);
  }

  .apply-button {
    align-self: stretch;
    padding: var(--spacing-sm) var(--spacing-lg);
    margin-top: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .job-row {
    padding: var(--spacing-lg);
  }

  .job-image-container {
    width: 60px;
    height: 60px;
  }

  .job-title {
    font-size: var(--font-size-md);
  }

  .requirements-title,
  .benefits-title {
    font-size: var(--font-size-xs);
  }
}


/* ==========================================================================
   About Section Styles
   ========================================================================== */

.about-section {
  padding: var(--section-padding-vertical) 0;
  background: var(--color-primary-white);
  position: relative;
  border-bottom: 4px solid var(--color-primary);
  box-shadow: 0 8px 32px rgba(0, 123, 255, 0.15);
  background-color: #f5f5f5;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  text-align: center;
}

.about-description {
  font-size: var(--font-size-body);
  line-height: var(--line-height-relaxed);
  color: var(--color-medium-gray);
  margin: 0;
}

.about-image-container {
  position: relative;
  width: 100%;
  /* height: 300px; */
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--color-light-gray);
  /* box-shadow: var(--shadow-medium); */
  background-color: #fafafa;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

/* .about-image:hover {
  transform: scale(1.05);
} */

/* .about-image-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-light-gray) 0%, var(--color-off-white) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-fallback::before {
  content: "About Suiteplus.ai";
  font-size: var(--font-size-h3);
  color: var(--color-medium-gray);
  font-weight: var(--font-weight-medium);
} */

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .about-text {
    order: 1;
  }

  .about-image-container {
    order: 2;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: var(--spacing-2xl) 0;
  }

  .about-content {
    gap: var(--spacing-lg);
  }

  .about-image-container {
    height: 200px;
  }

  .about-description {
    font-size: var(--font-size-small);
  }
}


/* ==========================================================================
   Footer Styles
   ========================================================================== */

.footer {
  background-color: var(--color-dark-gray);
  color: var(--color-primary-white);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-horizontal);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
}

.footer-section {
  margin-bottom: var(--spacing-lg);
}

.footer-title {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-white);
  margin-bottom: var(--spacing-lg);
}

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

.footer-nav li {
  margin-bottom: var(--spacing-sm);
}

.footer-nav a {
  color: var(--color-primary-white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-accent-blue);
}

.contact-info {
  font-style: normal;
}

.contact-info p {
  margin-bottom: var(--spacing-sm);
}

.contact-info a {
  color: var(--color-primary-white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-info a:hover,
.contact-info a:focus {
  color: var(--color-accent-blue);
}

.social-media {
  display: flex;
  gap: var(--spacing-md);
  /* margin-top: var(--spacing-lg); */
}

.social-link {
  display: inline-block;
  width: 35px;
  height: 35px;
  background-color: var(--color-medium-gray);
  border-radius: 50%;
  transition: background-color var(--transition-fast);
}

.social-link:hover,
.social-link:focus {
  background-color: var(--color-accent-blue);
}

.footer-bottom {
  border-top: 1px solid var(--color-medium-gray);
  /* margin-top: var(--spacing-2xl); */
  padding-top: var(--spacing-lg);
  text-align: center;
}

.copyright {
  color: var(--color-medium-gray);
  font-size: var(--font-size-small);
  margin: 0;
}

/* ==========================================================================
   Animation Keyframes
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes expandLine {
  from {
    width: 0;
  }

  to {
    width: 80px;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: rotate(-45deg) translateY(0);
  }

  40% {
    transform: rotate(-45deg) translateY(-10px);
  }

  60% {
    transform: rotate(-45deg) translateY(-5px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes cardSelected {
  0% {
    transform: translateY(-12px) scale(1.02);
  }

  50% {
    transform: translateY(-15px) scale(1.05);
  }

  100% {
    transform: translateY(-12px) scale(1.02);
  }
}

/* ==========================================================================
   Mobile Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {

  /* Navigation adjustments */
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .logo {
    position: static;
  }

  .nav-container {
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
  }

  /* Ensure navigation stays in one line on larger screens */
  @media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
      gap: var(--spacing-md);
    }

    .nav-link {
      font-size: var(--font-size-small);
      padding: var(--spacing-xs) 0;
    }
  }

  /* Additional breakpoint for medium screens */
  @media (min-width: 1025px) and (max-width: 1200px) {
    .nav-menu {
      gap: var(--spacing-md);
    }
  }

  .logo h1 {
    font-size: var(--font-size-body);
  }

  /* Dropdown container hidden on mobile */
  .dropdown-container {
    display: none;
  }

  /* Ensure dropdown is hidden on mobile */
  .dropdown {
    display: none !important;
  }

  /* Hero section adjustments */
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: var(--font-size-body);
  }

  .hero-scroll-indicator {
    bottom: var(--spacing-lg);
  }

  .scroll-arrow {
    width: 20px;
    height: 20px;
  }

  /* Products section adjustments */
  .products-cards-row {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .product-card {
    width: 175px;
    height: 200px;
    padding: var(--spacing-md);
  }

  .product-icon {
    width: 40px;
    height: 40px;
  }

  .product-title {
    font-size: var(--font-size-small);
  }

  .product-description {
    font-size: var(--font-size-xs);
  }

}

@media (max-width: 480px) {
  :root {
    --section-padding-horizontal: var(--spacing-md);
    --section-padding-vertical: var(--spacing-2xl);
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-title::after {
    width: 60px;
  }

  .cta-button {
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .product-card {
    padding: var(--spacing-lg);
  }

  .product-icon {
    width: 50px;
    height: 50px;
  }

  .product-title {
    font-size: var(--font-size-body);
  }

  .product-description {
    font-size: var(--font-size-small);
  }

  .product-cta {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-small);
  }

  .job-row {
    padding: var(--spacing-md);
  }

  .hero-scroll-indicator {
    bottom: var(--spacing-md);
  }

  .scroll-arrow {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================================================
   High Contrast Mode Support
   ========================================================================== */

@media (prefers-contrast: high) {
  :root {
    --color-medium-gray: #000000;
    --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
}

/* ==========================================================================
   Reduced Motion Support
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-title,
  .hero-subtitle,
  .cta-button {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-title::after {
    width: 80px;
    animation: none;
  }

  .hero-scroll-indicator {
    opacity: 1;
    animation: none;
  }

  .scroll-arrow {
    animation: none;
  }
}

/* ==========================================================================
   Application Form Styles
   ========================================================================== */

.application-section {
  background-color: var(--color-off-white);
  padding: var(--spacing-4xl) 0;
  min-height: 100vh;
}

.application-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-primary-white);
  padding: var(--spacing-3xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
}

.form-section {
  border: none;
  margin: 0 0 var(--spacing-2xl) 0;
  padding: 0;
}

.form-legend {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-accent-blue);
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}


.form-label {
  display: block;
  font-weight: var(--font-weight-medium);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-body);
}

.required {
  color: var(--color-error-red);
  font-weight: var(--font-weight-bold);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-body);
  font-family: var(--font-family-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-color: var(--color-primary-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error-red);
}

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

.form-help {
  font-size: var(--font-size-small);
  color: var(--color-medium-gray);
  margin-top: var(--spacing-xs);
  font-style: italic;
}

.error-message {
  color: var(--color-error-red);
  font-size: var(--font-size-small);
  margin-top: var(--spacing-xs);
  display: none;
}

.error-message.show {
  display: block;
  animation: fadeIn var(--transition-fast);
}

/* File Upload Styles */
.file-upload-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.file-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  cursor: pointer;
  padding: var(--spacing-md);
  border: 2px dashed var(--color-border-light);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  background-color: var(--color-primary-white);
  flex: 1;
}

.file-upload-label:hover {
  border-color: var(--color-accent-blue);
  background-color: var(--color-hover-bg);
}

.file-upload-text {
  color: var(--color-medium-gray);
  font-size: var(--font-size-body);
}

.file-upload-button {
  background-color: var(--color-accent-blue);
  color: var(--color-primary-white);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  transition: background-color var(--transition-fast);
}

.file-upload-button:hover {
  background-color: var(--color-accent-blue-hover);
}

.file-upload-info {
  font-size: var(--font-size-small);
  color: var(--color-medium-gray);
  margin-top: var(--spacing-xs);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-2xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border-light);
}

.submit-button {
  position: relative;
  background-color: var(--color-accent-blue);
  color: var(--color-primary-white);
  border: none;
  padding: var(--spacing-md) var(--spacing-2xl);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-normal);
  flex: 1;
  max-width: 200px;
}

.submit-button:hover:not(:disabled) {
  background-color: var(--color-accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-subtle);
}

.submit-button:disabled {
  background-color: var(--color-medium-gray);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-text {
  display: block;
}

.button-loading {
  display: none;
}

.submit-button.loading .button-text {
  display: none;
}

.submit-button.loading .button-loading {
  display: block;
}

.cancel-button {
  background-color: var(--color-light-gray);
  color: var(--color-dark-gray);
  text-decoration: none;
  padding: var(--spacing-md) var(--spacing-2xl);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-normal);
  text-align: center;
  display: inline-block;
}

.cancel-button:hover {
  background-color: var(--color-medium-gray);
  color: var(--color-primary-white);
}

/* Form Messages */
.form-messages {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  display: none;
}

.form-messages.show {
  display: block;
  animation: fadeIn var(--transition-fast);
}

.form-messages.success {
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid var(--color-success-green);
  color: var(--color-success-green);
}

.form-messages.error {
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid var(--color-error-red);
  color: var(--color-error-red);
}

/* Responsive Design for Forms */
@media (max-width: 768px) {
  .application-form {
    padding: var(--spacing-xl);
    margin: 0 var(--spacing-md);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .form-actions {
    flex-direction: column;
  }

  .submit-button,
  .cancel-button {
    max-width: none;
  }

  .file-upload-container {
    flex-direction: column;
    align-items: stretch;
  }

  .file-upload-label {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .application-form {
    padding: var(--spacing-lg);
  }

  .form-legend {
    font-size: var(--font-size-h3);
  }
}

/* Add these styles to the social media section in the footer */

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-medium-gray);
  border-radius: 50%;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1);
}

.social-link.twitter::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z'/%3E%3C/svg%3E");
}

.social-link.linkedin::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
}

.social-link.facebook::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

.social-link:hover,
.social-link:focus {
  background-color: var(--color-accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

/* ==========================================================================
   Locate Us Section Styles - Updated Layout
   ========================================================================== */

.locate-us-section {
  background-color: var(--color-off-white);
  /* padding: var(--spacing-4xl) 0; */
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/contactus2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-primary-white);
  /* background-color: rgba(0, 0, 0, 0.5); */
}

.locate-us-section h2 {
  color: var(--color-primary-white);
}

.locate-us-content {
  /* display: grid;
  grid-template-columns: 1fr 1fr; */
  gap: var(--spacing-2xl);
  /* Reduced from 3xl */
  align-items: start;
}

/* Left side: Map and contact info */
.left-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  /* Reduced from 2xl */
}

/* Map container with grayscale effect */
.map-container {
  border-radius: var(--border-radius-md);
  /* Reduced from lg */
  overflow: hidden;
  box-shadow: var(--shadow-small);
  /* Reduced from medium */
  background-color: var(--color-primary-white);
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 280px;
  /* Reduced from 350px */
  background-color: var(--color-light-gray);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Add grayscale filter by default */
  filter: grayscale(100%);
  transition: filter var(--transition-normal);
}

/* Show color on hover/focus */
.map-placeholder:hover,
.map-placeholder:focus-within {
  filter: grayscale(0%);
}

/* Ensure iframe inherits the filter */
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--border-radius-md);
  /* Reduced from lg */
  transition: filter var(--transition-normal);
}

/* Add a subtle overlay to indicate interactivity */
.map-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.map-placeholder:hover::after,
.map-placeholder:focus-within::after {
  opacity: 1;
}

/* Combined contact info box */
.contact-info-box {
  background-color: var(--color-primary-white);
  border-radius: var(--border-radius-md);
  /* Reduced from lg */
  box-shadow: var(--shadow-small);
  /* Reduced from medium */
  padding: var(--spacing-xl);
  /* Reduced from 2xl */
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  /* Reduced from xl */
}

.contact-item {
  display: flex;
  gap: var(--spacing-sm);
  /* Reduced from md */
  align-items: flex-start;
}

.contact-icon {
  width: 32px;
  /* Reduced from 40px */
  height: 32px;
  /* Reduced from 40px */
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contact-icon.location::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23007bff'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contact-icon.email::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23007bff'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contact-icon.phone::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23007bff'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contact-icon.clock::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23007bff'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contact-content {
  flex: 1;
}

.contact-title {
  font-size: var(--font-size-sm);
  /* Reduced from md */
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-xs);
  /* Reduced from sm */
}

.contact-info {
  font-style: normal;
  line-height: 1.4;
  /* Reduced from 1.5 */
}

.contact-info p {
  margin-bottom: var(--spacing-xs);
  color: var(--color-medium-gray);
  font-size: var(--font-size-xs);
  /* Reduced from sm */
}

.contact-link {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.contact-note {
  font-size: var(--font-size-xs);
  color: var(--color-light-gray);
  font-style: italic;
  margin-top: var(--spacing-xs);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xs);
}

.hours-row .day {
  font-weight: var(--font-weight-medium);
  color: var(--color-dark-gray);
  font-size: var(--font-size-xs);
  /* Reduced from sm */
}

.hours-row .time {
  color: var(--color-medium-gray);
  font-size: var(--font-size-xs);
  /* Reduced from sm */
}

/* Right side: Contact form */
.contact-form-container {
  display: flex;
  align-items: stretch;
}

.contact-form-box {
  background-color: var(--color-primary-white);
  border-radius: var(--border-radius-md);
  /* Reduced from lg */
  box-shadow: var(--shadow-small);
  /* Reduced from medium */
  padding: var(--spacing-xl);
  /* Reduced from 2xl */
  width: 100%;
}

.contact-form-title {
  font-size: var(--font-size-lg);
  /* Reduced from xl */
  font-weight: var(--font-weight-bold);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-xs);
  /* Reduced from sm */
}

.contact-form-subtitle {
  color: var(--color-medium-gray);
  margin-bottom: var(--spacing-lg);
  /* Reduced from xl */
  line-height: 1.5;
  /* Reduced from 1.6 */
  font-size: var(--font-size-sm);
  /* Added smaller font size */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  /* Reduced from lg */
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: var(--font-weight-medium);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-size-xs);
  /* Reduced from sm */
}

.form-input,
.form-textarea {
  padding: var(--spacing-sm);
  /* Reduced from md */
  border: 2px solid var(--color-light-gray);
  border-radius: var(--border-radius-sm);
  /* Reduced from md */
  font-size: var(--font-size-xs);
  /* Reduced from sm */
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-color: var(--color-primary-white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
  /* Reduced from 3px */
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  /* Reduced from 120px */
}

.error-message {
  color: var(--color-error);
  font-size: var(--font-size-xs);
  margin-top: var(--spacing-xs);
  min-height: 1.2em;
}

.submit-button {
  /* background-color: var(--color-primary); */
  color: var(--color-primary-white);
  border: none;
  border-radius: var(--border-radius-sm);
  /* Reduced from md */
  padding: var(--spacing-sm) var(--spacing-lg);
  /* Reduced from md xl */
  font-size: var(--font-size-sm);
  /* Reduced from md */
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.submit-button:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button.loading {
  pointer-events: none;
}

.submit-button.loading .button-text {
  opacity: 0;
}

.submit-button.loading .button-loading {
  opacity: 1;
}

.button-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  /* Reduced from 20px */
  height: 16px;
  /* Reduced from 20px */
  border: 2px solid transparent;
  border-top: 2px solid var(--color-primary-white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
}

/* Responsive Design for Locate Us Section */
@media (max-width: 1024px) {
  .locate-us-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    /* Reduced from 2xl */
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    /* Reduced from lg */
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xs);
    /* Reduced from sm */
  }

  .contact-icon {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .locate-us-section {
    padding: var(--spacing-xl) 0;
    /* Reduced from 2xl */
  }

  .map-placeholder {
    height: 240px;
    /* Reduced from 300px */
  }

  .contact-info-box,
  .contact-form-box {
    padding: var(--spacing-lg);
    /* Reduced from xl */
  }

  .hours-row {
    flex-direction: column;
    gap: var(--spacing-xs);
    text-align: center;
  }
}

@media (max-width: 480px) {

  .contact-info-box,
  .contact-form-box {
    padding: var(--spacing-md);
    /* Reduced from lg */
  }

  .map-placeholder {
    height: 200px;
    /* Reduced from 250px */
  }

  .contact-form-title {
    font-size: var(--font-size-md);
    /* Reduced from xl */
    margin-bottom: var(--spacing-xs);
    /* Reduced from sm */
  }

  .contact-item {
    gap: var(--spacing-xs);
  }

  .contact-icon {
    width: 28px;
    /* Reduced from 32px */
    height: 28px;
    /* Reduced from 32px */
  }
}

/* Contact form messages */
.contact-message {
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-lg);
  font-weight: var(--font-weight-medium);
}

.contact-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-input.error,
.form-textarea.error {
  border-color: var(--color-error);
}



/** Resources */

.dropdown-image.resource-1 {
  background-image: url('../images/blog.png');
  background-blend-mode: overlay;
}

.dropdown-image.resource-2 {
  background-image: url('../images/casestudy.jpg');
  background-blend-mode: overlay;
}

.dropdown-image.resource-3 {
  background-image: url('../images/whitepaper.jpg');
  background-blend-mode: overlay;
}

.dropdown-image.resource-4 {
  background-image: url('../images/webinar.jpg');
  background-blend-mode: overlay;
}

.dropdown-image.resource-5 {
  background-image: url('../images/guide.avif');
  background-blend-mode: overlay;
}

.dropdown-image.resource-6 {
  background-image: url('../images/tutorial.jpg');
  background-blend-mode: overlay;
}

/* ==========================================================================
   Ultra Compact Job Rows Styles
   ========================================================================== */

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
}

/* Responsive adjustments for job rows */
@media (max-width: 768px) {
  .job-row {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }

  .job-image-container {
    width: 100%;
    max-width: 300px;
    height: 200px;
    margin: 0 auto;
  }

  .job-content {
    align-items: center;
  }

  .apply-button {
    align-self: stretch;
    margin-top: var(--spacing-md);
  }
  .job-description{
    width: auto;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .job-row {
    padding: var(--spacing-md);
  }

  .job-image-container {
    height: 150px;
  }

  .job-title {
    font-size: 1.25rem;
  }

  .job-description {
    font-size: var(--font-size-small);
    width: auto;
    margin-top: 10px;
  }
}

/* 
Product features in detail section */
.product-features-detail {
  margin: 1rem 0;
}

.product-features-detail .feature-tag {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0.3rem 0.5rem 0.3rem 0;
  transition: all 0.3s ease;
}

.product-features-detail .feature-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}


.product-detail-content .learn-more-link {
  margin-top: 1.5rem;
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.product-detail-content .learn-more-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}



/****apply application css****/
#apply{
  margin-top: 10px;
}
/* ====
======================================================================
   Cross-Browser Compatibility Fixes
   ========================================================================== */

/* Webkit/Safari specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .rgb-gradient-text {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .header.scrolled {
    -webkit-backdrop-filter: saturate(180%) blur(10px);
  }
}

/* Firefox specific fixes */
@-moz-document url-prefix() {
  .rgb-gradient-text {
    background-clip: text;
    color: transparent;
  }
}

/* Internet Explorer/Edge fallbacks */
@supports not (display: grid) {
  .grid {
    display: flex;
    flex-wrap: wrap;
  }
  
  .grid-2 > * {
    width: calc(50% - 1rem);
  }
  
  .grid-3 > * {
    width: calc(33.333% - 1rem);
  }
  
  .grid-4 > * {
    width: calc(25% - 1rem);
  }
}

/* CSS Custom Properties fallbacks for older browsers */
@supports not (color: var(--color-primary-white)) {
  body {
    color: #333333;
    background-color: #FFFFFF;
  }
  
  .btn-primary {
    background-color: #007BFF;
    color: #FFFFFF;
  }
  
  .nav-link {
    color: #ffffff;
  }
  
  .header.scrolled .nav-link {
    color: #333333;
  }
}

/* Flexbox fallbacks */
@supports not (display: flex) {
  .flex {
    display: block;
  }
  
  .flex-center {
    text-align: center;
  }
  
  .nav-menu {
    display: inline-block;
  }
  
  .nav-menu li {
    display: inline-block;
    margin-right: 1rem;
  }
}
/* =
=========================================================================
   Form Validation and Messages
   ========================================================================== */

/* Error states */
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--color-error-red);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.error-message {
    color: var(--color-error-red);
    font-size: var(--font-size-small);
    margin-top: 0.25rem;
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

/* Form messages container */
.form-messages {
    margin-top: 2rem;
    display: none;
}

.form-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
}

.form-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.message-icon {
    font-size: 1.2em;
    font-weight: bold;
}

.message-text {
    flex: 1;
}

/* File upload feedback */
.file-upload-info {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: var(--color-light-gray);
    border-radius: 4px;
    font-size: var(--font-size-small);
    display: none;
}

.file-name {
    font-weight: var(--font-weight-medium);
    color: var(--color-dark-gray);
}

.file-size {
    color: var(--color-medium-gray);
    margin-left: 0.5rem;
}

/* Loading state for submit button */
.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-loading {
    display: none;
}


/* Required field indicator */
.required {
    color: var(--color-error-red);
    font-weight: bold;
}

/* Form help text */
.form-help {
    font-size: var(--font-size-small);
    color: var(--color-medium-gray);
    margin-top: 0.25rem;
}