.mysql-hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: linear-gradient(0deg, #f8fafc, #e0f2fe);
  flex-wrap: wrap;
  min-height: 500px;
}

.mysql-hero-section-text {
  font-size: 1rem;
  color: var(--gray);
}

.main-illustration {
  width: 100%;
  object-fit: contain;
  display: block;
}

/* about section */
.mysql-about-section {
  text-align: center;
}

.mysql-about-section p {
  color: var(--gray);
  font-size: 1rem;
}

.mysql-about-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mysql-about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.mysql-about-icon {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary); 
  flex-shrink: 0;
}

.mysql-about-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray);
  font-weight: 700;
}

/* benefits section */
.mysql-benefits-section {
  text-align: center;
}

.mysql-benefits-card {
  border-bottom: 1px solid var(--secondary);
  border-left: 4px solid var(--secondary);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  height: 110px;
  text-align: start;
}

.mysql-benefits-card::before {
  content: '✔';
  font-size: 16px;
  color: white;
  background-color: var(--secondary);
  ;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -14px;
  left: -14px;
  box-shadow: 0 0 0 4px white;
}

.mysql-benefits-card h5 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.mysql-benefits-card p {
  color: var(--gray);
  font-size: 1rem;
}

.mysql-benefits-section h3 {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--secondary);
  text-align: start;
  margin-bottom: 20px;
}

/* process section */
.mysql-process-section {
  text-align: center;
}

.mysql-process-step-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Top Half */
.mysql-process-card-top {
  background: #fff;
  padding: 20px 15px 15px;
  border: 2px dashed var(--primary);
  border-bottom: none;
  text-align: center;
  position: relative;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  height: 100%;
}

.mysql-process-step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 2;
}

.mysql-process-step-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.mysql-process-card-top h5 {
  margin: 0;
  font-weight: 600;
}

/* Bottom Half */
.mysql-process-card-bottom {
  padding: 20px 15px;
  background: #fefefe;
  border-bottom: 4px solid var(--primary);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  text-align: center;
  height: 100%;
}

.mysql-process-card-bottom p {
  font-size: 1rem;
  color: var(--gray);
}

/* Odd cards - primary color */
.col-lg-4:nth-child(odd) .mysql-process-card-top {
  border-color: var(--primary);
}

.col-lg-4:nth-child(odd) .mysql-process-step-number {
  border-color: var(--primary);
  color: var(--primary);
}

.col-lg-4:nth-child(odd) .mysql-process-step-icon {
  color: var(--primary);
}

.col-lg-4:nth-child(odd) .mysql-process-card-bottom {
  border-color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Even cards - secondary color */
.col-lg-4:nth-child(even) .mysql-process-card-top {
  border-color: var(--secondary);
}

.col-lg-4:nth-child(even) .mysql-process-step-number {
  border-color: var(--secondary);
  color: var(--secondary);
}

.col-lg-4:nth-child(even) .mysql-process-step-icon {
  color: var(--secondary);
}

.col-lg-4:nth-child(even) .mysql-process-card-bottom {
  border-color: var(--secondary);
  border-bottom-color: var(--secondary);
}

@media (max-width: 1024px) {
  .mysql-hero-section {
    text-align: start;
  }

  .mysql-hero-image-wrapper {
    width: 55%;
  }
}

@media (max-width: 992px) {
  .mysql-hero-section {
    text-align: center;
  }

  .mysql-benefits-card {
    height: 140px;
  }
  
  .main-illustration {
    width: 90%;
    object-fit: contain;
    display: block;
  }
}

@media (max-width: 576px) {
  .mysql-hero-section {
    padding: 30px 15px;
    text-align: center;
  }

  .mysql-hero-image-wrapper {
    max-width: 320px;
    margin-top: 20px;
  }
}