/* ---------- GLOBAL ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2em; /* slightly smaller for phones */
}

/* ---------- ANNOUNCEMENT ---------- */
.announcement {
  background: linear-gradient(90deg, #e68900, #e64a19);
  color: white;
  padding: 0.6em 1em;
  text-align: center;
  font-size: 0.9em;
}

.announcement a {
  color: #fff176;
  text-decoration: none;
  font-weight: 600;
  margin-left: 1em;
}

/* ---------- HEADER ---------- */
header {
  background: #444;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 0;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.3em;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

header .logo img {
  height: 40px;
  width: auto;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;   /* force horizontal */
  gap: 1em;
  margin: 0;
  padding: 0;
  white-space: nowrap;   /* stops wrapping into new lines */
}



header nav li {
  display: inline-block; /* extra guarantee */
}
header nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}


header nav a:hover {
  color: #ffeb3b;
}

/* ---------- HERO ---------- */
.hero {
  text-align: center;
  padding: 4em 1.5em;
  background: linear-gradient(135deg, #fff3d6, #ffd9a8, #ffc5b0);
}

.hero h1 {
  font-size: 2.2em;
  margin-bottom: 0.5em;
  color: #d84315;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 1.5em;
  font-size: 1em;
  color: #444;
}

.btn {
  display: inline-block;
  margin: 0.5em;
  padding: 0.8em 1.4em;
  background: linear-gradient(90deg, #e68900, #d84315);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.2s;
}

.btn:hover {
  background: linear-gradient(90deg, #cc7a00, #b71c1c);
}

.stats {
  margin-top: 2.5em;
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}

.stats div {
  text-align: center;
  flex: 1 1 120px;
}

.stats span:first-child {
  font-size: 2em;
  font-weight: bold;
  color: #d84315;
  display: block;
}

/* ---------- SECTIONS ---------- */
section {
  padding: 3em 1.5em;
}

section h2 {
  text-align: center;
  margin-bottom: 1.5em;
  font-size: 1.8em;
  background: linear-gradient(90deg, #e68900, #d84315);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* PRODUCTS / INSIGHTS / APPLICATIONS */
.grid {
  display: grid;
  gap: 1.5em;
}

.products .grid,
.insights .grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.usecases .grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card,
.usecases article {
  background: white;
  border-radius: 10px;
  padding: 1.2em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
  border-top: 5px solid #e68900;
}

.card:hover,
.usecases article:hover {
  transform: translateY(-5px);
}

.card img,
.usecases img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1em;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  background: linear-gradient(90deg, #e68900, #d84315, #f4d03f);
  color: white;
  padding: 2.5em 1.5em;
  border-radius: 12px;
  margin: 3em auto;
  max-width: 900px;
}

.cta h2 {
  margin-bottom: 1em;
  color: white !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
}

/* ---------- CONTACT ---------- */
.contact {
  background: #fffde7;
  padding: 2.5em 1.5em;
  text-align: center;
}

.contact h2 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  color: #e65100;
}

.contact p {
  font-size: 1em;
  margin-bottom: 1.2em;
  color: #555;
}

.contact ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.8em;
  max-width: 400px;
  text-align: left;
}

.contact ul li {
  background: #fff;
  padding: 0.7em 1em;
  margin: 0.5em 0;
  border-radius: 8px;
  border-left: 5px solid #e68900;
  font-size: 0.95em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.contact ul li a {
  color: #d84315;
  text-decoration: none;
  font-weight: 600;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 500px;
  margin: 0 auto;
}

.contact form input,
.contact form textarea {
  padding: 0.8em;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
}

.contact form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact form button {
  padding: 0.8em;
  background: linear-gradient(90deg, #e68900, #d84315);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.contact form button:hover {
  background: linear-gradient(90deg, #cc7a00, #b71c1c);
}

/* ---------- FOOTER ---------- */
.footer {
  background: #111;
  color: #eee;
  padding: 2rem 1rem 1rem;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  width: 90px;
  margin-bottom: 0.8rem;
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #fff;
}

.footer-links .links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00bcd4;
}

.footer-social .social-icons {
  display: flex;
  gap: 1rem;
}

.footer-social img {
  width: 26px;
  filter: invert(90%);
  transition: transform 0.3s ease;
}

.footer-social img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2em;
  }
  .cta h2 {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;  /* keep items in a row */
    flex-wrap: wrap;      /* allow wrapping if too small */
    justify-content: space-between;
    gap: 0.5em;
  }

  header nav ul {
    flex-direction: row;  /* keep nav horizontal */
    flex-wrap: wrap;      /* allow wrapping instead of vertical */
    gap: 0.5em;
    margin-top: 0;        /* remove vertical spacing */
  }
}


  .hero {
    padding: 3em 1em;
  }

  .hero h1 {
    font-size: 1.8em;
  }

  section {
    padding: 2.5em 1em;
  }

  .cta {
    padding: 2em 1.2em;
  }

  .contact h2 {
    font-size: 1.5em;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5em;
  }
  .stats span:first-child {
    font-size: 1.5em;
  }
  .btn {
    width: 100%;
    max-width: 280px;
  }
}
