/* Base Styles */
:root {
  --primary-color: #419995; /* senselive-medium */
  --primary-dark: #2a6461; /* senselive-DEFAULT */
  --primary-light: #5ec2be; /* senselive-light */
  --secondary-color: #267c7a; /* senselive-dark */
  --accent-color: #5ec2be; /* Using light color as accent */
  --text-color: #333333;
  --text-light: #666666;
  --background-color: #ffffff;
  --background-alt: #f8f9fa;
  --border-color: #e0e0e0;
  --success-color: #419995; /* Changed to match brand */
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --box-shadow: 0 10px 30px rgba(42, 100, 97, 0.1); /* Updated shadow color */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 10px;
  --card_shadow: 0 15px 35px rgba(65, 153, 149, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05); /* Updated shadow color */
  --card-shadow: 0 15px 35px rgba(65, 153, 149, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05); /* Updated shadow color */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--text-color);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

section {
  padding: 100px 0;
  position: relative;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  width: 50px;
  height: 50px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  position: relative;
  padding: 0 10px;
}

.section-subtitle:before,
.section-subtitle:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background-color: var(--primary-color);
}

.section-subtitle:before {
  left: -40px;
}

.section-subtitle:after {
  right: -40px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 15px;
  position: relative;
}

.section-description {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary: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: var(--transition);
  z-index: -1;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.btn-primary:hover:before {
  left: 100%;
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-secondary:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  transition: var(--transition);
  z-index: -1;
}

.btn-secondary:hover {
  color: white;
}

.btn-secondary:hover:before {
  width: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

/* Add additional styling for the logo to prevent stretching */
.logo img {
  height: 40px;
  transition: transform 0.3s ease;
  object-fit: contain;
  max-width: 100%;
}

.nav-links ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

/* Update the navbar styling to accommodate the blog link */
.nav-links ul {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a.nav-item:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a.nav-item:hover:after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a.btn-primary {
  color: white;
  padding: 10px 25px;
}

.nav-links a.btn-primary:after {
  display: none;
}

.fa-bars,
.fa-times {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

/* Fix for close menu icon showing on desktop */
.fa-times {
  display: none !important;
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, #f5fffd 0%, #ffffff 100%); /* Updated to match teal palette */
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(65, 153, 149, 0.05) 0%, transparent 50%); /* Updated color */
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
}

.hero-image-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(65, 153, 149, 0.1) 0%, transparent 70%); /* Updated color */
  border-radius: 50%;
  z-index: -1;
}

.badge {
  display: inline-block;
  background-color: rgba(65, 153, 149, 0.1); /* Updated color */
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--text-color);
  line-height: 1.2;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 30px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-text {
  font-size: 0.9rem;
  color: var(--text-light);
}

.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.section-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

/* Trusted By Section */
.trusted-by {
  padding: 50px 0;
  background-color: var(--background-color);
  text-align: center;
}

.trusted-by h3 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.clients-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.client {
  flex: 0 0 150px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.client:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.client img {
  max-width: 100%;
  height: auto;
}

/* Product Section */
.product {
  background-color: var(--background-color);
  position: relative;
}

.product-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.product-image {
  flex: 1;
  position: relative;
}

.product-img {
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.product-img:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 102, 204, 0.2);
}

.product-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--primary-color);
  color: white;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
  }
}

.product-text {
  flex: 1;
}

.product-feature {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: var(--transition);
}

.product-feature:hover .feature-icon {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.feature-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.feature-text p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.product-text .btn-primary {
  margin-top: 20px;
}

/* Features Section */
.features {
  background-color: var(--background-alt);
  position: relative;
  overflow: hidden;
}

.features:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(94, 194, 190, 0.1) 0%, transparent 70%); /* Updated to light color */
  border-radius: 50%;
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(0, 102, 204, 0.05) 0%, transparent 100%);
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 102, 204, 0.15);
}

.feature-card:hover:before {
  height: 100%;
}

