.container {
    background-color: #1e8dd2;
    margin-left: -28px;
    margin-top: 125px;
  }

  .hero-section {
    position: relative;
    width: 100vw;
    height: 480px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    clip-path: polygon(
      0 0,
      100% 0,
      100% 90%,
      0% 100%
    ); /* Diagonal cut at the bottom */
  }
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 66, 109, 0.4);
    z-index: 1;
  }
  .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 0 60px 7vw;
    color: #fff;
  }
  .hero-label {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 8px;
  }
  .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
  }
  .apply-tab {
    position: absolute;
    top: 0;
    right: 0;
    background: #f7a600;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 32px 8px 8px 8px;
    writing-mode: vertical-rl;
    text-align: center;
    border-radius: 0 0 8px 8px;
    z-index: 3;
    height: 120px;
    cursor: pointer;
  }
  @media (max-width: 900px) {
    .hero-section {
      height: 380px;
    }
    .hero-content {
      padding: 0 0 40px 5vw;
    }
    .hero-title {
      font-size: 2.5rem;
    }
    .apply-tab {
      height: 80px;
      font-size: 0.9rem;
    }
  }
  @media (max-width: 600px) {
    .hero-section {
      height: 300px;
    }
    .hero-title {
      font-size: 1.8rem;
    }
    .hero-content {
      padding: 0 0 30px 4vw;
    }
  }
  .programs-section {
    background: #fff;
    padding: 70px 0;
    max-width: 1200px;
    margin: 33px auto;
  }
  .view-toggle {
    text-align: right;
    margin-bottom: 24px;
    padding-right: 20px;
  }
  .toggle-display {
    background: #8d8d8d;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 8px;
    border-radius: 4px;
    transition: background 0.2s;
    align-items: center;
    gap: 5px;
  }
  .toggle-display img {
    height: 10px;
    width: auto;
    vertical-align: middle;
  }
  .toggle-display.toggle-active {
    background: #1e8dd2;
    color: #fff;
  }
  .programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
  }
  .program-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
  }
  .program-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
  }
  .program-details {
    padding: 16px 20px 24px 20px;
  }
  .program-code {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e8dd2;
    margin-bottom: 6px;
    text-align: center;
  }
  .program-name {
    font-size: 0.95rem;
    color: #1e8dd2;
    margin-bottom: 12px;
    text-align: center;
  }
  .program-description {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: left;
  }
  .read-more {
    font-size: 0.9rem;
    color: #2196f3;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    text-align: left;
    width: fit-content;
    margin-left: 0;
  }
  .read-more img {
    vertical-align: middle;
    height: 9px;
    width: 8px;
  }
  .program-card-header-bba {
    height: 11px;
    margin-top: -7px;
    background: #e60000; /* Red */
  }
  .program-card-header-bhm {
    height: 11px;
    margin-top: -7px;
    background: #008000; /* Green */
  }
  .program-card-header-mba {
    height: 11px;
    margin-top: -7px;
    background: #2196f3; /* Blue */
  }
  .programs-connection-line {
    grid-column: 1 / -1; /* Span all columns */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 60px; /* Space for line and icon */
    margin: 20px 0;
  }
  .programs-connection-line::before,
  .programs-connection-line::after {
    content: "";
    flex-grow: 1;
    border-top: 2px dashed #95bedd; /* Blue dashed line */
    margin: 0 10px;
  }
  .programs-connection-line .x-icon {
    width: 8px;
    height: 9px;
    background: url("ei_plus.png") center center / contain no-repeat;
    transform: rotate(45deg);
    filter: invert(50%) sepia(100%) saturate(2000%) hue-rotate(190deg)
      brightness(90%);
  }
  @media (max-width: 768px) {
    .programs-grid {
      grid-template-columns: 1fr;
    }
    .view-toggle {
      text-align: center;
    }
    .programs-connection-line {
      display: none;
    }
  }
  .cta-section {
    position: relative;
    width: 100vw;
    height: 480px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    clip-path: polygon(
      0 0,
      100% 0,
      100% 85%,
      0% 100%
    ); /* Diagonal cut at the bottom */
  }
  .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 66, 109, 0.4);
    z-index: 1;
  }
  .cta-content {
    position: relative;
    z-index: 2;
    padding: 0 0 60px 7vw;
    color: #fff;
  }
  .cta-label {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.85;
    margin: 68px 11px -1px 15px;
  }
  .cta-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin: 2px 0 212px 6px;
    letter-spacing: 1px;
  }
  @media (max-width: 900px) {
    .cta-section {
      height: 380px;
    }
    .cta-content {
      padding: 0 0 40px 5vw;
    }
    .cta-title {
      font-size: 2.5rem;
    }
  }
  @media (max-width: 600px) {
    .cta-section {
      height: 300px;
    }
    .cta-title {
      font-size: 1.8rem;
    }
    .cta-content {
      padding: 0 0 30px 4vw;
    }
  }
  .read-more svg {
    height: 9px;
    width: 8px;
    fill: currentColor; /* Inherit color from parent link */
  }

  /* List view specific styles */
  .programs-grid.list-view {
    grid-template-columns: 1fr; /* Stack items vertically */
  }

  .programs-grid.list-view .program-card {
    display: flex; /* Arrange content horizontally */
    align-items: flex-start; /* Align content to the top */
    padding: 15px; /* Adjust padding for list view */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* More pronounced shadow for list view */
  }

  .programs-grid.list-view .program-card img {
    width: 386px; /* Smaller image in list view */
    height: 246px;
    color: #008000;
    flex-shrink: 0; /* Prevent image from shrinking */
    margin-right: 20px;
    border-radius: 4px; /* Slightly less rounded corners for list view image */
  }

  .programs-grid.list-view .program-card .program-details {
    padding: 0; /* Remove internal padding as spacing is handled by flex container */
    flex-grow: 1; /* Allow details to take up remaining space */
  }

  .programs-grid.list-view .program-card .program-code,
  .programs-grid.list-view .program-card .program-name,
  .programs-grid.list-view .program-card .program-description,
  .programs-grid.list-view .program-card .read-more {
    text-align: left; /* Ensure text alignment is left in list view */
    margin-left: 0; /* Reset any centering from grid view */
  }

  .programs-grid.list-view .program-card .program-card-header-bba,
  .programs-grid.list-view .program-card .program-card-header-bhm,
  .programs-grid.list-view .program-card .program-card-header-mba {
    /* Adjust header bar position for list view if needed, or hide if it clashes */
    height: 11px;
    margin-top: -7px;
    background: #4fb14f;
  }

  /* Responsive adjustments for list view on smaller screens */
  @media (max-width: 768px) {
    .programs-grid {
      grid-template-columns: 1fr; /* Single column layout */
    }
    .view-toggle {
      text-align: center; /* Center toggle buttons */
    }
    /* For list view on small screens, stack image and text vertically */
    .programs-grid.list-view .program-card {
      flex-direction: column;
      align-items: center;
      padding: 10px;
    }
    .programs-grid.list-view .program-card img {
      width: 100%; /* Image takes full width */
      height: 150px; /* Adjust height for small screens */
      margin-right: 0;
      margin-bottom: 10px; /* Space between image and text */
    }
    .programs-grid.list-view .program-card .program-details {
      text-align: center; /* Center text details */
      padding: 0 10px; /* Add some horizontal padding */
    }
    .programs-grid.list-view .program-card .program-code,
    .programs-grid.list-view .program-card .program-name,
    .programs-grid.list-view .program-card .program-description,
    .programs-grid.list-view .program-card .read-more {
      text-align: center; /* Center text on small screens */
      margin-left: auto;
      margin-right: auto;
    }
    .programs-grid.list-view .program-card .read-more {
      margin-top: 10px;
    }
  }
