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

:root {
  /* Main color palette */
  --primary-color: #0038FF; /* Applied Intuition blue */
  --primary-dark: #0026B3;
  --secondary-color: #222222;
  
  /* Background colors */
  --background-light: #FFFFFF;
  --background-medium: #F5F5F7;
  --background-dark: #222222;
  
  /* Text colors */
  --text-color-dark: #1E1E1E;
  --text-color-medium: #666666;
  --text-color-light: #FFFFFF;
  
  /* Border colors */
  --border-color: #E0E0E0;
  
  /* Animation speed */
  --transition-speed: 0.35s;
  
  /* Font sizing */
  --base-font-size: 16px;
  --heading-font-size: 3rem;
  --subheading-font-size: 2rem;
  --button-font-size: 0.9rem;
}

/* Global styles */
html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  }

body {
  margin: 0;
  background-color: var(--background-light);
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color-dark);
  overflow-x: hidden;
}

body, td, th {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--text-color-dark);
}

/* General list styling */
ul, ol {
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Typography */
h1 {
  font-size: 2.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  margin-top: 2rem;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  margin-top: 1.8rem;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  font-weight: 600;
}

h3.alt {
  color: var(--primary-color);
}

h4 {
  margin-top: 0.4rem;
  font-size: 1.2rem;
  margin-bottom: 0.1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  overflow: auto; /* Prevents content overflow issues */
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  position: relative;
}

a:hover {
  color: var(--primary-dark);
}

/* Underline animation for links */
.underline-animation {
  position: relative;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom no-repeat;
  background-size: 0% 1px;
  transition: background-size var(--transition-speed);
  padding-bottom: 2px;
}

.underline-animation:hover {
  background-size: 100% 1px;
}

/* Layout */
#wrapper {
  max-width: 1280px;
  text-align: left;
  background-color: var(--background-light);
  margin: 0 auto;
  padding: 0 2rem;
}

#content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 5rem 0 3rem 0;
}

#col1 {
  flex: 1 1 65%;
  min-width: 300px;
}

#col2 {
  flex: 1 1 25%;
  min-width: 250px;
  padding: 2rem;
  margin-top: 1rem;
  background-color: var(--background-medium);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

#col2-dark {
  flex: 1 1 25%;
  min-width: 250px;
  padding: 2rem;
  margin-top: 1rem;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* Mobile styles for #col1 to prevent navbar overlap */
@media (max-width: 991px) {
  #content {
    padding-top: 6.5rem; /* Increase padding for the whole content area */
  }
  
  #col1 {
    padding-top: 4rem; /* Additional padding specifically for col1 */
  }
}

#col2 h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--text-color-dark);
  position: relative;
  padding-bottom: 0.75rem;
  font-weight: 600;
}

#col2 h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

#col2 h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* Sidebar links list */
#col2 ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

#col2 ul li {
  margin-bottom: 0.75rem;
}

#col2 ul li a {
  display: block;
  color: var(--text-color-dark);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem;
  font-size: 1rem;
  line-height: 1.4;
}

#col2 ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0.6;
  transition: all 0.3s ease;
}

#col2 ul li a:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

#col2 ul li a:hover::before {
  opacity: 1;
}

/* Links and hover effects */
#col2 a img {
  border: 1px solid var(--border-color);
  transition: transform var(--transition-speed) ease, border var(--transition-speed) ease;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

#col2 a:hover img {
  border: 1px solid var(--primary-color);
  transform: translateY(-5px);
}

#col2 .box {
  width: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Section header styling */
#col2 h2:not(:first-child) {
  margin-top: 2rem;
  padding-top: 1.5rem;
}

/* Sidebar content areas */
#col2 > div,
#col2 > ul {
  padding: 0;
}

#col2 h3:first-child {
  margin-top: 0;
}

#col2 h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 4px;
  height: 70%;
  opacity: 0.7;
  border-radius: 2px;
}

/* Active link style */
#col2 ul li a.active {
  color: var(--primary-color);
  font-weight: 500;
  background-color: rgba(0, 56, 255, 0.05);
}

#col2 ul li a.active::before {
  opacity: 1;
  width: 8px;
  height: 8px;
}

/* Section styling */
#col2 .section {
  padding: 1.75rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

#col2 .section:first-child {
  border-top: none;
}

/* Image container in sidebar */
#col2 .image-container {
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

#col2 img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

#col2 a:hover img {
  transform: scale(1.03);
}

/* Call to action button in sidebar */
#col2 .cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

#col2 .cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 56, 255, 0.2);
}

/* Products list styling */
#col2 a:not(.cta-button) {
  text-decoration: none;
  color: var(--text-color-dark);
  transition: color 0.25s ease;
}

#col2 a:not(.cta-button):hover {
  color: var(--primary-color);
}

#col2-dark h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  padding-bottom: 0.75rem;
  font-weight: 600;
}

#col2-dark h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

#col2-dark h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* Sidebar links list */
#col2-dark ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

#col2-dark ul li {
  margin-bottom: 0.75rem;
}

#col2-dark ul li a {
  display: block;
  color: var(--text-color-dark);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem;
  font-size: 1rem;
  line-height: 1.4;
}

