/* 🌟 IPPBX Tab Navigation */
.tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    background-color: #0c1b33;
    border-bottom: 1px solid #1f2d4d;
  
    /* ✅ Sticky Tab */
    position: sticky;
    top: 60px; /* ปรับตาม header ที่ใช้ */
    z-index: 900;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  
  /* 🔘 Tab Buttons */
  .tab-nav a {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    background-color: #111e38;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #2a3d65;
    transition: 0.3s ease;
  }
  
  .tab-nav a:hover {
    background-color: #1a2d4e;
    color: #90CAF9;
    transform: translateY(-1px);
  }
  
  /* ✅ Active Tab */
  .tab-nav a.active {
    background-color: #1A73E8;
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 6px rgba(26, 115, 232, 0.5);
  }
  .ippbx-section {
    padding: 40px 20px;
    text-align: center;
  }
  
  .section-title {
    font-size: 1.8rem;
    color: #64B5F6;
    margin-bottom: 10px;
  }
  
  .section-subtitle {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.6;
  }
  
  .ippbx-feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
  }
  
  .feature-item {
    flex: 1 1 200px;
    min-width: 180px;
    text-align: center;
  }
  
  .feature-item img {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }
  
  .feature-item h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 5px;
  }
  
  .feature-item p {
    color: #aaa;
    font-size: 0.95rem;
  }
  .features-overview {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .feature-subtitle {
    font-size: 1.2rem;
    color: #64B5F6;
    margin-bottom: 10px;
  }
  
  .feature-users {
    list-style: none;
    padding: 0;
    color: #ccc;
  }
  
  .feature-users li {
    margin: 5px 0;
    font-size: 0.95rem;
  }
  
  .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
  }
  
  .feature-card {
    background-color: #111827;
    border: 1px solid #2a2f45;
    border-radius: 10px;
    padding: 20px;
    width: 220px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
  }
  
  .feature-card span {
    font-size: 1.2rem;
    color: #4CAF50;
    display: block;
    margin-bottom: 10px;
  }
  
  .feature-card h4 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1.1rem;
  }
  
  .feature-card p {
    color: #aaa;
    font-size: 0.9rem;
  }
  .pricing-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
  }
  
  .pricing-table,
  .addon-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #111827;
    border: 1px solid #2a2f45;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  }
  
  .pricing-table th,
  .pricing-table td,
  .addon-table th,
  .addon-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #2a2f45;
    font-size: 0.95rem;
    color: #ccc;
  }
  
  .pricing-table th,
  .addon-table th {
    background-color: #1a2a3f;
    color: #90CAF9;
  }
  
  .pricing-table .highlight {
    background-color: #1c253a;
    font-weight: bold;
  }
  
  .addon-title {
    margin-top: 40px;
    font-size: 1.2rem;
    color: #90CAF9;
    text-align: center;
  }
  
  .pricing-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
  }
  
  .pricing-table,
  .addon-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #111827;
    border: 1px solid #2a2f45;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  }
  
  .pricing-table th,
  .pricing-table td,
  .addon-table th,
  .addon-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #2a2f45;
    font-size: 0.95rem;
    color: #ccc;
  }
  
  .pricing-table th,
  .addon-table th {
    background-color: #1a2a3f;
    color: #90CAF9;
  }
  
  .pricing-table .highlight {
    background-color: #1c253a;
    font-weight: bold;
  }
  
  .addon-title {
    margin-top: 40px;
    font-size: 1.2rem;
    color: #90CAF9;
    text-align: center;
  }
  
  .pricing-note {
    padding: 12px 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 700px;
    text-align: center;
  }
  
  .pricing-note.green {
    background-color: #e0f7fa;
    color: #00796b;
  }
  
  .pricing-note.yellow {
    background-color: #fff9c4;
    color: #f57f17;
  }
  
  .pricing-summary ul {
    list-style: none;
    margin-top: 30px;
    padding-left: 0;
    text-align: center;
    color: #ccc;
  }
  
  .pricing-summary li {
    margin: 6px 0;
  }
  .architecture-layers {
    margin: 20px auto;
    padding-left: 25px;
    color: #ccc;
    font-size: 0.95rem;
    max-width: 900px;
    line-height: 1.8;
  }
  
  .architecture-layers li {
    margin-bottom: 8px;
  }
  
  .recommendation-box {
    background: #102740;
    border-left: 4px solid #42A5F5;
    padding: 20px;
    margin-top: 30px;
    border-radius: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .recommendation-box h4 {
    color: #90CAF9;
    margin-bottom: 12px;
  }
  
  .recommendation-box ul {
    list-style-type: '✔ ';
    padding-left: 20px;
    color: #ccc;
  }
  
  .recommendation-box li {
    margin-bottom: 6px;
  }
  .partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 30px auto;
    max-width: 1100px;
  }
  
  .partner-card {
    background-color: #111827;
    border: 1px solid #2a2f45;
    border-radius: 10px;
    padding: 20px;
    flex: 1 1 350px;
    /* max-width: 320px; */
    color: #ccc;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  
  .partner-card h3 {
    color: #64B5F6;
    margin-bottom: 12px;
    font-size: 1.2rem;
  }
  
  .partner-card ul {
    list-style-type: '✔ ';
    padding-left: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .cta-box {
    text-align: center;
    margin-top: 40px;
    padding: 30px 20px;
    background-color: #1e2a3a;
    border-left: 6px solid #42A5F5;
    border-radius: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #eee;
  }
  
  .cta-box .btn-primary {
    margin-top: 15px;
    font-size: 1rem;
    padding: 12px 28px;
  }
  .tab-content-container {
    padding: 40px 20px;
    max-width: 95%;
    margin: 0 auto;
}

  
.section-header {
  font-size: 1.8rem;
  font-weight: 600;
  color: #64b5f6;
  text-align: center;
  margin-top: 60px;     /* ✅ เพิ่มบรรทัดนี้ */
  margin-bottom: 40px;
}

  
  .card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1100px;     /* ✅ จำกัดความกว้าง */
    margin: 30px auto;     /* ✅ อยู่กลางจอ */
  }
  
  .card {
    background-color: #111827;
    border: 1px solid #2a2f45;
    border-radius: 10px;
    padding: 20px;
    flex: 1 1 350px;
    /*max-width: 350px;*/
    color: #ccc;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    text-align: left;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .card span {
    font-size: 1.5rem;
    color: #64B5F6;
    display: block;
    margin-bottom: 10px;
  }
  
  .card h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 5px;
  }
  
  .card p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
 
  .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-card {
    background-color: #111827;
    border: 1px solid #2a2f45;
    border-radius: 12px;
    padding: 24px;
    flex: 1 1 260px;
    max-width: 300px;
    min-height: 150px;
    text-align: center;
    color: #ccc;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-4px);
  }
  
  .feature-card span {
    font-size: 1.5rem;
    color: #4CAF50;
    display: block;
    margin-bottom: 12px;
  }
  
  .feature-card h4 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1.1rem;
  }
  
  .feature-card p {
    color: #aaa;
    font-size: 0.9rem;
  }
  .architecture-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px auto;
    max-width: 1000px;
    background-color: #111827;
    color: #ccc;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 1px solid #2a2f45;
  }
  
  .architecture-table th {
    background-color: #1a2a3f;
    color: #90CAF9;
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #2a2f45;
  }
  
  .architecture-table td {
    padding: 12px;
    border-bottom: 1px solid #2a2f45;
  }
  
  .architecture-table tr:hover {
    background-color: #1e293b;
  }

  