/* Reset and basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  background-color: white;
  padding: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.logo {
  height: 60px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 18px;
}

.navbar a:hover {
  color: rgb(70, 178, 66);
}

/* About Us Section */
.about {
  padding: 60px 0;
  background-color: #ffffff;
}

.about h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about .text {
  width: 50%;
  padding-right: 20px;
}

.about .image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
  padding: 60px 0;
  background-color: #f1f1f1;
}

.services h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.services-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.service-item h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.service-item p {
  font-size: 16px;
}

/* Technology Benefits Section */
.benefits {
  padding: 60px 0;
  background: linear-gradient(135deg, #f0f0f0, #ffffff);
}

.benefits h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.benefits-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.benefit-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.benefit-item h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.benefit-item p {
  font-size: 16px;
}

/* Powerful Business Solutions Section */
.solutions {
  padding: 60px 0;
  background: #f9f9f9;
  background-image: url('https://toxscube.com/images/polygons-1.jpg');
}

.solutions h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.solutions-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.solution-item {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.solution-item h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.solution-item p {
  font-size: 16px;
}

/* Process Automation Section */
.process-automation {
  padding: 60px 0;
  background: #ffffff;
  background-image: url('https://toxscube.com/images/sparkling-water-droplets.jpg');
  background-size: cover;
}

.process-automation h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.automation-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.automation-item {
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.automation-item h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.automation-item p {
  font-size: 16px;
}

/* Digital Solutions to Grow Business Section */
.digital-solutions {
  padding: 60px 0;
  background: #f1f1f1;
  background-image: url('https://toxscube.com/images/dark-matter.png');
}

.digital-solutions h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.digital-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.digital-item {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.digital-item h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.digital-item p {
  font-size: 16px;
}

/* Footer Section */
.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}


/* Contact Section */
.contact {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.contact h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.contact p {
  font-size: 18px;
  color: #333;
}

.contact a {
  color: #FF6347;
  font-weight: bold;
  font-size: 18px;
}

.contact a:hover {
  text-decoration: underline;
}

/* Footer styles */
.footer {
  background-color: rgb(70, 178, 66);
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer p {
  font-size: 16px;
}

/* Media Queries for Responsiveness */

/* Tablet (max-width: 768px) */
@media only screen and (max-width: 768px) {
  .header-container {
    /* flex-direction: column; */
    text-align: center;
  }

  .navbar ul {
    flex-direction: column;
    gap: 15px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about .text {
    width: 100%;
    padding-right: 0;
  }

  .services-content {
    grid-template-columns: 1fr;
  }

  .solutions-content, .automation-content, .digital-content {
    grid-template-columns: 1fr;
  }

  .solution-item, .automation-item, .digital-item, .benefit-item {
    padding: 20px;
  }

  .benefits-content {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 20px;
  }
}

/* Mobile (max-width: 480px) */
@media only screen and (max-width: 480px) {
  .navbar a {
    font-size: 16px;
  }

  .about h2, .services h2, .benefits h2, .solutions h2, .process-automation h2, .digital-solutions h2 {
    font-size: 28px;
  }

  .service-item h3, .solution-item h3, .automation-item h3, .digital-item h3 {
    font-size: 20px;
  }

  .service-item p, .solution-item p, .automation-item p, .digital-item p {
    font-size: 14px;
  }

  .footer {
    padding: 30px 15px;
  }
}