/* ---------- Global Styles ---------- */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #ffffff;
}

/* ---------- Navigation ---------- */
nav {
  background-color: #1e2a91;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: border-bottom 0.2s;
}

nav a:hover,
nav a.active {
  border-bottom: 2px solid #fff;
}

/* ---------- Header Banner ---------- */
header {
  text-align: center;
  color: #fff;
  padding: 100px 10% 80px;
  margin-top: 50px;
  background: linear-gradient(90deg, #a067e8, #5a74ff, #4caf50);
}

/* Home banner padding refinement */
header.home-banner {
  padding: 70px 6% 60px;
}

/* Home banner: lavender → deep purple */
header.home-banner {
  background: linear-gradient(90deg, #e4c6ff 0%, #6c1fb7 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding: 100px 10% 80px;
}

header.home-banner .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

header.home-banner h1 {
  margin: 0;
  font-size: 2.6em;
}

header.home-banner p {
  font-style: italic;
  margin-top: 10px;
  color: #f5f5f5;
}

/* ---------- Logo ---------- */
.logo {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.05);
}

/* Responsive header */
@media (max-width: 768px) {
  header.home-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .logo {
    width: 100px;
  }
}

/* ---------- Page Color Bars ---------- */
.color-bar {
  height: 30px;
  width: 100%;
}
.purple { background: linear-gradient(90deg, #b57cff, #d8b4fe); }
.blue   { background: linear-gradient(90deg, #5a74ff, #a0b8ff); }
.green  { background: linear-gradient(90deg, #4caf50, #8ee09e); }

/* ---------- Sections ---------- */
section {
  padding: 60px 10%;
  text-align: center;
}
section h2 {
  color: #2d3acf;
  margin-bottom: 20px;
}

/* ---------- Features (Home) ---------- */
.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}
.feature {
  flex: 1 1 250px;
  background-color:#FFFFFF ;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.feature h3 { text-align: center; margin-bottom: 15px; }
.feature-purple { border: 2px solid #a067e8; }
.feature-blue   { border: 2px solid #5a74ff; }
.feature-green  { border: 2px solid #4caf50; }

/* ---------- CTA Oval Button ---------- */
.cta {
  text-align: center;
  margin-top: 60px;
}
.cta-heading {
  font-size: 1.4em;
  font-weight: 600;
  color: #2d3acf;
  margin-bottom: 20px;
}
.cta-oval {
  display: inline-block;
  border: 2px solid #a067e8;
  border-radius: 50px;
  padding: 14px 36px;
  color: #4a148c;
  background-color: #f9f6ff;
  text-decoration: none;
  font-size: 1em;
  transition: all 0.3s ease;
}
.cta-oval:hover {
  background-color: #a067e8;
  color: white;
  box-shadow: 0 0 10px rgba(160, 103, 232, 0.5);
}

/* ---------- Table Styling (Set Page) ---------- */
.table-container {
  overflow-x: auto;
  margin-top: 30px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1em;
}
th, td {
  padding: 12px 15px;
  border: 1px solid #ccc;
}
th {
  background: linear-gradient(90deg, #5a74ff, #a0b8ff);
  color: #fff;
  text-align: left;
}
tr:nth-child(even) { background-color: #f9f9f9; }
tr:hover { background-color: #f1f1ff; }
a.table-link {
  color: #2d3acf;
  text-decoration: none;
}
a.table-link:hover { text-decoration: underline; }


/* ---------- Innovation Page Banner (Unified Gradient) ---------- */
.innovation-banner {
  background: linear-gradient(90deg, #a067e8, #5a74ff, #4caf50);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding: 80px 8% 60px;
  color: #fff;
}

.innovation-banner h1 {
  margin: 0;
  font-size: 2.5em;
  color: #fff;
}

.innovation-banner p {
  margin-top: 10px;
  font-style: italic;
  color: #f5f5f5;
}
/* ---------- Footer ---------- */
footer {
  background: linear-gradient(90deg, #a067e8, #5a74ff, #4caf50);
  color: white;
  text-align: center;
  padding: 20px 10%;
  margin-top: 40px;
  font-size: 0.9em;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .features { flex-direction: column; align-items: center; }
  header { padding: 80px 5%; }
  nav ul { flex-wrap: wrap; }
}
/* Robot Greeting Section (Left Aligned) */
.robot-container {
  text-align: left;
  margin-top: -20px;
  margin-bottom: 20px;
  margin-left: 60px;
}

.robot-hello {
  width: 180px;
  height: auto;
  display: inline-block;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.15));
}
