:root {
      --primary: #1e40af;
      --accent: #3b82f6;
      --text: #1f2937;
      --secondary-text: #6b7280;
      --bg: #f9f9f9;
      --card-bg: #ffffff;
      --tagline-bg: #1e293b;
      --footer-bg: #111827;
    }
    body {
      font-family: 'Inter', sans-serif;
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background: var(--bg);
      color: var(--text);
    }
    main {
      flex: 1;
    }
    .navbar {
      background: #ffffff;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      padding: 1rem 1.5rem;
    }
    .navbar-brand {
      font-family: 'Orbitron', sans-serif;
      font-weight: 700;
      color: var(--primary) !important;
      font-size: 2.0rem;
      letter-spacing: 1px;
    }
    .navbar-nav {
      align-items: center;
    }
    .nav-link {
      color: var(--text) !important;
      font-weight: 600;
      font-size: 1rem;
      padding: 0.5rem 1rem !important;
      transition: color 0.3s ease, transform 0.2s;
    }
    .nav-link:hover {
      color: var(--accent) !important;
      transform: translateY(-2px);
    }
    .navbar-toggler {
      border: none;
      background: transparent;
      width: 42px;
      height: 42px;
      position: relative;
      margin-right: 1.5rem;
    }
    .navbar-toggler:focus {
      outline: none;
      box-shadow: none;
    }
    .navbar-toggler-icon {
      display: block;
      width: 24px;
      height: 2.5px;
      background-color: var(--primary);
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      transition: background-color 0.3s ease-in-out;
    }
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
      content: '';
      display: block;
      width: 24px;
      height: 2.5px;
      background-color: var(--primary);
      position: absolute;
      left: 0;
      transition: transform 0.3s ease-in-out;
    }
    .navbar-toggler-icon::before { top: -7px; }
    .navbar-toggler-icon::after { top: 7px; }
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
      background-color: transparent;
    }
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
      transform: rotate(45deg) translate(5px, 5px);
      background-color: var(--primary);
    }
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
      transform: rotate(-45deg) translate(5px, -5px);
      background-color: var(--primary);
    }
    .mobile-nav {
      display: none;
      background: #ffffff;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .top-strip {
      padding: 0;
      text-align: center;
      background: #ffffff;
      border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    .bottom-strip {
      padding: 0;
      position: relative;
      overflow-x: hidden;
    }
    .menu-container {
      display: flex;
      overflow-x: auto;
      white-space: nowrap;
      scroll-behavior: smooth;
      padding: 10px 2px;
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    .menu-container::-webkit-scrollbar { display: none; }
    .bottom-strip .navbar-nav {
      display: flex;
      flex-direction: row;
      padding: 0;
      margin: 0;
    }
    .bottom-strip .nav-item {
      display: inline-block;
      margin: 0 10px;
    }
    .scroll-btn {
      position: absolute;
      top: 50%;
      right: 2px;
      transform: translateY(-50%);
      width: 30px;
      height: 30px;
      background: transparent;
      border: none;
      opacity: 0;
      cursor: pointer;
      z-index: 10;
    }
    .btn-primary {
      background-color: var(--accent);
      border-color: var(--accent);
      color: #ffffff;
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      transition: background-color 0.3s, transform 0.2s;
    }
    .btn-primary:hover {
      background-color: var(--primary);
      border-color: var(--primary);
      transform: translateY(-2px);
    }
    .tagline {
      background: linear-gradient(135deg, var(--tagline-bg) 0%, #334155 100%);
      color: #ffffff;
      padding: 40px 20px;
      text-align: center;
      margin-bottom: 20px;
      border-radius: 0;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    .tagline h1 {
      font-family: 'Orbitron', sans-serif;
      font-size: 2.5rem;
      margin-bottom: 15px;
    }
    .tagline p {
      font-size: 1.2rem;
      max-width: 80%;
      margin: 0 auto 20px;
      color: #e2e8f0;
    }
    .section {
      padding: 40px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }
    .section h2 {
      font-family: 'Orbitron', sans-serif;
      font-size: 2rem;
      color: var(--text);
      text-align: center;
      margin-bottom: 30px;
    }
    .card {
      background: var(--card-bg);
      border: none;
      border-radius: 12px;
      box-shadow: 0 6px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s, box-shadow 0.3s;
      margin-bottom: 30px;
      overflow: hidden;
      width: 100%;
      position: relative;
    }
    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    }
    .card-link {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      text-decoration: none;
    }
    .card-img-container {
      width: 100%;
      padding-bottom: 100%;
      position: relative;
      overflow: hidden;
    }
    .card-img-top {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 12px 12px 0 0;
    }
    .blog-card .card-img-container {
      padding-bottom: 56.25%;
    }
    .card-body {
      padding: 20px;
      text-align: center;
      position: relative;
      z-index: 2;
    }
    .card-title {
      font-family: 'Inter', sans-serif;
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 10px;
    }
    .card-title a {
      color: var(--text);
      text-decoration: none;
      transition: color 0.3s ease;
      position: relative;
      z-index: 3;
    }
    .card-title a:hover {
      color: var(--accent);
      text-decoration: underline;
    }
    .card-text {
      font-size: 0.95rem;
      color: var(--secondary-text);
      margin-bottom: 15px;
    }
    .total-cards {
      font-size: 1.2em;
      margin-top: 10px;
      color: #333;
      text-align: center;
    }
    footer {
      background: var(--footer-bg);
      color: #e2e8f0;
      padding: 40px 20px;
      margin-top: 40px;
      box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
    }
    footer h5 {
      font-family: 'Orbitron', sans-serif;
      font-size: 1.2rem;
      color: #ffffff;
      margin-bottom: 20px;
      /* Style update: Center all h5 titles */
      text-align: center;
    }
    footer ul {
      list-style: none;
      padding: 0;
      /* Style update: Center content */
      text-align: center;
    }
    footer ul li {
      margin-bottom: 10px;
    }
    footer ul li a {
      color: #e2e8f0;
      text-decoration: none;
      transition: color 0.3s, transform 0.2s;
    }
    footer ul li a:hover {
      color: var(--accent);
      /* Removed transform for block/inline content consistency */
    }
    /* Style update: Single-line directory list styling */
    .directory-list {
        display: flex;
        flex-wrap: wrap; /* Allows wrapping on small screens */
        justify-content: center;
        padding: 0;
        margin-bottom: 25px;
    }
    .directory-list li {
        margin: 5px 10px;
        display: inline-block;
        border-right: 1px solid #6b7280; /* Separator */
        padding-right: 10px;
        margin-right: 0;
        margin-bottom: 0;
        line-height: 1.2;
    }
    .directory-list li:last-child {
        border-right: none;
        padding-right: 0;
    }
    /* End Single-line directory list styling */

    footer p {
      color: #e2e8f0;
    }
    .footer-row {
      margin-bottom: 30px;
    }
    .feature-container {
      padding: 0 5px;
    }
    .feature-container .row {
      margin: 0;
    }
    .founder-strip {
      background: #1e2a44;
      color: #ffffff;
      padding: 20px;
      margin: 20px 0;
      border-radius: 0;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      position: relative;
    }
    .founder-strip .tagline-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
    }
    .founder-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-left: 20px;
    }
    .founder-card {
      background: var(--card-bg);
      border-radius: 50%;
      overflow: hidden;
      width: 250px;
      height: 250px;
      margin-bottom: 10px;
      border: 4px solid #4a90e2;
    }
    .founder-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .company-text {
      max-width: 500px;
      font-size: 1.1rem;
    }
    .company-text strong {
      color: #4a90e2;
    }
    .founder-info {
      text-align: center;
    }
    .founder-info p {
      margin: 0;
      font-size: 0.9rem;
      color: #e0e0e0;
    }
    .founder-info .title {
      font-weight: 600;
    }
    .social-bar {
      margin-top: 15px;
    }
    .social-bar a {
      color: #ffffff;
      font-size: 1.5rem;
      margin: 0 10px;
      transition: color 0.3s ease;
    }
    .social-bar a:hover {
      color: var(--accent);
    }
    .banner-container {
      display: flex;
      flex-wrap: nowrap;
      margin-bottom: 0;
      max-width: 100%;
      overflow: hidden;
    }
    .banner-image {
      flex: 1 1 50%;
      width: 50%;
      height: auto;
      object-fit: cover;
      margin: 0;
      padding: 0;
    }
    .search-input:focus + .search-icon {
      color: #4f46e5;
    }
    .letter-nav {
      transition: all 0.3s ease;
    }
    .letter-nav:hover,
    .letter-nav.active {
      background-color: #4f46e5;
      color: white;
    }
    .sticky-nav {
      position: sticky;
      top: 0;
      z-index: 20;
      background-color: #fff;
      border-bottom: 1px solid #e5e7eb;
    }
    .list-container {
      position: relative;
    }
    .list-container h2 {
      text-align: left;
    }
    .program-list-item {
      padding: 10px 0;
    }
    .program-list-item:not(:last-child) {
      border-bottom: 1px solid #e5e7eb;
    }
    #no-results-message {
      text-align: center;
      color: #6b7280;
      padding: 20px 0;
      font-size: 1rem;
    }
    .redirect-button {
      margin-left: 8px;
      color: #4f46e5;
      transition: color 0.3s ease;
    }
    .redirect-button:hover {
      color: #3730a3;
    }
    .program-list-item h3 a {
      text-decoration: none;
      transition: text-decoration 0.3s ease;
    }
    .program-list-item h3 a:hover {
      text-decoration: underline;
    }

    /* Media Queries */
    @media (min-width: 992px) {
      .search-bar .form-control {
        width: 50%;
        margin: 0 auto;
      }
      /* Center list contents on desktop */
      .footer-row .col-lg-4 {
          text-align: center;
      }
      .footer-row .col-lg-4 ul {
          display: inline-block; /* allows the ul content to be centered */
          text-align: left;
      }
      .directory-list {
          text-align: center; /* Override text-align: left from ul */
      }
    }
    @media (min-width: 1200px) {
      .tagline h1 { font-size: 2.5rem; }
      .tagline p { font-size: 1.2rem; }
      .section h2 { font-size: 2rem; }
      .founder-strip .tagline-content { justify-content: space-between; }
      .founder-section { margin-left: 0; margin-right: 20px; }
    }
    @media (min-width: 992px) and (max-width: 1199px) {
      .tagline h1 { font-size: 2.2rem; }
      .tagline p { font-size: 1.1rem; }
      .section h2 { font-size: 1.8rem; }
      .founder-strip .tagline-content { justify-content: center; }
      .founder-section { margin-left: 0; margin-bottom: 15px; }
    }
    @media (max-width: 991px) and (orientation: portrait) {
      .navbar-expand-lg { display: none; }
      .mobile-nav { display: block; }
      .top-strip .navbar-brand { font-size: 1.6rem; padding: 8px 0; }
      .bottom-strip .nav-link { font-size: 0.85rem; padding: 0.5rem 0 !important; }
      .navbar .container-fluid,
      .tagline,
      .section,
      footer .container {
        max-width: 100%;
        padding-left: 2px;
        padding-right: 2px;
      }
      .card {
        margin-left: 2px;
        margin-right: 2px;
        margin-bottom: 30px;
      }
      .row {
        margin-left: -2px;
        margin-right: -2px;
      }
      [class*='col-'] {
        padding-left: 2px;
        padding-right: 2px;
      }
      .tagline h1 { font-size: 1.6rem; }
      .tagline p { font-size: 0.9rem; }
      .section h2 { font-size: 1.4rem; }
      .card-title { font-size: 1.0925rem; }
      .card-text { font-size: 0.92rem; }
      footer h5 { font-size: 1.1rem; }
      footer ul li a { font-size: 0.9rem; }
      .founder-strip .tagline-content { flex-direction: column; text-align: center; }
      .founder-section { margin: 0 0 15px 0; order: 1; }
      .company-text { text-align: center; margin: 15px 0; order: 2; }
      .founder-info { order: 3; margin-top: 15px; }
      .banner-container { flex-direction: column; }
      .banner-image { width: 100%; flex: 1 1 100%; }
      .directory-list {
          flex-direction: column; /* Stacks links vertically on small screens for readability */
          align-items: center;
      }
      .directory-list li {
          border-right: none;
          padding-right: 0;
          margin: 5px 0;
      }
    }