#selected-plan .content{
  padding: 0;
  text-align: center;
  width: 100%;
}
#selected-plan .aglogo {
  display: block;
  width: 400px;
  max-width: none;
}

/* AGTS Registration Page Styles */

/* Ensure the row has equal height columns */
#agtsplans .row {
  display: flex;
  flex-wrap: wrap;
}

#agtsplans .col-md-6 {
  display: flex;
  flex-direction: column;
}

.agts-certificate,
.agts-masters {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%; /* Take full height of parent */
  min-height: 600px; /* Ensure minimum height */
  display: flex;
  flex-direction: column;
}

.agts-certificate:hover,
.agts-masters:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.agts-certificate h3,
.agts-masters h3 {
  color: #333;
  font-size: 24px;
  margin-top: 20px;
  font-weight: bold;
}

.agts-certificate h4,
.agts-masters h4 {
  color: #666;
  font-size: 18px;
  margin-bottom: 20px;
}

.agts-certificate ul,
.agts-masters ul {
  text-align: left;
  padding-left: 20px;
  margin-bottom: 20px;
  flex: 1; /* Allow the list to take up available space */
}

.agts-certificate ul li,
.agts-masters ul li {
  margin-bottom: 10px;
  color: #555;
}

.agts-certificate .button,
.agts-masters .button {
  background-color: #780f31;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  flex-shrink: 0; /* Prevent shrinking */
  align-self: center; /* Center horizontally */
}

.agts-certificate .button:hover,
.agts-masters .button:hover {
  background-color: #c0392b;
}

.line {
  height: 1px;
  background-color: #eee;
  width: 100%;
  margin-top: auto; /* Push to bottom of flex container */
}

.spacer15 {
  height: 15px;
  flex-shrink: 0; /* Prevent shrinking */
}

.spacer30 {
  height: 30px;
  flex-shrink: 0; /* Prevent shrinking */
}

/* Make the AGTS certificate option blue-themed */
.agts-certificate {
  border-top: 5px solid #3498db;
}

/* Make the AGTS masters option gold-themed */
.agts-masters {
  border-top: 5px solid #f1c40f;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #agtsplans .row {
    display: block; /* Stack on mobile */
  }

  #agtsplans .col-md-6 {
    margin-bottom: 30px;
  }

  .agts-certificate,
  .agts-masters {
    margin-bottom: 20px;
    min-height: auto; /* Allow natural height on mobile */
  }

  /* Ensure consistent padding on mobile */
  .agts-certificate ul,
  .agts-masters ul {
    padding-left: 15px;
  }
}