/* Solid button (Enroll Today) */
.btn-primary {
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}


/* Outline button (Learn More) */
.btn-outline {
  background-color: transparent;
  color: #0A3D91;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Mobile layout adjustments */
@media (max-width: 768px) {
  /* Heading smaller only on mobile */
  .wp-block-heading {
    font-size: 28px !important;
    line-height: 1.2 !important;
    text-align: center;
  }

  /* Keep buttons side by side and centered */
  .wp-block-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 15px;
    flex-wrap: wrap;
  }

  .wp-block-button {
    flex: 0 1 auto !important;
  }

  /* Center text */
  .wp-block-paragraph {
    text-align: center !important;
    margin-bottom: 20px;
  }

  /* Center image */
  .wp-block-image {
    display: flex;
    justify-content: center;
  }
}

/* Fix heading on mobile */
@media (max-width: 768px) {
  .wp-block-heading {
    font-size: 24px !important;   /* smaller font size */
    line-height: 1.3 !important;  /* tighter line spacing */
    word-break: normal !important; /* prevent breaking words */
    white-space: normal !important; /* allow natural wrapping */
    text-align: center !important;
    margin-bottom: 15px !important;
  }

  /* Keep paragraph centered */
  .wp-block-paragraph {
    text-align: center !important;
    margin-bottom: 20px !important;
  }

  /* Buttons side by side */
  .wp-block-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 12px;
    flex-wrap: wrap;
  }
}

/* Fix mobile stacking issue */
@media (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column !important;
    margin: 0 auto;
    width: 100% !important;
  }

  .wp-block-column {
    width: 100% !important;
    max-width: 100% !important;
  }

  .wp-block-image img {
    max-width: 100% !important;
    height: auto !important;
  }
}

.equal-services {
  display: flex;
  align-items: stretch;
}
.equal-services > .wp-block-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonials .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Force all sections and containers to white background */
.elementor-section, 
.elementor-container, 
.elementor-column-wrap, 
.elementor-widget-wrap {
    background-color: #ffffff !important;
    background-image: none !important;
}

/* Force the site body to white background */
body, .site, .ast-container {
    background-color: #ffffff !important;
}
