.child-approach-container {
  .child-approach {
    .child-logo {
      width: 75%;
      height: 128px;
    }

    p {
      font-size: 16px;
    }

    .child-content {
      width: 90%;
    }

    .icon-container {
      width: 82px;
      height: 82px;
      border-radius: 50%;
      position: relative;

      i {
        font-size: 32px;
      }
    }

    / horizontal / .icon-one::before {
      content: "";
      position: absolute;
      bottom: 130%;
      left: 50%;
      width: 50%;
      height: 0;
      border-top: 2px dashed black;
      transform: translateX(-100%);
    }

    / vertical / .icon-one::after {
      content: "";
      position: absolute;
      bottom: 100%;
      left: 50%;
      width: 0;
      height: 30%;
      border-left: 2px dashed black;
      transform: translateX(-50%);
    }

    / horizontal / .icon-two::before {
      content: "";
      position: absolute;
      bottom: 130%;
      left: 50%;
      width: 50%;
      height: 0;
      border-top: 2px dashed black;
      transform: translateX(0%);
    }

    / vertical / .icon-two::after {
      content: "";
      position: absolute;
      bottom: 100%;
      left: 50%;
      width: 0;
      height: 30%;
      border-left: 2px dashed black;
      transform: translateX(-50%);
    }

    .icon-three::after {
      content: "";
      position: absolute;
      bottom: 50%;
      left: 0%;
      width: 40%;
      height: 0;
      border-top: 2px dashed black;
      -webkit-transform: translateX(0%);
      -moz-transform: translateX(0%);
      transform: translate(-100%, -50%);
    }

    .icon-four::after {
      content: "";
      position: absolute;
      bottom: 50%;
      right: 0%;
      width: 40%;
      height: 0;
      border-top: 2px dashed black;
      -webkit-transform: translateX(0%);
      -moz-transform: translateX(0%);
      transform: translate(100%, -50%);
    }

    .icon-five::before {
      content: "";
      position: absolute;
      bottom: 130%;
      left: 50%;
      width: 50%;
      height: 0;
      border-top: 2px dashed black;
      transform: translateX(-100%);
    }

    / vertical / .icon-five::after {
      content: "";
      position: absolute;
      bottom: 100%;
      left: 50%;
      width: 0;
      height: 30%;
      border-left: 2px dashed black;
      transform: translateX(-50%);
    }

    / horizontal / .icon-six::before {
      content: "";
      position: absolute;
      bottom: 130%;
      left: 50%;
      width: 50%;
      height: 0;
      border-top: 2px dashed black;
      transform: translateX(0%);
    }

    / vertical / .icon-six::after {
      content: "";
      position: absolute;
      bottom: 100%;
      left: 50%;
      width: 0;
      height: 30%;
      border-left: 2px dashed black;
      transform: translateX(-50%);
    }

    .icon-one {
      background-color: #e5e1fc;

      i {
        color: #7b68ee;
      }
    }

    .icon-two {
      background-color: #d8f0e3;
      background-color: #e0f7fa;
      background-color: #fff3e6;

      i {
        color: #2a7d4f;
        color: #00838f;
        color: #ff6f61;
      }
    }

    .icon-three {
      background-color: #f8edd2;

      i {
        color: #daa520;
      }
    }

    .icon-four {
      background-color: #f2e9e9;

      i {
        color: #bc8f8f;
      }
    }

    .icon-five {
      background-color: #dae6f0;

      i {
        color: #4682b4;
      }
    }

    .icon-six {
      background-color: #f1ddf6;

      i {
        color: #ba55d3;
      }
    }
  }
}



@media (max-width: 786px) {
  .child-approach-container {
    .child-approach {
      .icon-container {
        width: 72px !important;
        height: 72px !important;
      }
    }
  }

  .dps-top-img {
    height: 48px !important;
  }
}


.td_hero {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.display-4 {
  color: #00001b;
  /* Adjust to match your blue */
  line-height: 1.2;
}

.enrollment-form {
  background-color: #00001b;
  /* Adjust to match your blue */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-height: 100vh;
  overflow-y: auto;
}

.form-control,
.form-select {
  padding: 12px;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.btn-danger {
  background-color: #dc3545;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-weight: bold;
}

.paper-plane-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .td_hero {
    padding: 40px 0;
  }

  .display-4 {
    font-size: 2rem;
  }

  .paper-plane-img {
    /* width: 60px; */
    display: none;
  }
}

.bg-form {
  background-color: #fdf1db86;
}

.btn-sub {
  background: #ff9b24;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  border: none;
  padding: 5px;
}

.btn-sub::after {
  background: #155b2e;
}

.pillars-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.pillar-row {
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
}

.pillar {
  width: 50%;
  position: relative;
}

.left-aligned {
  text-align: right;
  padding-right: 220px;
}

.right-aligned {
  text-align: left;
  padding-left: 220px;
}

.pillar-content {
  max-width: 350px;
  margin: 0 auto;
}

.left-aligned .pillar-content {
  margin-right: 0;
  margin-top: 1.5rem;
}

.right-aligned .pillar-content {
  margin-left: 0;
  margin-top: 1.5rem;
}

.pillar h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.pillar p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.icon-container {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  top: 0;
}

.left-aligned .icon-container {
  right: 120px;
}

.right-aligned .icon-container {
  left: 120px;
}

.icon-container img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.dashed-connector {
  position: absolute;
  border-top: 2px dashed #ccc;
  width: 60px;
  height: 1px;
  top: 40px;
}

.right-dashed {
  right: -60px;
}

.left-dashed {
  left: -60px;
}

.central-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 180px;
  height: 180px;
}

