:root {
  --primary: #1e40af;
  --accent: #3b82f6;
  --text: #1f2937;
  --secondary-text: #6b7280;
  --bg: #f9f9f9;
  --card-bg: #ffffff;
  --tagline-bg: #1e293b;
  --footer-bg: #111827;
}
* {
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
main {
  flex: 1;
}
.container, .container-fluid {
  max-width: 100%;
}
.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;
  text-decoration: none;
}
.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;
  text-decoration: none;
}
.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;
  text-decoration: none;
}
.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;
  color: #ffffff;
}
.tagline p {
  font-family: 'Inter', sans-serif;
  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-family: 'Inter', sans-serif;
  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;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer ul li {
  margin-bottom: 10px;
}
footer ul li a {
  font-family: 'Inter', sans-serif;
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.3s, transform 0.2s;
}
footer ul li a:hover {
  color: var(--accent);
  transform: translateX(4px);
}
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-family: 'Inter', sans-serif;
  font-size: 1.1rem;
}
.company-text strong {
  color: #4a90e2;
}
.founder-info {
  text-align: center;
}
.founder-info p {
  font-family: 'Inter', sans-serif;
  margin: 0;
  font-size: 0.9rem;
  color: #e0e0e0;
}
.founder-info .title {
  font-weight: 600;
}
.social-bar {
  margin-top: 15px;
}
.social-bar a {
  font-family: 'Inter', sans-serif;
  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;
}
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}
.search-bar {
  font-family: 'Inter', sans-serif;
  width: 100%;
  max-width: 500px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.search-bar:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}
.category {
  margin-bottom: 15px;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px;
}
.category-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  transition: color 0.3s ease;
  width: 100%;
  position: relative;
}
.category-title:hover {
  color: var(--accent);
}
.toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.toggle-icon::before {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--secondary-text);
  font-size: 16px;
  transition: transform 0.3s ease;
}
.category.open .toggle-icon::before,
.nested-item.open .toggle-icon::before {
  transform: rotate(180deg);
}
.subcategory, .nested-category {
  max-height: 0;
  overflow: hidden;
  list-style: none;
  padding: 0 10px;
  margin: 0;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}
.category.open .subcategory,
.nested-item.open .nested-category {
  max-height: 1000px;
  opacity: 1;
  padding: 10px 10px;
}
.subcategory li,
.nested-category li {
  margin-bottom: 8px;
}
.subcategory li a,
.nested-category li a {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}
.subcategory li a:hover,
.nested-category li a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.nested-item {
  margin: 5px 0;
}
.nested-item > div {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 5px 10px;
  transition: color 0.3s ease;
  width: 100%;
  position: relative;
}
.nested-item > div:hover {
  color: var(--accent);
}
.toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
/* Responsive Additions */
@media (min-width: 992px) {
  .search-bar {
    max-width: 500px;
  }
  .search-bar .form-control {
    width: 50%;
    margin: 0 auto;
  }
}
@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; }
  .header {
    flex-direction: column;
    align-items: center;
  }
  .search-bar {
    max-width: 100%;
    padding: 0.5rem 1rem;
  }
  .category {
    padding: 8px;
  }
  .subcategory, .nested-category {
    padding: 8px 2px;
  }
  .category-title {
    padding: 6px 8px;
  }
  .nested-item > div {
    padding: 4px 8px;
  }
  .banner-container { flex-direction: column; }
  .banner-image { width: 100%; flex: 1 1 100%; }
}