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

body {
  font-family: "Comfortaa", sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Header styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  background-image: url(images/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  height: 55px;
  width: 15%;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
}

.cta-button {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #555;
}

/* Hero section styles */
#hero {
  padding: 100px 0;
  background-color: #f8f8f8;
}

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

.hero-content {
  flex: 1;
  padding-right: 40px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  width: 560px;
  height: 560px;
  object-fit: cover;
}

/* About section styles */
#about {
  padding: 80px 0;
}

.about-columns {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.about-column {
  flex: 1;
  padding: 0 20px;
}

/* Capabilities section styles */
#capabilities {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.capabilities-columns {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.capability {
  flex: 1;
  padding: 20px;
  background-color: #eee;
  margin: 0 10px;
  border-radius: 5px;
}

/* NLP section styles */
#nlp {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 2px;
  background-color: #333;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: #fff;
  border: 2px solid #333;
  top: 22px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

/* Products section styles */
#products {
  padding: 80px 0;
}

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

.product-card {
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 8px;
}

.product-card h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #333;
}

.product-tagline {
  font-size: 16px;
  color: #666;
  font-weight: 600;
  margin-bottom: 15px;
}

.product-card > p:not(.product-tagline) {
  margin-bottom: 20px;
  line-height: 1.7;
}

.product-features {
  list-style: none;
  margin: 20px 0;
}

.product-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #555;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #333;
  font-weight: bold;
}

.product-link {
  display: inline-block;
  margin-top: 15px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.product-link:hover {
  transform: translateX(5px);
}

/* Data Engineering section styles */
#data-engineering {
  padding: 80px 0;
}

.data-engineering-content {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.data-engineering-image {
  flex: 1;
  padding-right: 40px;
}

.data-engineering-image img {
  width: 560px;
  height: 420px;
  object-fit: cover;
}

.data-engineering-topics {
  flex: 1;
}

.topic {
  margin-bottom: 30px;
  padding-left: 20px;
  border-left: 2px solid #333;
}

.topic:nth-child(2) {
  margin-left: 20px;
}

.topic:nth-child(3) {
  margin-left: 40px;
}

.topic:nth-child(4) {
  margin-left: 60px;
}

/* Footer styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ccc;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #ccc;
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
}

.social-icons {
  display: flex;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: #333;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  text-decoration: none;
  font-weight: bold;
}

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

/* Responsive styles */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 20px;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin-left: 0;
    margin-bottom: 10px;
  }

  #hero .container {
    flex-direction: column;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .about-columns,
  .capabilities-columns {
    flex-direction: column;
  }

  .about-column,
  .capability {
    margin-bottom: 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline-item::after {
    left: 21px;
  }

  .timeline-item:nth-child(even) {
    left: 0%;
  }

  .data-engineering-content {
    flex-direction: column;
  }

  .data-engineering-image {
    margin-bottom: 40px;
    padding-right: 0;
  }

  .topic,
  .topic:nth-child(2),
  .topic:nth-child(3),
  .topic:nth-child(4) {
    margin-left: 0;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-logo,
  .footer-links,
  .footer-social {
    margin-bottom: 30px;
  }
}

/* Animation styles */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