.central-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

/* Updated colors to match the reference image */
.icon-academic {
  background-color: rgba(230, 230, 250, 0.6);
}

.icon-critical {
  background-color: rgba(255, 235, 205, 0.6);
}

.icon-skill {
  background-color: rgba(255, 248, 220, 0.6);
}

.icon-health {
  background-color: rgba(255, 228, 225, 0.6);
}

.icon-community {
  background-color: rgba(230, 240, 250, 0.6);
}

.icon-safety {
  background-color: rgba(255, 220, 255, 0.6);
}

/* Responsive styles */
@media screen and (max-width: 1100px) {
  .left-aligned {
    padding-right: 100px;
  }

  .right-aligned {
    padding-left: 100px;
  }
}

@media screen and (max-width: 900px) {
  .pillars-container {
    gap: 3rem;
  }

  .left-aligned {
    padding-right: 90px;
  }

  .right-aligned {
    padding-left: 90px;
  }
}

@media screen and (max-width: 768px) {
  .pillar-row {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .pillar {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 0 !important;
    margin-bottom: 20px;
  }

  .left-aligned,
  .right-aligned {
    padding: 0;
  }

  .pillar-content {
    margin: 0 auto;
    text-align: center;
    padding-top: 100px;
  }

  .dashed-connector {
    display: none;
  }

  .icon-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
  }

  .central-logo {
    position: relative;
    margin: 30px auto;
    transform: none;
    left: auto;
    top: auto;
  }

  .pillars-container {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .container-header {
    padding: 0rem;
  }

  .container {
    padding: 1rem;
  }

  .pillar-content {
    max-width: 100%;
  }
}


.myi-section {
  /* background-color: #f3eef5; */
  color: #00001b;
  text-align: center;
  padding: 50px 20px;
}

.myi-icons-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.myi-icon-box {
  width: 130px;
  text-align: center;
}

.myi-icon-box img {
  width: 120px;
  height: 120px;
  background-color: white;
  border-radius: 20%;
  padding: 15px;
}

.myi-icon-box p {
  margin-top: 10px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .myi-icons-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
  }
}

.svg-ico-sz {
  width: 25px !important;
  padding-bottom: 5px;
}

.td_hero .container-fluid {
  max-width: 1600px;
  /* Adjust this value based on your needs */
  margin: 0 auto;
}

/* Responsive padding adjustments */
@media (max-width: 768px) {
  .td_hero .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Tablet-specific styles (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .td_hero .container-fluid {
    max-width: 720px;
  }

  .td_hero .hero-image-container {
    margin: -1rem 0;
  }

  .td_hero .project-zero-banner {
    margin: 1rem auto;
    max-width: 80%;
  }

  .enrollment-form {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Form responsiveness fixes */
.enrollment-form {
  max-height: 100vh;
  overflow-y: auto;
}

@media (max-height: 800px) {
  .enrollment-form {
    max-height: 90vh;
  }

  .form-control-sm,
  .form-select-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }

  .enrollment-form .mb-2 {
    margin-bottom: 0.5rem !important;
  }
}

/* Laptop screens */
@media (min-width: 992px) and (max-height: 768px) {
  .enrollment-form {
    padding: 0.75rem !important;
  }

  .form-control-sm,
  .form-select-sm {
    padding: 0.25rem 0.5rem;
    height: calc(1.5em + 0.5rem + 2px);
  }

  .btn-sub {
    padding: 0.375rem 0.75rem;
  }
}

/* Ensure form is scrollable on very small heights */
@media (max-height: 600px) {
  .enrollment-form {
    max-height: 400px;
    overflow-y: auto;
  }
}

/* Custom Popup */
.td_popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.td_popup_content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 400px;
  position: relative;
  animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.td_popup_icon {
  font-size: 48px;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(137, 12, 37, 0.1);
  color: #890c25;
}

.td_popup_icon.success {
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
}

.td_popup_icon.error {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.td_popup_content h3 {
  margin: 0 0 15px 0;
  font-size: 24px;
  color: #00001b;
  font-weight: 600;
}

.td_popup_content p {
  color: #555;
  margin: 0 0 25px 0;
  line-height: 1.6;
}

.td_popup_btn {
  background-color: #ff9b24;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 120px;
}

.td_popup_btn:hover {
  background-color: #e68c1f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.td_popup_close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.td_popup_close:hover {
  background-color: #f0f0f0;
  color: #666;
}

@media (max-width: 768px) {
  .td_popup_content {
    padding: 25px 20px;
    width: 95%;
  }

  .td_popup_content h3 {
    font-size: 20px;
  }

  .td_popup_btn {
    padding: 10px 25px;
    font-size: 15px;
  }
}

.btn-sub[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

input,
select {
  width: 100%;
  padding: .5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  box-sizing: border-box;
}

#formStatus.success{
  background:#16a34a; /* green */
  color:#fff;
  padding:14px;
  text-align:center;
  border-radius:4px;
}
#formStatus.error{
  background:#ef4444; /* red */
  color:#fff;
  padding:14px;
  text-align:center;
  border-radius:4px;
}
