/* @import url(/css/all.css);
@media screen and (min-width : 600px) {
      .application{
            width: 580px;
            margin: auto;
      }
}
@media screen and (min-width : 1000px) {
      .application{
            width: 90%;
            margin: auto;
            flex-flow: row !important;
            justify-content: center;
            align-items: start;
            gap: 40px !important;
      }
      .apply_form{
            width: 48%;
      }
}
@media screen and (min-width : 1100px) {
      .application{
            width: 1090px;
            margin: auto;
      }
} */
/*------------------------------------*\
 * #IMPORTS
 * Import external stylesheets here.
\*------------------------------------*/
@import url(/css/all.css);
html {
  scroll-padding-top: 80px; /* Adjust based on your fixed header height */
}
/*------------------------------------*\
 * #COMMON MOBILE-FIRST STYLES
 * These styles apply by default to all screen sizes,
 * unless overridden by specific media queries.
\*------------------------------------*/

/* Shared container styling for most sections */
.video-intro-section__container,
.program-paths-section__container,
.referral-section__container {
  max-width: 1200px; /* Limits overall content width */
  margin: 0 auto; /* Centers the container horizontally */
  padding: 0 1rem; /* Horizontal padding for spacing from screen edges */
}

/* Common button hover and focus effects */
.program-box__button:hover,
.program-box__button:focus,
.referral-card__button:hover,
.referral-card__button:focus {
  transform: translateY(-2px); /* Subtle lift effect */
  outline: none; /* Removes default focus outline */
}

/* Common paragraph font size and line height */
.program-box__paragraph,
.referral-card__description {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
}

/* Common button styles */
.program-box__button,
.referral-card__button {
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
}

/* Common heading font sizes */
.program-box__heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
}

/*------------------------------------*\
 * #SECTION-SPECIFIC MOBILE-FIRST STYLES
 * Styles unique to each section on smaller screens.
\*------------------------------------*/

/* Video Introduction Section */
.video-intro-section {
  padding: 2rem 0; /* Vertical padding */
  margin-top: 100px; /* Specific top margin */
  background-color: #f0f0f0; /* Light background for contrast */
}

/* Video Introduction Content Wrapper */
.video-intro-section__content-wrapper {
  display: flex;
  flex-direction: column; /* Stacks heading above video */
  align-items: center; /* Centers items horizontally */
  justify-content: center; /* Centers items vertically */
  gap: 2rem; /* Space between heading and video columns */
}

/* Video Introduction Heading Column */
.video-intro-section__heading-column {
  width: 100%; /* Takes full width */
  padding: 0 1rem; /* Padding to prevent text from touching edges */
}

/* Video Introduction Main Heading */
.video-intro-section__main-heading {
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4rem); /* Responsive font size */
  color: #072d2d;
  line-height: 1.1; /* Tighter line height */
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Video Introduction Sub-heading */
.video-intro-section__sub-heading {
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size */
  display: inline-block; /* Allows vertical alignment with main heading */
}

/* Video Introduction Video Column */
.video-intro-section__video-column {
  width: 100%; /* Takes full width */
  max-width: 600px; /* Limits max width for video column */
  display: flex; /* Ensures iframe is centered */
  justify-content: center; /* Centers the iframe horizontally */
}