#col2-dark ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0.6;
  transition: all 0.3s ease;
}

#col2-dark ul li a:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

#col2-dark ul li a:hover::before {
  opacity: 1;
}

/* Links and hover effects */
#col2-dark a img {
  border: 1px solid var(--border-color);
  transition: transform var(--transition-speed) ease, border var(--transition-speed) ease;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

#col2-dark a:hover img {
  border: 1px solid var(--primary-color);
  transform: translateY(-5px);
}

#col2-dark .box {
  width: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Section header styling */
#col2-dark h2:not(:first-child) {
  margin-top: 2rem;
  padding-top: 1.5rem;
}

/* Sidebar content areas */
#col2-dark > div,
#col2-dark > ul {
  padding: 0;
}

#col2-dark h3:first-child {
  margin-top: 0;
}

#col2-dark h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 4px;
  height: 70%;
  opacity: 0.7;
  border-radius: 2px;
}

/* Active link style */
#col2-dark ul li a.active {
  color: var(--primary-color);
  font-weight: 500;
  background-color: rgba(0, 56, 255, 0.05);
}

#col2-dark ul li a.active::before {
  opacity: 1;
  width: 8px;
  height: 8px;
}

/* Section styling */
#col2-dark .section {
  padding: 1.75rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

#col2-dark .section:first-child {
  border-top: none;
}

/* Image container in sidebar */
#col2-dark .image-container {
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

#col2-dark img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

#col2-dark a:hover img {
  transform: scale(1.03);
}

/* Call to action button in sidebar */
#col2-dark .cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

#col2-dark .cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 56, 255, 0.2);
}

/* Products list styling */
#col2-dark a:not(.cta-button) {
  text-decoration: none;
  color: white;
  transition: color 0.25s ease;
}

#col2-dark a:not(.cta-button):hover {
  color: var(--primary-color);
}


/* Links and hover effects */
#col1 a img {
  border: 1px solid var(--background-light);
  transition: transform var(--transition-speed) ease, border var(--transition-speed) ease;
}

#col1 a:hover img {
  border: 1px solid var(--primary-color);
  transform: translateY(-5px);
}

td.homepage-desc a.title-link {
  text-decoration: none;
  color: var(--text-color-dark);
  transition: color var(--transition-speed) ease;
}

td.homepage-desc a.title-link:hover {
  text-decoration: none;
  color: var(--primary-color);
}

/* Footer */
#footer {
  text-align: left;
  margin-top: 0;
  background-color: var(--background-dark);
  color: var(--text-color-light);
  position: relative;
  z-index: 2;
}

.footer-top-bar {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-top-bar a {
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 1rem;
  margin-right: 1.5rem;
  position: relative;
}

.footer-top-bar a:hover {
  text-decoration: none;
}

.footer-top-bar a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-color-light);
  transition: width var(--transition-speed) ease;
}

.footer-top-bar a:hover::after {
  width: 100%;
}

.footer-copyright {
  background-color: var(--background-dark);
  color: #999;
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 2rem;
  text-align: center;
}

/* Tables */
table.normal {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 2rem;
  border: none;
}

table.normal td, table.normal th {
  padding: 1rem;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--border-color);
}

table.normal th {
  font-weight: 600;
  background-color: var(--background-medium);
}

table.normal tr:nth-child(even) {
  background-color: var(--background-medium);
}

table.normal tr:hover {
  background-color: rgba(0, 56, 255, 0.05);
}

/* News Section Styling */
#col1 h1 + table,
table.news-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background-color: var(--background-light);
}

