/* Navbar */
.navbar {
    background-color: #284b80; /* blue background */
}
.navbar-brand {
    color: #fff !important;
    font-weight: bold;
}

/* Hero section */
.hero-section {
    background: url('../img/hero-bg.png') center center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 80px 20px 220px 20px;
    position: relative;
}
.hero-section::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); /* dark overlay */
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
}
.hero-section p {
    font-size: 1.2rem;
    margin: 20px 0;
}
.btn-hero {
    background: #fff;
    color: #284b80;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 5px;
}

/* Content section */
.content-section {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
    z-index: 10;
    position: relative;
}
.content-section h2 {
    color: #284b80;
    font-weight: 700;
    margin-bottom: 20px;
}
.content-section p {
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}
.overlapse {
    margin-top: -100px;
    background-color: white;
    padding: 40px;
    border-radius: 20px;
}


.solution-heading {
    font-size: 2rem;
}
.text-gradient {
    background: linear-gradient(90deg, #00bfff, #00ff99);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.solution-box {
    background: rgb(255 255 255 / 38%);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.solution-box:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}
.solution-box h5 {
    margin-bottom: 10px;
}
.solution-box i {
    color: #00bfff;
}

table {
    border-collapse: collapse;
    /* margin: 20px 0; Removed this as flexbox is handling centering */
    /* For centering the table itself when not using flex on body: */
    /* margin-left: auto; */
    /* margin-right: auto; */
  }
  th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    vertical-align: middle;
  }
  th {
    background-color: #f2f2f2;
    font-weight: bold;
  }
  /* Styling for the very top header row with the dark blue background */
  tr:first-child th {
    background-color: #366092; /* Dark blue from the image */
    color: white;
    text-align: center;
  }
  /* Styling for the second header row (Starter CE, Advanced CE, etc.) */
  tr:nth-child(2) th {
    background-color: #6c8cb7; /* Lighter blue from the image */
    color: white;
    text-align: center;
  }
  /* Styling for the "Feature Comparison Matrix" cell to merge */
  #feature-matrix-header {
    background-color: #366092; /* Dark blue from the image */
    color: white;
    text-align: left;
    vertical-align: middle;
    padding-left: 15px;
  }
  /* Center align the content in the data columns (Starter CE, Advanced CE, Enterprise PE, Ultimate PE) */
  tbody td:not(:first-child) {
    text-align: center;
  }
  /* Also center align the text in the row directly below the main headers, which contains "ทดลองใช้งาน, PoC", etc. */
  tbody tr:first-child td {
    text-align: center;
  }

  /* Style for the checkmark with a blue circle background */
  .checkmark {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #366092;
    color: white;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    margin: 0 auto;
  }

  /* Style for the 'x' mark to match the checkmark's centering */
  .x-mark {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1;
    margin: 0 auto;
  }

  /* Style for Advanced/Basic text to align with centered items */
  .status-text {
    display: inline-block;
    vertical-align: middle;
  }

.case-item {
  padding: 0 10px; /* Adds 10px space on left and right */
}

.case-carousel {
  margin: 0 -10px; /* Cancels out the padding so alignment stays clean */
}