/* ===== Styles Specific to Technology Page ===== */

/* Override main content area styles for the technology page */
main {
  padding: 0; /* No default padding needed for technology page */
  padding-top: 0;
  max-width: none; /* Full width for technology page */
  margin: 0;
}

/* ===== General Section Styles ===== */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14vh 5vw 70px 5vw;
  box-sizing: border-box;
  position: relative;
}

.section-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6vw;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  min-height: 70vh;
}

.section-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.15em;
  line-height: 1.8;
  padding-right: 2rem;
  max-width: 600px;
}

.section-text h1,
.section-text h2 {
  font-size: 2.5em;
  margin-bottom: 1.4em;
  font-family: 'Arial Black', Arial, sans-serif;
  text-align: left;
  color: #111;
  line-height: 1.2;
}

.section-text h1 {
  opacity: 0;
  animation: fadeInBanner 1.2s ease-in forwards;
}

.section-text p {
  margin-bottom: 1.5em;
  text-align: left;
  color: #333;
}

.section-text p:nth-of-type(1) {
  opacity: 0;
  animation: fadeInBanner 0.8s ease-in forwards;
  animation-delay: 0.6s;
}

.section-text p:nth-of-type(2) {
  opacity: 0;
  animation: fadeInBanner 0.8s ease-in forwards;
  animation-delay: 1.0s;
}

.section-text p:nth-of-type(3) {
  opacity: 0;
  animation: fadeInBanner 0.8s ease-in forwards;
  animation-delay: 1.4s;
}

.section-media {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  max-width: 600px;
}

/* ===== Special Styles for First Section ===== */
.hero-section {
  background: #fff;
}

.technology-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  opacity: 0;
  animation: fadeInBanner 0.8s ease-in forwards;
  animation-delay: 1.8s;
}

.technology-img:hover {
  transform: scale(1.02);
}

.technology-video {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  opacity: 0;
  animation: fadeInBanner 0.8s ease-in forwards;
  animation-delay: 2.2s;
}

.technology-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ===== Second Section Styles ===== */
.user-friendly-section {
  /* background: #fafafa; */
}

.user-friendly-media {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInBanner 0.8s ease-in forwards;
  animation-delay: 1.8s;
}

.product-item {
  width: 100%;
  max-width: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

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

.product-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
  padding: 20px;
  background: #fff;
}

.product-description {
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.product-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #e67e22;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.product-features {
  font-size: 1rem;
  color: #666;
  line-height: 1.4;
}

/* ===== Third Section Styles ===== */
.workflow-section {
  background: #fff;
}

.workflow-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.workflow-img:hover {
  transform: scale(1.02);
}

/* ===== Responsive Design for Technology Page ===== */
@media (max-width: 1024px) {
  .section {
    padding: 12vh 3vw 60px 3vw;
  }
  
  .section-content {
    gap: 4vw;
    min-height: 60vh;
  }
  
  .section-text {
    padding-right: 1rem;
  }
  
  .section-text h1,
  .section-text h2 {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 10vh 4vw 60px 4vw;
    min-height: auto;
  }
  
  .section-content {
    flex-direction: column;
    gap: 4vh;
    text-align: center;
    min-height: auto;
  }
  
  .section-text {
    padding-right: 0;
    max-width: none;
    order: 2;
  }
  
  .section-text h1,
  .section-text h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 1em;
  }
  
  .section-text p {
    text-align: center;
    margin-bottom: 1.2em;
  }
  
  .section-media {
    order: 1;
    max-width: none;
  }
  
  .user-friendly-media {
    gap: 1.5rem;
  }
  
  .product-item {
    max-width: 450px;
    margin: 0 auto;
    min-height: 250px;
  }
  
  .product-image {
    height: 150px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 90px 5vw 40px 5vw;
  }
  
  .technology-img,
  .technology-video,
  .workflow-img {
    max-width: 90vw;
  }
  
  .section-text {
    font-size: 1em;
  }
  
  .section-text h1,
  .section-text h2 {
    font-size: 1.8em;
  }
  
  .product-item {
    max-width: 90vw;
    min-height: 220px;
  }
  
  .product-image {
    height: 120px;
  }
  
  .product-title {
    font-size: 1.1rem;
  }
  
  .product-features {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 12vh 2vw 4vh 2vw;
  }
}

/* Large Screen Optimization */
@media (min-width: 1400px) {
  .section {
    padding: 16vh 2vw 6vh 2vw;
  }
}