#col1 h1 + table tr,
table.news-table tr {
  transition: background-color 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

#col1 h1 + table tr:last-child,
table.news-table tr:last-child {
  border-bottom: none;
}

#col1 h1 + table tr:hover,
table.news-table tr:hover {
  background-color: rgba(0, 56, 255, 0.03);
}

#col1 h1 + table td,
table.news-table td {
  padding: 1.5rem;
  vertical-align: middle;
}

/* Date styling */
#col1 h1 + table td:first-child,
table.news-table td:first-child {
  width: 120px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
  position: relative;
  border-right: 2px solid rgba(0, 56, 255, 0.1);
  letter-spacing: -0.01em;
}
@media (max-width: 990px) {
  table.news-table td:first-child {
    font-size: 1.2rem;
  }
}

/* News content styling */
#col1 h1 + table td:nth-child(2),
table.news-table td:nth-child(2) {
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 1.5rem;
}
@media (max-width: 990px) {
  table.news-table td:nth-child(2) {
    font-size: 1.5rem;
  }
}

#col1 h1 + table td:nth-child(2) a,
table.news-table td:nth-child(2) a {
  position: relative;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

#col1 h1 + table td:nth-child(2) a:hover,
table.news-table td:nth-child(2) a:hover {
  color: var(--primary-dark);
}

#col1 h1 + table td:nth-child(2) a::after,
table.news-table td:nth-child(2) a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

#col1 h1 + table td:nth-child(2) a:hover::after,
table.news-table td:nth-child(2) a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* News title styling */
#col1 h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

#col1 h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #col1 h1 + table td,
  table.news-table td {
    padding: 1.2rem 1rem;
  }
  
  #col1 h1 + table td:first-child,
  table.news-table td:first-child {
    width: 90px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  #col1 h1 + table,
  table.news-table {
  display: block;
  }
  
  #col1 h1 + table tr,
  table.news-table tr {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  #col1 h1 + table td:first-child,
  table.news-table td:first-child {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0, 56, 255, 0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  #col1 h1 + table td:nth-child(2),
  table.news-table td:nth-child(2) {
    padding-left: 0;
  }
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: var(--button-font-size);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: all var(--transition-speed) ease;
}

.button-primary {
  background-color: var(--primary-color);
  color: var(--text-color-light) !important;
  border: 2px solid var(--primary-color);
}

.button-primary:hover {
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.button-secondary {
  background-color: var(--background-medium);
  color: var(--text-color-dark);
}

.button-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 2rem;
  padding-top: 64px; /* Add padding for nav height */
}

/* Adjust hero for homepage transparent navbar */
.homepage .hero {
  padding-top: 0; /* Remove padding on homepage */
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  color: var(--text-color-light);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero p {
  color: var(--text-color-light);
  font-size: 1.4rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero .button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Main Content Area */
.main-content-area {
  padding: 0;
}

/* Hide carousel video on home page since we already have it in hero */
.main-content-area > video {
  display: none;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 1.5rem;
  transition: all var(--transition-speed) ease;
  background-color: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Add transparent navbar for homepage */
.homepage .nav {
  background-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.homepage .nav.scrolled {
  background-color: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Add text shadow for better contrast on transparent navbar */
.homepage .nav:not(.scrolled) .menu-item > a,
.homepage .nav:not(.scrolled) .dropdown-button,
.homepage .nav:not(.scrolled) .social-icon a {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Remove text shadow from dropdown content */
.homepage .nav:not(.scrolled) .sub-menu .menu-item > a,
.homepage .nav:not(.scrolled) .dropdown-content a {
  text-shadow: none;
}

/* Ensure logo is always visible */
.homepage .nav:not(.scrolled) .logo img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.nav .logo {
  margin-right: 1.5rem;
}

.nav .logo img {
  height: 28px;
  filter: brightness(0) invert(1); /* Make logo white */
}

.nav .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  max-width: none;
  flex-wrap: nowrap;
  margin-right: 1rem;
}

/* Reorder utilities for better visibility of Contact Us */
.nav-utilities {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: 1rem;
  flex-shrink: 0;
  min-width: fit-content;
}

/* Set explicit order for all nav-utility elements */
.nav-utilities .search-container {
  order: 1;
}

.nav-utilities .language-picker {
  order: 2;
}

.nav-utilities .social-icon {
  order: 3;
}

/* Move Contact Us button to the end (rightmost position) */
.nav-utilities .cta-button {
  order: 4; /* Higher number pushes it to the end */
  margin-right: 0; /* Remove right margin */
  margin-left: 0.5rem; /* Add left margin instead */
}

.language-picker .dropdown-button,
.user-dropdown .dropdown-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color-light);
}

.social-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color-light);
  transition: color var(--transition-speed) ease;
}

.social-icon a:hover {
    color: var(--primary-color);
}

/* Update search styles */
.search-container {
  position: relative;
}

.search-wrapper {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.4rem 0.6rem 0.4rem 1rem;
  transition: all var(--transition-speed) ease;
}

.search-wrapper:focus-within {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  width: 140px;
  color: var(--text-color-light);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color-light);
  margin-left: 4px;
  padding: 4px;
  border-radius: 50%;
  transition: background-color var(--transition-speed) ease;
}

.search-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Update dropdown styling */
.dropdown {
  position: relative;
}

.dropdown-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-color-light);
  font-size: 0.9rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: var(--background-light);
  min-width: 160px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1100;
  margin-top: 0.5rem;
  transform-origin: top right;
  animation: dropdown-in 0.25s ease forwards;
}

@keyframes dropdown-in {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.dropdown.active .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: var(--text-color-dark);
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.dropdown-content a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0.25rem;
  background-color: var(--primary-color);
  transform: translateX(-5px);
  opacity: 0;
  transition: all 0.25s ease;
}

.dropdown-content a:hover {
  background-color: rgba(0, 56, 255, 0.05);
  padding-left: 1.5rem;
  color: var(--primary-color);
}

.dropdown-content a:hover::before {
  transform: translateX(0);
  opacity: 1;
}

/* Dropdown arrow animation for language dropdown */
.language-picker .dropdown-button {
  transition: transform var(--transition-speed) ease;
}

.language-picker:hover .dropdown-button {
  transform: rotate(15deg);
  animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(10deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

/* Mobile adjustments */
@media (max-width: 849px) {
  .nav {
    padding: 0 1rem;
  }
  
  .nav-utilities {
    display: flex; /* Keep utilities visible on mobile */
    align-items: center;
    gap: 0.5rem; /* Smaller gap on mobile */
  }
  
  /* Maintain proper order on mobile */
  .nav-utilities .search-container {
    order: 1;
  }
  
  .nav-utilities .cta-button {
    order: 4; /* Keep Contact Us on the right */
  }
  
  /* Hide less important utilities on mobile to prioritize Contact Us button */
  .nav-utilities .language-picker,
  .nav-utilities .social-icon {
    display: none; /* Hide these on mobile to make room for Contact Us */
  }
  
  .search-input {
    width: 120px; /* Even smaller search box on mobile */
  }
  
  .nav.mobile-menu-open .nav-utilities {
    display: flex;
    flex-direction: row; /* Keep horizontal layout */
    align-items: center;
    padding: 0;
    gap: 0.5rem;
    margin-top: 0;
    border-top: none;
  }
  
  .mobile-menu-button {
    display: block;
    position: absolute;
    right: 6rem; /* Move menu button more to the left to make room for Contact Us */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }

  .nav .menu {
    position: fixed;
    top: 64px;
    right: -280px;
    width: 280px;
    height: calc(100vh - 64px);
    background-color: var(--background-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 2rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right var(--transition-speed) ease;
    overflow-y: auto;
    justify-content: flex-start;
    gap: 0;
  }
  
  .nav.mobile-menu-open .menu {
    right: 0;
  }
}

/* Responsive styles */
@media (max-width: 1280px) {
  #wrapper {
    padding: 0 1.5rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
}

@media (max-width: 991px) {
  #content {
    gap: 2rem;
    padding: 2rem 0;
  }
  
  #col1, #col2 {
    flex: 1 1 100%;
  }
  
  .hero {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 990px) {
  .hero {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .footer-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .footer-top-bar a {
    margin-bottom: 0.5rem;
  }
  
  .customer-carousel {
    padding: 3rem 1.5rem;
  }
  
  .customer-logos {
    gap: 2rem;
  }
  
  .customer-logo {
    flex: 0 0 120px;
  }
  
  .content-section {
    padding: 4rem 1.5rem;
  }
  
  .content-section h2 {
      font-size: 2rem;
  }
  
  .content-section p {
    font-size: 1.1rem;
  }
  
  .feature-card {
    flex: 1 1 100%;
  }
  
  .scroll-indicator {
    bottom: 20px;
    right: 20px;
  }
  
  .scroll-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
      font-size: 1rem;
  }
}

/* Add smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Modern Footer Styles */
#footer {
  text-align: left;
  margin-top: 0;
  background-color: var(--background-dark);
  color: var(--text-color-light);
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.footer-main {
          display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-color-light);
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
  color: var(--text-color-light);
}

.footer-cta {
  flex: 1 1 300px;
  background-color: var(--background-light);
  border-radius: 12px;
  padding: 1.5rem;
}

.footer-cta a {
      text-decoration: none;
  color: var(--text-color-dark);
      display: block;
  }

.footer--career-cta {
  text-decoration: none;
  color: var(--text-color-dark);
  display: block;
}

.footer-cta h4 {
  color: var(--primary-color);
  margin-top: 0;
  font-weight: 600;
}

.footer-cta p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-color-medium);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
}

.footer-bottom-content {
  max-width: 1280px;
  margin: 0 auto;
          display: flex;
  flex-wrap: wrap;
      justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-logo img {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-copyright {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
}

/* Banner styles */
#banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 2rem;
  background-color: rgba(20, 20, 20, 0.85); /* Match navbar background */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001; /* Higher than nav */
  transition: all var(--transition-speed) ease;
  height: 40px; /* Smaller height */
}

#banner.scrolled {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

#logo img {
  height: 25px;
  display: block;
  filter: brightness(0) invert(1); /* Make logo white */
}

.banner-right {
          display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Auth notice */
.auth-notice {
  background-color: var(--primary-color);
  color: var(--text-color-light);
    text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.auth-notice p {
  margin: 0;
}

/* Mobile Navigation Styles */
.mobile-nav_open,
.mobile-nav_close {
  display: flex;
}

.navbar_section-header,
.navbar_dropdown-toggle,
.navbar_nav-link {
  text-decoration: none;
    color: var(--text-color-dark);
    position: relative;
}

/* Add more responsive styles for the footer */
@media (max-width: 768px) {
  .footer-container {
    padding: 3rem 1.5rem;
  }
  
  .footer-column {
    flex-basis: calc(50% - 1rem);
  }
  
  .footer-cta {
    flex-basis: 100%;
    margin-top: 1rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-copyright {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-column {
    flex-basis: 100%;
  }
  
  #banner {
    padding: 0.75rem 1rem;
  }
  
  .search-input {
    width: 100px;
  }
  
  .mobile-menu-button {
    right: 5rem;
  }
  
  .nav-utilities {
    gap: 0.3rem;
  }
}

@media (max-width: 1100px) {
  .nav .menu {
    gap: 1.5rem;
  }
}

/* Add back menu item styles */
.nav .menu-item {
  position: relative;
  margin: 0;
  list-style-type: none;
}

.nav .menu-item > a {
  display: block;
  font-size: 1rem;
  padding: 0.5rem 0.15rem;
  color: var(--text-color-light);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed) ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav .menu-item > a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav .menu-item > a .arrow {
  margin-left: 0.3rem;
  transition: transform var(--transition-speed) ease;
  display: inline-block;
}

.nav .menu-item:hover > a .arrow {
  transform: rotate(180deg);
  animation: pulse-arrow 1.5s ease-in-out infinite;
}

@keyframes pulse-arrow {
  0% { transform: rotate(180deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(180deg) scale(1); }
}

/* Add a bounce animation for dropdown arrows when clicking */
.nav .menu-item > a:active .arrow {
  animation: bounce-arrow 0.5s ease;
}

@keyframes bounce-arrow {
  0% { transform: rotate(180deg) translateY(0); }
  30% { transform: rotate(180deg) translateY(-3px); }
  50% { transform: rotate(180deg) translateY(0); }
  70% { transform: rotate(180deg) translateY(-2px); }
  100% { transform: rotate(180deg) translateY(0); }
}

/* Update submenu styling for dark navbar */
.sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: var(--background-light);
  min-width: 220px;
  padding: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all var(--transition-speed) ease;
  z-index: 1001;
  list-style-type: none;
  margin-top: 0;
  transform-origin: top left;
}

.menu-item:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  animation: submenu-in 0.3s ease forwards;
}

@keyframes submenu-in {
  0% { transform: translateX(10px) scale(0.97); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

/* Special case for top-level menu items */
.nav > .menu > .menu-item > .sub-menu {
  top: 100%;
  left: 0;
  transform: translateY(10px);
}

.nav > .menu > .menu-item:hover > .sub-menu {
  transform: translateY(0);
}

/* Ensure nested submenus always go to the right */
.sub-menu .menu-item > .sub-menu {
  top: 0;
  left: 100%;
  transform: translateX(10px);
}

.sub-menu .menu-item:hover > .sub-menu {
  transform: translateX(0);
}

.sub-menu .menu-item > a {
  color: var(--text-color-dark);
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  text-align: left;
  position: relative;
  transition: all 0.25s ease;
}

.sub-menu .menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.sub-menu .menu-item > a:hover {
  color: var(--primary-color);
  background-color: rgba(0, 56, 255, 0.05);
  padding-left: 2rem;
}

.sub-menu .menu-item > a:hover::after {
  width: calc(100% - 3.5rem);
}

/* Mobile Menu */
.mobile-menu-button {
  display: none;
    background: none;
    border: none;
    cursor: pointer;
  padding: 0.5rem;
  color: var(--text-color-light); /* White icon */
}

/* Ensure mobile menu button is visible on transparent navbar */
.homepage .nav:not(.scrolled) .mobile-menu-button {
  color: var(--text-color-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mobile-nav_open svg,
.mobile-nav_close svg {
  stroke: currentColor;
}

/* Mobile menu styles */
@media (max-width: 849px) {
  /* Rest of mobile styles */
  .nav .menu-item {
        width: 100%;
    margin: 0;
    }

    .nav .menu-item a {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    width: 100%;
    color: var(--text-color-dark); /* Dark text for side menu */
    }

    .nav .menu-item > a:hover {
    color: var(--primary-color);
    }

    .nav .sub-menu {
    position: static;
    width: 100%;
    background-color: transparent;
        box-shadow: none;
    padding: 0 0 0 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 0;
  }
  
    .nav .menu-item.is-open > .sub-menu {
        display: block;
  }
  
  /* Handle contact button on mobile */
  .nav .menu-item.contact-button {
    margin-top: 1rem;
  }
  
  .nav .menu-item.contact-button a {
  display: inline-block;
    width: auto;
  }

  .search-input {
    width: 130px;
  }
}

/* Navigation utilities styles */
.nav .cta-button a {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
  font-size: 0.85rem;
  display: inline-block;
}

.nav .cta-button a:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  color: var(--text-color-light);
  text-decoration: none;
}

.nav-utilities .dropdown-button svg,
.nav-utilities .social-icon svg {
  stroke: currentColor;
  transition: all var(--transition-speed) ease;
}

.nav-utilities .dropdown:hover .dropdown-button,
.nav-utilities .social-icon a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Video Sections */
.video-sections {
  position: relative;
  width: 100%;
  height: auto; /* Change from fixed height to auto */
}

.video-section {
  position: relative; /* Change from sticky to relative */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
    overflow: hidden;
  background-color: #000;
}

.video-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  object-fit: cover;
}

.video-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 10vh; /* Adjusted from 7vh to 10vh to position slightly lower */
  align-items: flex-start;
  text-align: left;
  padding-left: 15%;
  padding-right: 15%;
  color: var(--text-color-light);
}

.video-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.video-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 56, 255, 0.5);
  animation: fadeIn 2.2s ease 1.5s backwards;
}

.video-content p {
  font-size: 1.5rem;
  max-width: 600px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-content .button {
  margin-top: 1rem;
}

.video-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  background: rgba(0, 0, 0, 0.1); /* Reduced from 0.4 to 0.1 to make video more vibrant */
  z-index: 5;
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-dots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scroll-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s;
}

.scroll-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.4);
}

