/* General Styles */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header & Navigation */
.header {
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.logo img {
  max-height: 50px;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}
.nav-list li {
  margin: 0;
}
.nav-list li a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}
.nav-list li a:hover {
  color: #6A1B9A;
}
.nav-actions {
  display: none;
  align-items: center;
}
.login-link {
  margin-left: 1em;
  color: #6A1B9A;
  text-decoration: none;
}
.login-link:hover {
  text-decoration: underline;
}
.hamburger {
  font-size: 1.5em;
  cursor: pointer;
  color: #333;
  display: block;
  position: absolute;
  top: 15px;
  right: 20px;
}

/* Mobile nav open state */
body.nav-open .navbar {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  align-items: center;
  border-top: 1px solid #e0e0e0;
}
body.nav-open .navbar .nav-list,
body.nav-open .navbar .nav-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
}
body.nav-open .nav-list li a {
  padding: 10px;
}

/* Hero Section */
.hero {
  background: #f5f5f5;
  padding: 60px 0;
}
.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.hero-text {
  flex: 1 1 400px;
  text-align: center;
  margin-bottom: 30px;
}
.hero-text .tagline {
  font-weight: 600;
  color: #555;
  font-size: 1.1em;
  margin-bottom: 0.5em;
}
.hero-text h1 {
  font-size: 2.5em;
  line-height: 1.2;
  margin-bottom: 0.5em;
}
.hero-text p {
  font-size: 1.1em;
  margin-bottom: 1em;
}
.hero-image {
  flex: 1 1 400px;
  text-align: center;
}
.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Vision Section */
.vision {
  background: #fff;
  padding: 40px 0;
}
.vision-content {
  text-align: center;
}
.vision-content h2 {
  margin-bottom: 20px;
}
.vision-text {
  font-size: 1.2em;
  margin-bottom: 20px;
}
.vision-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.vision-images img {
  width: 48%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

/* Solutions (Retail, Restaurant, Electronics) */
.solutions {
  background: #f5f5f5;
  padding: 40px 0;
}
.solution-block {
  margin-bottom: 40px;
}
.solution-block h2 {
  color: #6A1B9A;
  margin-bottom: 10px;
}
.solution-block .subtitle {
  font-weight: 500;
  margin-bottom: 20px;
}
.features-types {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features, .business-types {
  flex: 1 1 300px;
}
.features ul, .business-types ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 10px 0;
}
.features li, .business-types li {
  margin-bottom: 5px;
}
.learn-more {
  font-weight: 600;
  color: #6A1B9A;
  text-decoration: none;
}
.learn-more:hover {
  text-decoration: underline;
}

/* Products & Services Section */
.products-services {
  background: #fff;
  padding: 40px 0;
}
.products-services h2 {
  text-align: center;
  margin-bottom: 30px;
}
.product-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.product-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  flex: 1 1 100%;
}
.product-card h3 {
  margin-top: 0;
  color: #6A1B9A;
}
.product-card img {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
}
.product-card .product-tagline {
  font-weight: 600;
  margin: 10px 0;
}
.product-card .product-description {
  font-size: 0.95em;
  color: #555;
}

/* All-In-One POS Solution */
.all-in-one {
  background: #f5f5f5;
  padding: 40px 0;
}
.all-in-one h2 {
  text-align: center;
  margin-bottom: 30px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 100%;
}
.feature-item h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #6A1B9A;
}
.feature-item p {
  margin: 0;
  font-size: 0.95em;
}

/* Partners Section */
.partners {
  background: #fff;
  padding: 40px 0;
}
.partners h2 {
  text-align: center;
  margin-bottom: 20px;
}
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}
.partner-logos img {
  max-height: 50px;
  width: auto;
}

/* Testimonials Section */
.testimonials {
  background: #f5f5f5;
  padding: 40px 0;
}
.testimonials h2 {
  text-align: center;
  margin-bottom: 30px;
}
.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.testimonial {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}
.testimonial-text {
  font-style: italic;
  margin: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 15px;
}
.testimonial-author img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
}
.testimonial-author p {
  margin: 0;
  font-weight: 600;
}

/* Contact Section */
.contact {
  background: #fff;
  padding: 40px 0;
}
.contact h2 {
  text-align: center;
  margin-bottom: 20px;
}
.contact-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
}
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
}
.contact-info {
  flex: 1 1 250px;
  font-size: 1em;
}
.contact-info p {
  margin: 5px 0;
}
.contact-form {
  flex: 1 1 400px;
}
.form-row {
  display: flex;
  gap: 20px;
}
.form-group {
  flex: 1 1 100px;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 5px;
}
.form-group input,
.form-group textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  font: inherit;
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.submit-btn {
  background: #6A1B9A;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
}
.submit-btn:hover {
  opacity: 0.9;
}

/* About Us Section */
.about {
  background: #f5f5f5;
  padding: 40px 0;
}
.about h2 {
  text-align: center;
  margin-bottom: 20px;
}
.about p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1em;
  text-align: center;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}
.stat {
  flex: 1 1 120px;
  text-align: center;
}
.stat h3 {
  margin: 0;
  font-size: 2em;
  color: #6A1B9A;
}
.stat p {
  margin: 5px 0 0;
  font-weight: 600;
  color: #555;
}
.sales-cta {
  text-align: center;
}
.sales-cta p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

/* Footer */
.footer {
  background: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
.footer a {
  color: #fff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* Buttons (common) */
.btn {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
}
.primary-btn {
  background: #6A1B9A;
  color: #fff;
}
.primary-btn:hover {
  opacity: 0.9;
}

/* Responsive Media Queries */
@media (min-width: 600px) {
  .feature-item {
    flex: 1 1 calc(50% - 20px);
  }
  .product-card {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (min-width: 768px) {
  .hero-text {
    text-align: left;
    margin-bottom: 0;
  }
  .hero-content {
    flex-wrap: nowrap;
  }
  .vision-images img {
    width: calc(33.33% - 10px);
  }
  .navbar .nav-list {
    display: flex;
    flex-direction: row;
  }
  .navbar .nav-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .hamburger {
    display: none;
  }
  .contact-intro, .about p {
    text-align: left;
  }
}
@media (min-width: 900px) {
  .product-card {
    flex: 1 1 calc(25% - 20px);
  }
}
@media (min-width: 1200px) {
  .vision-images img {
    width: calc(20% - 10px);
  }
}
