:root {
  --primary-color: #2c5282;
  --secondary-color: #4299e1;
  --text-color: #2d3748;
  --light-gray: #f7fafc;
  --white: #ffffff;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.logo-content {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
}

.logo-highlight {
  color: var(--primary-color);
}

.logo-subtext {
  font-size: 12px;
  color: #666;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero-slider {
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
}

.company-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.company-block {
  display: flex;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto 80px;
  padding: 0 20px;
}

.company-block.reverse {
  flex-direction: row-reverse;
}

.image-block {
  flex: 1;
  padding: 20px;
}

.company-image {
  width: 100%;
  height: 400px;
  background-color: #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.text-block {
  flex: 1;
  padding: 40px;
}

.text-block h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.products-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: var(--primary-color);
}

.product-category {
  margin-bottom: 60px;
}

.category-title {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-item {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
}

.product-info h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate.active {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-button {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-button span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-button {
    display: flex;
  }

  .company-block {
    flex-direction: column;
    margin-bottom: 40px;
  }

  .company-block.reverse {
    flex-direction: column;
  }

  .image-block,
  .text-block {
    width: 100%;
    padding: 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

.header.sticky {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-color);
  z-index: 1001;
  transition: width 0.2s ease-out;
}

.company-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.company-block {
  display: flex;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 60px 20px;
  gap: 60px;
  position: relative;
}

.company-block:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.1),
    transparent
  );
}

.company-block.reverse {
  flex-direction: row-reverse;
}

.image-block {
  flex: 1;
  padding: 20px;
}

.company-image {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.company-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.company-image:hover img {
  transform: scale(1.05);
}

.text-block {
  flex: 1;
  padding: 40px;
}

.text-block h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 20px 0;
}

.text-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

@media (max-width: 968px) {
  .company-block {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .company-block.reverse {
    flex-direction: column;
  }

  .image-block,
  .text-block {
    width: 100%;
    padding: 0;
  }

  .company-image {
    height: 300px;
  }

  .text-block {
    text-align: center;
  }

  .divider {
    margin: 20px auto;
  }
}

.logo {
  padding: 20px;
  display: inline-block;
}

.logo img {
  height: 55px;
}