@media (max-width: 991px) {
  .video-content h2 {
    font-size: 2.5rem;
  }
  
  .video-content p {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .video-content h2 {
    font-size: 2rem;
  }
  
  .video-content p {
    font-size: 1rem;
  }
  
  .scroll-indicator {
    bottom: 20px;
    right: 20px;
  }
  
  .scroll-dot {
    width: 8px;
    height: 8px;
    border-width: 1.5px;
  }
}

@media (max-width: 480px) {
  .video-content h2 {
    font-size: 1.75rem;
  }
}

/* Customer Carousel */
.customer-carousel {
  background-color: #f7f7f7;
  padding: 4rem 2rem;
    text-align: center;
  position: relative;
  z-index: 20;
}

.customer-carousel h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--text-color-dark);
  font-weight: 600;
}

.customer-carousel .subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--text-color-medium);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.customer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.customer-logo {
  flex: 0 0 150px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.customer-logo img {
  max-width: 100%;
  max-height: 80px;
  height: auto;
  object-fit: contain;
}

/* Content Sections */
.content-section {
  position: relative;
  z-index: 20;
  padding: 6rem 2rem;
  background-color: var(--background-light);
  text-align: center;
}

.content-section.dark {
  background-color: #111111; /* Deeper black instead of secondary color */
  color: var(--text-color-light);
  position: relative;
  overflow: hidden;
}

.content-section.dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(0, 56, 255, 0.05), transparent);
  z-index: 1;
}

