:root {
  --primary-color: #333333;
  --accent-color: #ff6600;
  --text-color: #333333;
  --text-light: #666666;
  --bg-light: #f5f7fa;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --stat-blue: #ff6600;
}

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

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

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

.btn-primary:hover {
  background-color: #e65c00;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-text {
  color: var(--accent-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.btn-text:hover {
  transform: translateX(5px);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition:
    background-color 0.3s ease,
    padding 0.3s ease;
  padding: 20px 0;
}

.site-header.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background-color: var(--white);
  padding: 50px 30px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: var(--text-color);
}

.mobile-menu-content nav ul {
  flex-direction: column;
  gap: 20px;
}

.mobile-menu-content nav a {
  color: var(--text-color);
  font-size: 18px;
  font-weight: 600;
}

/* Banner */
.banner-section {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.banner-carousel {
  height: 100%;
  position: relative;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.banner-slide.active {
  opacity: 1;
  z-index: 2;
}

.banner-content {
  max-width: 800px;
  color: var(--white);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease 0.3s;
}

.banner-slide.active .banner-content {
  transform: translateY(0);
  opacity: 1;
}

.banner-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.banner-subtitle {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0.9;
}

.banner-features {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-tag {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-buttons {
  display: flex;
  gap: 20px;
}

/* Section Header */
.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 10px auto 0;
}

.section-header p {
  color: var(--text-light);
  font-size: 16px;
}

/* Solutions V2 */
.solutions-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 20px;
}

.solution-card-v2 {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.solution-card-v2.large {
  grid-column: span 2;
  grid-row: span 2;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.solution-card-v2:hover .card-bg {
  transform: scale(1.1);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  transition: var(--transition);
}

.solution-card-v2:hover .card-content {
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.5));
}

.card-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  margin-bottom: 15px;
}

.solution-card-v2:hover .card-content p {
  opacity: 1;
  transform: translateY(0);
}

.card-content .btn-text {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.1s;
}

.solution-card-v2:hover .card-content .btn-text {
  opacity: 1;
  transform: translateY(0);
}

/* Product Tabs */
.product-tabs {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tab-buttons.centered {
  justify-content: center;
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid #eee;
}

.tab-btn {
  padding: 20px 40px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
}

.tab-content {
  padding: 50px;
  min-height: 400px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

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

/* Products Showcase */
.products-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-item {
  text-align: center;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.product-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.product-item img {
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

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

.product-item h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 18px;
}

.product-item p {
  font-size: 13px;
  color: var(--text-light);
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 50px;
}

.feature-box.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-img {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-text h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-text > p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 25px;
}

.check-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: var(--text-color);
}

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

/* Data Dashboard */
.data-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  padding: 40px;
  color: var(--white);
}

.data-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.data-item:last-child {
  border-right: none;
}

.data-num {
  display: block;
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.data-label {
  font-size: 14px;
  opacity: 0.8;
}

/* Footer */
.site-footer {
  background-color: #111111; /* Darker than primary */
  color: var(--white);
  padding: 40px 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.7;
}

/* Stats Section (New) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #eee;
}

.stat-icon {
  margin-bottom: 20px;
  height: 60px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 48px;
  height: 48px;
  stroke: #666;
  stroke-width: 1.5;
  fill: none;
  transition: var(--transition);
}

.stat-card:hover .stat-icon svg {
  stroke: var(--stat-blue);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--stat-blue);
  margin-bottom: 10px;
  line-height: 1.2;
}

.stat-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 10px;
}

.stat-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* AI Recognition Section */
.ai-section {
  background-color: var(--white);
  padding-bottom: 80px;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ai-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

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

.ai-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ai-card:hover img {
  transform: scale(1.1);
}

/* Detection Box Overlay */
.detection-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  border: 2px solid rgba(255, 102, 0, 0.8);
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.4);
  pointer-events: none;
  opacity: 0.8;
}

.detection-box::before,
.detection-box::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-color: #fff;
  border-style: solid;
}

.detection-box::before {
  top: -2px;
  left: -2px;
  border-width: 3px 0 0 3px;
}

.detection-box::after {
  bottom: -2px;
  right: -2px;
  border-width: 0 3px 3px 0;
}

.ai-label {
  position: absolute;
  bottom: 20px;
  left: 0;
  background-color: var(--stat-blue);
  color: var(--white);
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 600;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

@media (max-width: 992px) {
  .ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Service Value Section */
.value-section {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  padding: 80px 0;
}

.value-header {
  text-align: center;
  margin-bottom: 60px;
}

.value-subtitle {
  font-family: "Times New Roman", Times, serif;
  font-size: 24px;
  color: #cbd0d8;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 5px;
}

.value-title {
  font-size: 36px;
  color: var(--primary-color);
  font-weight: 700;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-img {
  margin-bottom: 30px;
  height: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-img img {
  max-height: 100%;
  max-width: 80%;
  object-fit: contain;
}

.value-card h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
}

.value-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  text-align: justify;
  text-align-last: center; /* Center the last line */
}

@media (max-width: 992px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .value-card {
    margin-bottom: 20px;
  }
}

/* Operation Section */
.operation-section {
  padding: 80px 0;
  background-color: #f5faff;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.9)
  );
  background-size: cover;
  background-position: center;
}

.operation-header {
  text-align: center;
  margin-bottom: 50px;
}

.operation-title {
  font-size: 36px;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 10px;
}

.operation-subtitle {
  font-size: 18px;
  color: var(--stat-blue); /* Orange */
  text-transform: uppercase;
  font-weight: 500;
}

.operation-grid-top {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 20px;
  margin-bottom: 20px;
}

.operation-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}

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

.op-card-large {
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  height: 100%;
}

.op-icon-large {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.op-icon-large svg {
  width: 100%;
  height: 100%;
  stroke: var(--stat-blue);
  stroke-width: 1.5;
  fill: none;
}

.op-content h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.op-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.op-card-wide {
  align-items: center;
}

.op-icon-medium {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background-color: var(--stat-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.op-icon-medium svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
  stroke-width: 2;
  fill: none;
}

.operation-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.op-card-vertical {
  flex-direction: row;
  align-items: flex-start;
  padding: 30px;
}

.op-icon-small {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background-color: var(--stat-blue); /* Orange */
  border-radius: 8px; /* Slightly rounded square as per bottom cards in screenshot */
  display: flex;
  align-items: center;
  justify-content: center;
}

.op-icon-small svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  stroke-width: 2;
  fill: none;
}

@media (max-width: 992px) {
  .operation-grid-top {
    grid-template-columns: 1fr;
  }

  .op-card-large {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    height: auto;
  }

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

/* Service Object Section */
.service-object-section {
  padding: 80px 0;
  background-color: var(--white);
  text-align: center;
}

.service-object-header {
  margin-bottom: 60px;
}

.service-object-subtitle {
  font-family: "Times New Roman", Times, serif;
  font-size: 24px;
  color: #cbd0d8;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 5px;
}

.service-object-title {
  font-size: 36px;
  color: var(--primary-color); /* Dark Blue */
  font-weight: 700;
}

.service-object-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.service-object-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px; /* Fixed width for alignment */
}

.so-icon-circle {
  width: 80px;
  height: 80px;
  border: 2px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: var(--transition);
}

.so-icon-circle svg {
  width: 40px;
  height: 40px;
  stroke: #333;
  stroke-width: 1.5;
  fill: none;
  transition: var(--transition);
}

.service-object-item span {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  transition: var(--transition);
}

.service-object-item:hover .so-icon-circle {
  border-color: var(--stat-blue); /* Orange */
  background-color: var(--stat-blue);
}

.service-object-item:hover .so-icon-circle svg {
  stroke: var(--white);
}

.service-object-item:hover span {
  color: var(--stat-blue);
}

@media (max-width: 992px) {
  .service-object-list {
    justify-content: center;
  }
}
