/* Accordion container */
.accordion-section {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 20px;
  gap: 40px;
  align-items: flex-start;
  font-family: 'Poppins', sans-serif;
}

/* Left column: image + text */
.accordion-left {
  flex: 1;
  min-width: 300px;
}

.accordion-left p {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.accordion-left img {
  max-width: 100%;
  border-radius: 8px;
}

/* Right column: accordion list */
.accordion-right {
  flex: 1;
  min-width: 300px;
}

.accordion-item {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}

.accordion-btn {
  position: relative;
  background: none;
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  padding-left: 35px;
  cursor: pointer;
  color: #444; /* light black (before click) */
  line-height: 1.4;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.accordion-btn.active {
  color: #4ca3dd; /* light blue on active */
}

.accordion-btn:hover {
  color: #4ca3dd; /* same light blue as active */
}

.accordion-btn::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Perfect vertical centering */
  font-size: 22px;
  transition: transform 0.3s ease;
}

.accordion-btn.active::before {
  content: '–';
}

/* Accordion Content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.accordion-content.active {
  max-height: 3000px; /* Adjust as needed */
  padding: 10px 0;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .accordion-section {
    flex-direction: column;
  }

  .accordion-left, .accordion-right {
    width: 100%;
  }
}

.accordian-bullets {
  padding-left: 20px;
  margin-bottom: 15px;
  color: #444;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
  text-align: left;
  padding-left: 20px; /* ensures bullets show correctly */
  margin: 10px 0;
  list-style-position: outside;
}

.accordion-bullets li {
  margin-bottom: 10px; /* spacing between bullet items */
  line-height: 1.6;
  color: #444;
  font-family: 'Poppins', sans-serif;
}

.filter-function-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
  margin: 30px 0;
}

.filter-function-table th,
.filter-function-table td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  vertical-align: top;
  text-align: left;
}

.filter-function-table th {
  background-color: #333;
  color: #fff;
  font-weight: 600;
}

.filter-function-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.filter-function-table tr:hover {
  background-color: #f1f1f1;
}

.table-note {
  margin-top: 10px;
  color: #666;
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
}

.certification-section {
  background-color: #fff;
  
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.cert-block {
  margin-bottom: 25px;
}

.cert-block h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #333;
}

.cert-block p {
  font-size: 15px;
  margin-bottom: 10px;
  color: #666;
}

.cert-block details {
  margin-top: 10px;
  padding-left: 15px;
}

.cert-block summary {
  font-weight: bold;
  color: #007bff;
  cursor: pointer;
  margin-bottom: 5px;
}

.cert-block summary:hover {
  color: #0056b3;
}

.cert-list {
  padding-left: 20px;
  margin-top: 10px;
  color: #444;
  line-height: 1.6;
}

.cert-list li {
  margin-bottom: 8px;
}

.certification-section,
.certification-section * {
  text-align: left !important;
}

.link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 10px;
}

.custom-button {
  padding: 10px 20px;
  background: linear-gradient(to right, #4ca3dd, #4f90d4);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.custom-button:hover {
  background: linear-gradient(to right, #306dab, #3a83c5);
}

.accordion-video iframe {
  border-radius: 8px;
}