.content-section.dark .container {
  position: relative;
  z-index: 5;
}

.content-section.dark h2 {
  color: var(--text-color-light);
}

.content-section.dark h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
  animation: fadeIn 1.2s ease 0.5s backwards;
  box-shadow: 0 0 10px rgba(0, 56, 255, 0.5);
}

.content-section.dark .feature-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.content-section.dark .feature-card::before {
  width: 4px;
  background-color: var(--primary-color);
}

.content-section.dark .feature-card:hover {
  background-color: rgba(255, 255, 255, 0.07);
  transform: translateY(-8px);
  border-color: rgba(0, 56, 255, 0.4);
  box-shadow: 0 15px 35px rgba(0, 56, 255, 0.15);
}

.content-section.dark .feature-card h3 {
  color: var(--text-color-light);
}

.content-section.dark .feature-card p {
  color: rgba(255, 255, 255, 0.7);
}

.content-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}
@media (max-width: 990px) {
  .content-section h2 {
    font-size: 5rem;
  }
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  animation: fadeIn 1.2s ease 0.5s backwards;
  box-shadow: 0 0 10px rgba(0, 56, 255, 0.5);
}

.content-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.content-section p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.content-section .features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
  width: 100%;
}

.feature-card {
  flex: 1 1 calc(33.333% - 1rem);
  min-width: 250px;
  background-color: white;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--primary-color);
  transition: height 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 56, 255, 0.15);
  border-color: rgba(0, 56, 255, 0.2);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.feature-card p {
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--text-color-medium);
}