/* Embedded video player (iframe) */
.video-intro-section__video-player {
  width: 100%; /* Fills parent column */
  height: 200px; /* Fixed height */
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Welcome Section */
.welcome-section {
  padding: 1rem 0.2rem; /* Padding around the text */
  margin-top: 2rem; /* Spacing */
  text-align: center; /* Centers the entire section */
}

/* Welcome Message Text */
.welcome-section__text {
  font-weight: 700;
  text-align: center;
  width: 100%; /* Takes full width of its parent */
  max-width: 1300px; /* Limits max-width for readability */
  margin: 0 auto; /* Centers the paragraph horizontally */
  font-size: clamp(1.2rem, 3vw, 1rem); /* Responsive font size */
  line-height: 1.4;
  color: var(--black);
}

/* Program Box Button */
.program-box__button {
  display: inline-block;
  width: 100%;
  max-width: 250px; /* Limits button width */
  padding: 0.75rem 1.5rem;
  text-align: center;
  color: var(--black);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

/* Note box within Cradle Program */
.program-box__note-box {
  background-color: rgb(43, 4, 4);
  border: 1px solid var(--black);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-top: 1.5rem; /* Spacing above the note */
}

/* Note text within the note box */
.program-box__note-text {
  font-size: clamp(0.9rem, 2vw, 1rem); /* Responsive font size */
  margin: 0; /* Removes default paragraph margin */
  color: var(--white);
}

/* Specific styles for bold paragraphs */
.program-box__paragraph--bold {
  font-weight: 900;
}

/* Specific styles for alert paragraphs */
.program-box__paragraph--alert {
  color: var(--error_text);
  display: flex; /* Allows icon and text to sit together */
  align-items: flex-start; /* Aligns icon and text to the top */
  gap: 0.5rem; /* Space between icon and text */
}

/* Alert icon style */
.program-box__alert-icon {
  color: var(--danger);
  flex-shrink: 0; /* Prevents icon from shrinking */
  margin-top: 0.2rem; /* Vertical alignment adjustment */
}

/* Unordered lists within program boxes */
.program-box__list {
  list-style: disc; /* Default disc bullet points */
  margin: 0 0 1rem 1.25rem; /* Adjusts margin for list indentation */
  padding: 0; /* Removes default padding */
}

/* List items within program boxes */
.program-box__list-item {
  font-size: clamp(0.9rem, 2vw, 1rem); /* Responsive font size */
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  line-height: 1.4;
}

/* Button wrapper for the DIY Hope box button */
.program-box__button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem auto 0; /* Centers horizontally, adds top margin */
  padding: 1.5rem 0; /* Vertical padding */
  width: 100%;
}

/* Specific background and text color for DIY Hope box */
.program-box--diy {
  background-color: var(--bg);
  color: var(--white);
}

/* Specific background for Cradle Program box */
.program-box--cradle {
  background-color: var(--bg_sec);
  color: var(--text-dark);
}

/* Styles for individual program boxes */
.program-box {
  border-radius: 0;
  padding: 1.5rem;
  width: 100%;
  max-width: 550px; /* Limits max-width for readability */
  margin: 0.5rem auto; /* Centers on mobile with top margin */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Subtle shadow */
  margin-top: auto;
}

/* Program Paths Section */
.program-paths-section {
  padding: 3rem 0; /* Vertical padding */
  background-color: #f8f8f8; /* Light background */
}

/* Wrapper for the DIY Hope and Cradle Program boxes */
.program-paths-section__content-wrapper {
  display: flex;
  flex-direction: column; /* Stacks boxes vertically */
  align-items: center; /* Centers items horizontally */
  gap: 2rem; /* Space between the two program boxes */
  margin-top: 1rem; /* Initial top margin */
}

/* Referral Section */
.referral-section {
  padding-top: 3rem;
  padding-bottom: 3rem; /* Consistent bottom padding */
}

/* Referral Section Container */
.referral-section__container {
  display: flex;
  justify-content: center; /* Centers the referral card */
}

/* The main referral box */
.referral-card {
  background-color: var(--light_grey);
  color: var(--text-dark);
  border-radius: 20px;
  padding: 0.5rem;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* Subtle shadow */
}

/* Inner wrapper for image and text content */
.referral-card__content-wrapper {
  display: flex;
  flex-direction: column; /* Stacks image above text */
  align-items: center; /* Centers items horizontally */
  gap: 1.5rem; /* Space between image and text */
}

/* Column containing the image */
.referral-card__image-column {
  width: 100%;
  text-align: center; /* Centers image */
  padding: 0 1rem; /* Padding for image */
  display: flex;
  justify-content: center;
}

/* Image styling */
.referral-card__image {
  max-width: 100%;
  height: 200px; /* Fixed height */
  object-fit: contain; /* Ensures image fits without cropping */
  display: block; /* Removes extra space below image */
  border-radius: 10px; /* Slightly rounded corners */
}

/* Column containing the heading, paragraph, and button */
.referral-card__text-column {
  width: 100%;
  text-align: center; /* Centers text on mobile */
  margin-top: 0.5rem;
  padding: 0 1rem; /* Padding for text */
}

/* Heading style */
.referral-card__heading {
  font-size: clamp(1rem, 4vw, 1.2rem); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  color: var(--black);
}

/* Button style */
.referral-card__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  max-width: 200px; /* Limits button width */
  padding: 0.75rem 1rem;
  color: white;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  margin: 0.5rem auto; /* Centers horizontally, adds vertical margin */
}

/*------------------------------------*\
 * #MEDIA QUERIES
 * Styles that apply only to specific screen sizes.
\*------------------------------------*/

/* Medium devices (min-width: 768px) */
@media (min-width: 768px) {
  .video-intro-section__video-player {
    height: 200px; /* Retains height for tablet/desktop */
  }
}

/* Large devices (min-width: 992px) */
@media (min-width: 992px) {
  /* Video Introduction Section adjustments for large screens */
  .video-intro-section__video-player {
    height: 250px; /* Further increase height for larger desktops */
  }

  .video-intro-section__content-wrapper {
    flex-direction: row; /* Arranges items side-by-side */
    justify-content: center; /* Centers the row content */
    align-items: flex-start; /* Aligns items to the top in the row */
  }

  .video-intro-section__video-column {
    width: calc(45% - 1rem); /* Adjusted for gap */
    justify-content: flex-start; /* Align video to the start */
  }

  .video-intro-section__heading-column {
    width: calc(50% - 1rem); /* Adjusted for gap */
    text-align: left; /* Align text to the left */
  }

  /* Program Box adjustments for large screens */
  .program-box {
    border-radius: 15px; /* Adds specific border-radius */
    padding: 2.5rem; /* Adjusts padding for desktop */
    width: calc(50% - 2rem); /* Adjusted for gap */
    margin: 0; /* Resets mobile centering margins */
  }

  .program-box__button-wrapper {
    padding: 2.5rem 0; /* Larger vertical padding */
  }

  /* Program Paths Section adjustments for large screens */
  .program-paths-section__content-wrapper {
    flex-direction: row; /* Arranges boxes side-by-side */
    justify-content: space-around; /* Distributes space */
    align-items: stretch; /* Stretches items to equal height */
  }

  /* Referral Section adjustments for large screens */
  .referral-card {
    padding: 1rem; /* Adjusts padding for desktop */
  }

  .referral-card__content-wrapper {
    flex-direction: row; /* Arranges items side-by-side */
    justify-content: center; /* Centers content */
    align-items: center; /* Aligns items vertically */
    gap: 2rem; /* Adjusted gap */
  }

  .referral-card__image-column {
    flex: 0 0 auto; /* Prevents growing/shrinking */
    width: calc(33.333% - 1rem); /* Adjusted for gap */
    max-width: 250px; /* Limits max width for image column */
  }

  .referral-card__text-column {
    flex: 0 0 auto; /* Prevents growing/shrinking */
    width: calc(58.333% - 1rem); /* Adjusted for gap */
    text-align: left; /* Align text to the left */
    margin-top: 0; /* Resets mobile top margin */
  }

  .referral-card__button {
    margin-top: 0.75rem; /* Adjusted top margin */
    margin-left: 0; /* Aligns left with text */
    margin-right: auto;
  }
}