.feature-card .feature-icon {
  margin: 0 auto 25px;
  width: 70px;
  height: 70px;
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.feature-card p {
  color: var(--text-light);
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: var(--background-color);
  position: relative;
  padding-bottom: 150px; /* Increased padding to prevent overlap */
}

.advantages {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.advantage {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  margin-bottom: 10px; /* Added margin to prevent overlap */
}

/* Media query to handle advantages on smaller screens */
@media (max-width: 768px) {
  .why-choose-us {
    padding-bottom: 180px; /* Even more padding on mobile */
  }

  .advantage {
    margin-bottom: 15px; /* More margin on mobile */
  }
}

/* Specifications Section */
.specs {
  background-color: var(--background-alt);
}

.specs-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.specs-image {
  flex: 1;
}

.specs-img {
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.specs-img:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 102, 204, 0.2);
}

.specs-table {
  flex: 1;
  background-color: white;
  padding: 30px;
  border-radius: var(102, 204, 0.2);
}

.specs-table {
  flex: 1;
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th,
td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

/* Update table header background */
th {
  background-color: rgba(65, 153, 149, 0.05); /* Updated color */
  color: var(--primary-dark);
  font-weight: 600;
}

tr:hover {
  background-color: rgba(65, 153, 149, 0.02); /* Updated color */
}

.specs-note {
  font-style: italic;
  color: var(--text-light);
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Applications Section */
.applications {
  background-color: var(--background-color);
  position: relative;
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.application-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  overflow: hidden;
}

.application-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 102, 204, 0.15);
}

.application-image {
  height: 200px;
  overflow: hidden;
}

.application-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.application-card:hover .application-image img {
  transform: scale(1.1);
}

.application-content {
  padding: 30px;
  position: relative;
}

.application-icon {
  position: absolute;
  top: -25px;
  left: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.application-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  margin-top: 10px;
}

.application-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.learn-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.learn-more:hover {
  color: var(--primary-dark);
}

.learn-more:hover i {
  transform: translateX(5px);
}

/* Case Study Section */
.case-study {
  background-color: var(--background-alt);
}

.case-study-content {
  display: flex;
  gap: 50px;
  margin-bottom: 50px;
}

.case-study-text {
  flex: 1;
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.case-study-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.client-logo {
  width: 100px;
  height: auto;
}

.case-study-header h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.case-study-challenge h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.case-study-challenge ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.case-study-challenge li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.case-study-challenge li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.case-study-image {
  flex: 1;
}

.case-study-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.case-study-image img:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 102, 204, 0.2);
}

.benefits h4 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 30px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.benefit-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}

.benefit-card i {
  font-size: 2rem;
  color: var(--success-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.benefit-card:hover i {
  transform: scale(1.2);
}

.benefit-card h5 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.case-study-cta {
  text-align: center;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--background-color);
  position: relative;
  overflow: hidden;
}

.testimonials:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(65, 153, 149, 0.05) 0%, transparent 50%); /* Updated color */
  pointer-events: none;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  height: 400px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(50px);
}

.testimonial-slide.active {
  opacity: 1;
  z-index: 1;
  transform: translateX(0);
}

.testimonial-content {
  background-color: white;
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  max-width: 800px;
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: rgba(0, 102, 204, 0.1);
  position: absolute;
  top: 20px;
  left: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  padding-left: 40px;
  color: var(--text-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.author-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.testimonial-content:hover .author-image {
  transform: scale(1.1);
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
}

.prev-btn,
.next-btn {
  background-color: white;
  color: var(--primary-color);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 102, 204, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Call to Action Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(94, 194, 190, 0.1) 0%, transparent 50%); /* Updated to light color */
  pointer-events: none;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.cta .btn-primary {
  background-color: white;
  color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

/* Contact Section */
.contact {
  background-color: var(--background-alt);
}

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info,
.contact-form {
  flex: 1;
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.contact-item:hover i {
  transform: scale(1.2);
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--text-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Update social links background */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(65, 153, 149, 0.1); /* Updated color */
  color: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 20px;
  width: calc(50% - 10px);
  display: inline-block;
}

.form-group.full-width {
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: "Montserrat", sans-serif;
  transition: var(--transition);
  background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
  background-color: white;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: white;
  padding: 80px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer-logo {
  flex: 1;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.footer-logo img:hover {
  transform: scale(1.1);
}

.footer-logo p {
  color: #cccccc;
  max-width: 300px;
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-around;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-column ul li {
  margin-bottom: 15px;
}

.footer-column a {
  color: #cccccc;
  transition: var(--transition);
  position: relative;
  padding: 2px 0;
}

.footer-column a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: white;
  transition: width 0.3s ease;
}

.footer-column a:hover:after {
  width: 100%;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333333;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }

  .hero {
    padding-top: 150px;
  }

  .hero .container,
  .product-content,
  .specs-content,
  .case-study-content,
  .contact-content {
    flex-direction: column;
  }

  .hero-stats {
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .features-grid,
  .applications-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar .container {
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: white;
    padding: 80px 20px 20px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 20px;
  }

  .fa-bars,
  .fa-times {
    display: block;
  }

  /* Show close icon only when mobile menu is active */
  .fa-times {
    display: none;
  }

  .nav-links.active .fa-times {
    display: block !important;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  .form-group {
    width: 100%;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .testimonial-content {
    padding: 30px 20px;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .advantage {
    flex-direction: column;
    text-align: center;
  }

  .advantage-number {
    margin-bottom: 10px;
  }
}

/* FAQ Section */
.faq {
  background-color: var(--background-color);
  position: relative;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: 0 15px 30px rgba(65, 153, 149, 0.15);
}

.faq-question {
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-color);
  transition: var(--transition);
}

.faq-item.active .faq-question h3 {
  color: var(--primary-color);
}

.faq-question i {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 20px 0;
  color: var(--text-light);
}

/* Blog Section */
.blog {
  background-color: var(--background-alt);
  position: relative;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(65, 153, 149, 0.15);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 25px;
}

.blog-date {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.blog-content h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.blog-cta {
  text-align: center;
}

/* Performance Optimizations */
img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  will-change: transform;
}

/* Add content-visibility for better rendering performance */
section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
}

/* Add preload hints for critical resources */
.preload-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