@media (max-width: 990px) {
  .feature-card h3 {
    font-size: 2.1rem;
  }
  .feature-card p {
    font-size: 1.5rem;
  }
}

@media (max-width: 1200px) {
  .feature-card {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .feature-card {
    flex: 1 1 100%;
  }
}

/* YouTube Video Container Fix */
.youtube-container,
iframe[src*="youtube.com"],
iframe[src*="youtu.be"] {
  max-width: 100%;
  aspect-ratio: 16 / 9; /* Standard video aspect ratio */
  width: 100%;
  height: auto;
}

/* For browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .youtube-container,
  iframe[src*="youtube.com"],
  iframe[src*="youtu.be"] {
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9/16 = 0.5625) */
    position: relative;
  }
  
  .youtube-container iframe,
  iframe[src*="youtube.com"],
  iframe[src*="youtu.be"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* Image Lightbox/Modal Improvements */
.modal-content,
.lightbox-content,
div[role="dialog"] img,
.modal img,
.lightbox img,
.popup img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* General modal container improvements */
.lightbox,
.popup {
  max-width: 90vw !important;
  width: auto !important;
  height: auto !important;
  margin: 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000 !important; /* Ensure modal is on top */
}

div[role="dialog"]:not(.modal),
.modal-dialog {
  max-width: 90vw !important;
  width: auto !important;
  height: auto !important;
  margin: 2rem auto;
}

.modal {
  display: none;
}

.modal.in,
.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000 !important;
}

body.modal-open {
  overflow: hidden;
}

.modal-dialog {
  width: 100%;
  max-width: 760px;
  padding: 0 20px;
}

.modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  background: #fff;
}

.modal-header,
.modal-body,
.modal-footer {
  padding: 24px 32px;
  border: none;
}

.modal-header {
  padding-bottom: 0;
  position: relative;
}

.modal-footer {
  padding-top: 0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2532;
}

.modal-body p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4f5c;
}

.modal .close,
.modal button.close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(31, 37, 50, 0.85);
  color: #fff;
  border: none;
  opacity: 1;
  text-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.modal .close:hover,
.modal button.close:hover {
  background: rgba(31, 37, 50, 0.95);
  transform: scale(1.05);
}

.modal .close span,
.modal button.close span {
  display: block;
  line-height: 1;
}

.modal .modal-body {
  margin-top: 12px;
}

#keyModal .modal-dialog {
  max-width: 720px;
}

#keyModal .modal-header {
  background: linear-gradient(135deg, #1d6cf2, #2d84ff);
  color: #fff;
}

#keyModal .modal-title {
  color: #fff;
}

#keyModal .modal-body {
  background: #f8faff;
  color: #3b4254;
}

#keyModal .modal-body h3 {
  margin-top: 24px;
  font-weight: 600;
  color: #1f2532;
}

#keyModal .modal-body p,
#keyModal .modal-body .caption {
  color: #4a5568;
}

#keyModal .modal-footer {
  background: #f8faff;
}

#keyModal .modal-footer .btn-default {
  background: #e2e8f7;
  border: none;
  color: #1f2532;
}

#keyModal .modal-footer .btn-default:hover {
  background: #d1dbf1;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.show {
  opacity: 1;
}

/* Add blocker rule if it doesn't exist or modify if it does */
.blocker {
  z-index: 9999 !important; /* Ensure blocker is just below modal */
}

/* Target featherlight lightbox specifically */
.featherlight .featherlight-content {
  max-width: 85vw !important;
  width: auto !important;
  padding: 0 !important;
  border-bottom: 0 !important;
  overflow: hidden !important;
}

.featherlight .featherlight-inner {
  max-width: none !important;
  width: 960px !important;
  height: auto !important;
}

/* Close button position and styling */
.modal-close,
.lightbox-close,
.featherlight-close,
button.close,
.close,
.mfp-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size: 24px;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
  transition: all 0.2s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: Arial, sans-serif;
}

.modal-close:hover,
.lightbox-close:hover,
.featherlight-close:hover,
button.close:hover,
.close:hover,
.mfp-close:hover {
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 1;
  transform: scale(1.1);
}

/* Ensure close buttons rely on provided markup for icons */
button.close,
.close {
  font-family: inherit;
}

/* Ensure Featherlight close button is visible */
.featherlight .featherlight-close-icon {
  background: rgba(0, 0, 0, 0.7) !important;
  color: white !important;
  line-height: 32px !important;
  width: 32px !important;
  height: 32px !important;
  top: 10px !important;
  right: 10px !important;
  border-radius: 50% !important;
  border: 2px solid white !important;
  font-size: 24px !important;
  font-family: Arial, sans-serif !important;
}

/* Video lightbox/modal container */
.video-modal,
.video-lightbox,
.video-popup,
.featherlight-content iframe,
.modal iframe,
.lightbox iframe,
.popup iframe {
  max-width: 80vw !important;
  max-height: none !important;
  width: 960px !important;
  margin: 0 auto;
}

.video-modal iframe,
.video-lightbox iframe,
.video-popup iframe,
.featherlight-content iframe,
.modal iframe,
.lightbox iframe,
.popup iframe {
  width: 100% !important;
  height: 540px !important;
  aspect-ratio: 16 / 9;
}

/* Image wrapping in content */
#col1 img,
.main-content-area img,
.content-section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

/* Float images properly */
img.float-right,
.img-right,
#col1 p + img,
#col1 h2 + img,
#col1 h3 + img,
.main-content-area p + img {
  float: right;
  margin: 0 0 1rem 1.5rem;
  max-width: 50%;
  border-radius: 4px;
}

img.float-left,
.img-left {
  float: left;
  margin: 0 1.5rem 1rem 0;
  max-width: 50%;
  border-radius: 4px;
}

/* Clear floats after image containers */
.clearfix::after,
p:after {
  content: "";
  clear: both;
  display: table;
}

/* Text wrapping around images */
p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  overflow: auto; /* Prevents content overflow issues */
}

/* Responsive adjustments for image wrapping */
@media (max-width: 768px) {
  img.float-right,
  img.float-left,
  .img-right,
  .img-left,
  #col1 p + img,
  #col1 h2 + img,
  #col1 h3 + img,
  .main-content-area p + img {
    float: none;
    margin: 0 auto 1.5rem;
    max-width: 100%;
    display: block;
  }
}

/* Modern Product Showcase */
.product-showcase-section {
  padding: 5rem 2rem;
  background-color: #f7f7f7;
  text-align: center;
  overflow: hidden;
}

.product-showcase-section .container {
  max-width: 1280px;
  margin: 0 auto;
}

.product-showcase-section h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color-dark);
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .product-showcase-section h2 {
    font-size: 5rem;
  }
}

.product-showcase-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  animation: fadeIn 1.2s ease 0.5s backwards;
  box-shadow: 0 0 10px rgba(0, 56, 255, 0.5);
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3.5rem;
  color: var(--text-color-medium);
}

/* Section title with blue underline */
.section-title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}


@media (max-width: 990px) {
  .section-subtitle {
    font-size: 2.2rem;
  }
}

.product-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  padding: 0.5rem;
}

.product-item {
  flex: 1;
  max-width: 280px;
  background-color: white;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: var(--text-color-dark);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 56, 255, 0.25);
  border: 2px solid var(--primary-color);
}

.product-item:hover .product-icon {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 56, 255, 0.15);
}

.product-item:hover h3 {
  color: var(--primary-dark);
}

.product-icon {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.product-icon img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-item:hover .product-icon img {
  transform: scale(1.1);
}

.product-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
}
@media (max-width: 990px) {
  .product-item h3 {
    font-size: 2.1rem;
  }
}

.product-item p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text-color-medium);
  margin: 0;
}

@media (max-width: 1200px) {
  .product-grid {
    gap: 1rem;
  }
  
  .product-item {
    padding: 1.5rem 1rem;
  }

  .product-item p {
    font-size: 1.5rem;
  }
  
}

@media (max-width: 991px) {
  .product-showcase-section {
    padding: 4rem 1.5rem;
  }
  
  .product-grid {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .product-item {
    flex: 0 0 calc(50% - 1rem);
    max-width: 300px;
  }
}

@media (max-width: 990px) {
  .product-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .product-item {
    flex: 2 2 100%;
    width: 90%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes slideInRight {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Animation Classes */
.animate {
  opacity: 0;
  transition: all 0.8s ease;
}

.animate.fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate.slide-up {
  animation: slideInUp 0.8s ease forwards;
}

.animate.slide-left {
  animation: slideInLeft 0.8s ease forwards;
}

.animate.slide-right {
  animation: slideInRight 0.8s ease forwards;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.hover-grow {
  transition: transform 0.3s ease;
}

.hover-grow:hover {
  transform: scale(1.05);
}

/* Text animation effects */
.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

/* Button animations */
.button.animated {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button.animated::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: all 0.6s ease;
  z-index: -1;
}

.button.animated:hover::before {
  left: 100%;
}

/* Apply animations to specific elements */
.hero h1 {
  animation: fadeIn 1s ease, slideInUp 1s ease;
}

.hero p {
  animation: fadeIn 1.2s ease 0.3s backwards, slideInUp 1.2s ease 0.3s backwards;
}

.hero .button {
  animation: fadeIn 1.4s ease 0.6s backwards, slideInUp 1.4s ease 0.6s backwards;
}

/* Enhance product cards with animations */
.product-item {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 56, 255, 0.25);
  border: 2px solid var(--primary-color);
}

.product-item:hover .product-icon img {
  animation: pulse 1.5s ease infinite;
}

/* Enhance feature cards with animations */
.feature-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.feature-card:hover::after {
  opacity: 1;
}

/* Animation for customer logos */
.customer-logo {
  transition: all 0.3s ease;
}

.customer-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Sidebar element animations */
#col2 ul li a {
  transition: all 0.3s ease;
}

#col2 ul li a:hover {
  transform: translateX(5px);
}

/* Animation for section headers */
.content-section h2, 
.product-showcase-section h2,
.customer-carousel h2 {
  position: relative;
}

.content-section h2::after, 
.product-showcase-section h2::after,
.customer-carousel h2::after {
  transition: none;
  width: 120px; /* Fixed width */
}

.content-section h2.active::after, 
.product-showcase-section h2.active::after,
.customer-carousel h2.active::after,
.content-section:hover h2::after,
.product-showcase-section:hover h2::after,
.customer-carousel:hover h2::after {
  width: 120px; /* Keep the same width to prevent animation */
}

/* Simple blue text class for rotating text */
.blue-text {
  color: var(--primary-color);
  font-weight: 700;
  text-shadow: 0 0 7px rgba(255, 255, 255, 0.85), 0 0 10px rgba(0, 56, 255, 0.5), 0 0 20px rgba(0, 56, 255, 0.3);
  display: inline;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 3px rgba(0, 56, 255, 0.3));
}

#rotating-word {
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

/* Style for Contact Us in nav utilities */
.nav-utilities .cta-button .button {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid var(--primary-color);
  transition: all var(--transition-speed) ease;
}

.nav-utilities .cta-button .button:hover {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 56, 255, 0.15);
}

/* Download Button Style */
.download-section {
  background-color: #f5f5f7;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.download-section h2 {
  color: var(--text-color-dark);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: none;
  padding-bottom: 10px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.download-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin-top: 10px;
  border-radius: 2px;
}

.download-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 56, 255, 0.15);
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0;
}

.download-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.download-button:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 56, 255, 0.15);
}

.download-button::before {
  content: "↓";
  margin-right: 8px;
  font-weight: bold;
}

@media screen and (max-width: 991px) {
  .download-button {
    font-size: 2rem !important; /* Double button font size */
    padding: 1rem 2rem !important; /* Larger button for better touch targets */
  }
  .button-primary {
    font-size: 2.2rem !important; /* Double button font size */
    padding: 1rem 2rem !important; /* Larger button for better touch targets */
  }
}
  
/* Media query for larger language dropdown items on mobile */
@media (max-width: 990px) {
  .language-picker .dropdown-content a {
    font-size: 3.2rem; /* Increase font size */
    padding: 1rem 1.2rem; /* Increase padding for better touch targets */
  }
}