  :root {
      --primary-color: #590091;
      --section-bg: #e1eeda;
      --footer-bg: #270040;
      --body-text: rgba(30, 30, 30, 0.6);
  }

  body {
      font-family: 'Roboto', sans-serif !important;
      font-weight: 400;
      font-style: normal;
      color: var(--body-text) !important;
      font-size: 16px !important;
      line-height: 28px;
      overflow-x: hidden;
  }

  .primary-color {
      color: #4846AB;
  }

  .primary-bg {
      background-color: #4846AB;
  }

  .section-bg {
      background-color: #f0e9e9;
  }

  .section-gray {
      background-color: #d1d0d0;
  }

  /*#f3f4fd */
  .footer-bg {
      background-color: var(--footer-bg);
  }

  footer p,
  footer li,
  footer a {
      color: white;
  }

  footer h5 {
      color: #DFABFF;
  }

  footer a:hover {
      color: #000;
  }

  .btn-primary-custom {
      background-color: var(--primary-color);
      border-color: var(--primary-color);
      color: white;
      padding: 10px 24px;
      transition: all 0.3s ease;
  }

  .btn-outline-primary-custom {
      color: var(--primary-color);
      border-color: var(--primary-color);
      background-color: transparent;
      transition: all 0.3s ease;
  }

  .btn-outline-primary-custom:hover {
      background-color: var(--primary-color);
      color: white;
  }

  .bg-primary-custom {
      background-color: var(--primary-color);
  }

  .text-primary-custom {
      color: var(--primary-color);
  }

  .bg-section {
      background-color: var(--section-bg);
  }

  .bg-footer {
      background-color: var(--footer-bg);
  }

  .btn-primary-custom {
      background-color: var(--primary-color);
      border-color: var(--primary-color);
      color: white;
      padding: 10px 24px;
      transition: all 0.3s ease;
  }

  .btn-primary-custom:hover {
      background-color: #3a38a0;
      border-color: #3a38a0;
      color: white;
  }

  /* Top Bar */
  .top-bar {
      background-color: #f6f6f6;
      padding: 6px 0;
      font-size: 14px;
  }

  /* Logo Section */
  .logo-section {
      padding: 15px 0;
      background-color: #590091;
  }

  .logo {
      height: 100px;
  }

  /* Mega Menu */
  .navbar {
      padding: 0;
  }

  .nav-link {
      padding: 15px 15px;
  }

  .dropdown-menu {
      border: none;
      border-radius: 0;
      box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
      padding: 0;
  }

  .mega-menu {
      min-width: 800px;
      padding: 20px;
  }

  .mega-menu-column {
      padding: 0 15px;
  }

  .mega-menu-column h6 {
      border-bottom: 2px solid #4846AB;
      padding-bottom: 10px;
      margin-bottom: 15px;
      font-weight: 600;
  }

  .dropdown-item {
      padding: 8px 15px;
      font-size: 14px;
  }

  .dropdown-item:hover {
      background-color: #f1f1f1;
      color: #ADD8E6;
  }

  .dropdown-submenu {
      position: relative;
  }

  .dropdown-submenu .dropdown-menu {
      top: 0;
      left: 100%;
      margin-top: -1px;
  }

  .dropdown-menu-end .dropdown-submenu>.dropdown-menu {
      right: 100%;
      left: auto;
      margin-right: .1rem;
      margin-left: 0;
  }

  /* Hero Section */
  .carousel-item {
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
  }

  .carousel-item img {
      height: 100%;
  }

  .carousel-caption {
      background-color: rgba(72, 70, 171, 0.7);
      padding: 20px;
      border-radius: 10px;
      max-width: 80%;
      margin: 0 auto;
  }

  /* News Scroll 
        .news-scroll {
            padding: 15px 0;
            white-space: nowrap;
            overflow-x: auto;
        }

        .news-scroll::-webkit-scrollbar {
            height: 5px;
        }

        .news-scroll::-webkit-scrollbar-thumb {
            background: #4846AB;
            border-radius: 10px;
        }

        .news-item {
            display: inline-block;
            margin-right: 20px;
            padding: 10px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            width: 300px;
            white-space: normal;
        }
*/
  .news-scroll-wrapper {
      display: flex;
      overflow-x: auto;
      gap: 1.5rem;
      padding: 1rem 0;
      scroll-behavior: smooth;
      /* background: #f0e9e9; */
  }

  .news-item {
      min-width: 320px;
      max-width: 320px;
      background: #b6b6fb;
      border-radius: 1rem;
      box-shadow: 0 2px 8px rgba(72, 70, 171, 0.07);

      padding: 40px 30px 33px;
      flex: 0 0 auto;
      border: 1px solid #e1eeda;
  }

  /* About Section */
  .about-image {
      border-radius: 15px;
      max-width: 100%;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  /* Course Box */
  .course-code {
      display: inline-block;
      padding: 5px 10px;
      background-color: rgba(72, 70, 171, 0.1);
      color: var(--primary-color);
      border-radius: 30px;
      font-size: 0.8rem;
      font-weight: 500;
      margin-left: 8px;
  }

  .intake-badge {
      display: inline-block;
      padding: 5px 10px;
      background-color: rgba(72, 70, 171, 0.1);
      color: var(--primary-color);
      border-radius: 30px;
      font-size: 0.8rem;
      font-weight: 500;
      margin-left: 8px;
  }

  .course-box {
      overflow: hidden;
      background: #fff;
      transition: transform 0.3s;
      margin-bottom: 20px;
      height: 100%;
      border: 1px solid rgba(44, 44, 44, 0.1);

  }

  .course-box:hover {
      transform: translateY(-5px);
  }

  .course-img {
      height: 200px;
      object-fit: cover;
      border: 0.25rem;
      border-radius: 25px;
      padding: 10px;
  }

  .icon-course {
      display: inline-block;
      width: 1.3em;
      height: 1.3em;
      background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%234846AB" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2L2 7l10 5 10-5-10-5zm0 0v6m0 0l10 5m-10-5L2 7m20 0v6.5a2 2 0 01-1 1.73l-7 4a2 2 0 01-2 0l-7-4A2 2 0 012 13.5V7"></path></svg>') no-repeat center center / contain;
      vertical-align: middle;
      margin-right: 0.5em;
  }

  .icon-intake {
      display: inline-block;
      width: 1.2em;
      height: 1.2em;
      background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%234846AB" stroke-width="2" viewBox="0 0 24 24"><path d="M16 21v-2a4 4 0 00-8 0v2"/><circle cx="12" cy="7" r="4"/></svg>') no-repeat center center / contain;
      vertical-align: middle;
      margin-right: 0.5em;
  }

  .icon-code {
      display: inline-block;
      width: 1.2em;
      height: 1.2em;
      background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%234846AB" stroke-width="2" viewBox="0 0 24 24"><rect x="3" y="7" width="18" height="13" rx="2"/><path d="M16 3v4M8 3v4"/></svg>') no-repeat center center / contain;
      vertical-align: middle;
      margin-right: 0.5em;
  }

  /* CTA Section */
  .cta-section {
      background: linear-gradient(rgba(72, 70, 171, 0.8), rgba(72, 70, 171, 0.8)), url('https://images.unsplash.com/photo-1503676382389-4809596d5290?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
      padding: 80px 0;
      color: white;
  }

  /* Scrolling News Ticker */
  .news-ticker-container {
      overflow: hidden;
      height: 50px;
      background-color: #f0e9e9;
      border-top: 2px solid #4846AB;
      border-bottom: 2px solid #4846AB;
  }

  .news-ticker {
      height: 100%;
      display: flex;
      align-items: center;
  }

  @keyframes tickerAnimation {
      0% {
          transform: translateX(100%);
      }

      100% {
          transform: translateX(-100%);
      }
  }

  .ticker-item {
      white-space: nowrap;
      animation: tickerAnimation 60s linear infinite;
      padding-right: 50px;
      font-weight: 500;
  }

  .ticker-item:hover {
      animation-play-state: paused;
  }

  .section-area .section-title {
      font-size: 46px;
      font-weight: 700;
      line-height: 1.2;
  }

  .section-area .section-text {
      font-size: 16px;
      line-height: 24px;
      margin-bottom: 0;
      color: #000;
  }

  .course-card {
      transition: all 0.3s ease;
      border: none;

      margin-bottom: 20px;
  }

  .course-card:hover {
      transform: translateY(-5px);
  }

  .course-card-img-top {
      border-radius: 10px;
      height: 180px;
      object-fit: cover;
      margin: 20px;
  }

  .course-code {
      background-color: #f8f9fa;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 14px;
      display: inline-block;
      margin-bottom: 8px;
  }

  .filter-buttons {
      margin-bottom: 30px;
  }

  .filter-buttons .btn {
      margin-right: 8px;
      margin-bottom: 8px;
  }

  .btn-learn-more {
      background-color: #fff;
      color: #4846AB;
      border: 1px solid #4846AB;
  }

  .btn-apply {
      background-color: #4846AB;
      color: white;
  }

  .btn-outline-primary {
      --bs-btn-color: #4846AB;
      --bs-btn-border-color: #4846AB;
      --bs-btn-hover-color: #fff;
      --bs-btn-hover-bg: #4846AB;
      --bs-btn-hover-border-color: #4846AB;
      --bs-btn-focus-shadow-rgb: 13, 110, 253;
      --bs-btn-active-color: #fff;
      --bs-btn-active-bg: #4846AB;
      --bs-btn-active-border-color: #4846AB;
      --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
      --bs-btn-disabled-color: #4846AB;
      --bs-btn-disabled-bg: transparent;
      --bs-btn-disabled-border-color: #4846AB;
      --bs-gradient: none;
  }

  .gear-list {
      list-style: none;
      padding-left: 0;
      font-family: 'Roboto', sans-serif;
      font-size: 1.1rem;
      max-width: 700px;
      margin: auto;
  }

  .gear-list li {
      position: relative;
      padding-left: 2.2em;
      margin-bottom: 1.2em;
  }

  .gear-list li::before {
      content: '';
      position: absolute;
      left: 0.2em;
      top: 0.3em;
      width: 1.4em;
      height: 1.4em;
      background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%234846AB" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="3"/><path d="M12 2v2M12 20v2M4.93 4.93l1.42 1.42M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.42-1.42M17.66 6.34l1.41-1.41"/></svg>');
      background-size: 1.4em 1.4em;
      background-repeat: no-repeat;
      background-position: center;
      display: inline-block;
  }

  @media (max-width: 600px) {
      .logo {
          height: auto;
      }

      /* .carousel-item {
          height: 250px;
      } */
  }

  .alumni-masonry {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
  }

  .alumni-col {
      display: flex;
      flex-direction: column;
      gap: 2rem;
  }

  .alumni-card {
      position: relative;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 2px 16px rgba(72, 70, 171, 0.10);
      background: #fff;
      transition: transform 0.2s, box-shadow 0.2s;
  }

  .alumni-card:hover {
      transform: translateY(-6px) scale(1.03);
      box-shadow: 0 8px 32px rgba(72, 70, 171, 0.18);
  }

  .alumni-card-tall {
      width: 260px;
      height: 500px;
  }

  .alumni-card-short {
      width: 260px;
      height: 240px;
  }

  .alumni-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
  }

  .alumni-overlay {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      padding: 1.2rem 1rem 1rem 1rem;
      background: linear-gradient(0deg, rgba(72, 70, 171, 0.93) 80%, rgba(72, 70, 171, 0.1) 100%);
      color: #fff;
      z-index: 2;
      font-size: 1rem;
      display: flex;
      align-items: flex-end;
      height: 25%;
  }

  .alumni-overlay h5 {
      font-weight: 700;
      margin-bottom: 0.2rem;
      font-size: 1.1rem;
  }

  .alumni-overlay p {
      margin-bottom: 0;
      font-size: 0.95rem;
      line-height: 1.25;
  }

  @media (max-width: 1200px) {

      .alumni-card-tall,
      .alumni-card-short {
          width: 200px;
      }
  }

  @media (max-width: 992px) {
      .alumni-masonry {
          flex-direction: column;
          align-items: center;
      }

      .alumni-col {
          flex-direction: row;
          gap: 2rem;
      }

      .alumni-card-tall,
      .alumni-card-short {
          width: 240px;
          height: 240px;
      }
  }

  @media (max-width: 600px) {

      .alumni-masonry,
      .alumni-col {
          flex-direction: column;
          gap: 1rem;
      }

      .alumni-card-tall,
      .alumni-card-short {
          width: 100%;
          height: 200px;
      }
  }

  .video-section {
      padding: 100px 0;
      /* background-color: #ddece9; */
      background: linear-gradient(rgba(72, 70, 171, 0.8), rgba(72, 70, 171, 0.8)), url('https://www.msbecl.ac.in/uploads/video-section.jpg') center/cover no-repeat;
      padding: 80px 0;
      color: white
  }

  .video-container {
      position: relative;
      border-radius: 15px;
      overflow: hidden;
      /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); */
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .video-container:hover {
      transform: translateY(-5px);
      /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); */
  }

  .video-container img {
      width: 100%;
      height: auto;
      display: block;
  }

  .video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* background: rgba(13, 110, 253, 0.3); */
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s ease;
  }

  .video-container:hover .video-overlay {
      background: rgba(13, 110, 253, 0.5);
  }

  .play-button {
      width: 80px;
      height: 80px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
  }

  .video-container:hover .play-button {
      transform: scale(1.1);
  }

  .play-button i {
      color: #0d6efd;
      font-size: 30px;
      margin-left: 5px;
      /* Slight adjustment for play icon */
  }

  .section-subtitle {
      font-size: 1.2rem;
      color: #0d6efd;
      margin-bottom: 20px;
      text-transform: uppercase;
      letter-spacing: 2px;
  }

  .feature-list {
      list-style: none;
      padding-left: 0;
      margin-bottom: 30px;
  }

  .feature-list li {
      padding: 8px 0;
      position: relative;
      padding-left: 30px;
      font-size: 1.05rem;
  }

  .feature-list li:before {
      content: "\f00c";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      left: 0;
      color: #0d6efd;
  }

  .btn-primary {
      padding: 12px 30px;
      border-radius: 50px;
      font-weight: 600;
      box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
      transition: all 0.3s ease;
  }

  .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
  }

  .modal-dialog {
      max-width: 800px;
  }

  .modal-content {
      border: none;
      border-radius: 15px;
      overflow: hidden;
  }

  .modal-header {
      border-bottom: none;
      padding: 15px 20px 0;
  }

  .modal-body {
      padding: 15px 20px 20px;
  }

  .modal-header .btn-close {
      background-color: white;
      opacity: 1;
      padding: 10px;
      margin: -10px -10px -10px auto;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }

  .video-wrapper {
      position: relative;
      padding-bottom: 56.25%;
      /* 16:9 Aspect Ratio */
      height: 0;
      overflow: hidden;
  }

  .video-wrapper iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0;
  }

  @media (max-width: 991.98px) {
      .video-section {
          padding: 60px 0;
      }

      .section-content {
          margin-bottom: 40px;
      }
  }

  @media (max-width: 575.98px) {
      .play-button {
          width: 60px;
          height: 60px;
      }

      .play-button i {
          font-size: 24px;
      }
  }

  .contact-icon {
      width: 60px;
      height: 60px;
      background-color: var(--primary-color);
      color: white;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 1rem;
  }

  .contact-card {
      transition: all 0.3s ease;
      border-radius: 10px;
      overflow: hidden;
      border: none;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .contact-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .form-control:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 0.25rem rgba(72, 70, 171, 0.25);
  }

  .form-floating label {
      color: #6c757d;
  }

  .contact-info p {
      margin-bottom: 0.5rem;
  }



  /* Page Header */
  .page-header {
      background-color: #212529;
      margin: 0 0 35px 0;
      padding: 30px 0;
      position: relative;
      text-align: left;
  }

  .page-header h1 {
      color: #fff;
      display: inline-block;
      font-size: 30px;
      line-height: 1;
      margin: 0;
      padding: 0;
      font-weight: 400;
      position: relative;
      top: 1px;
  }

  .page-header .sub-title {
      display: block;
      font-size: 1.2em;
      font-weight: 300;
      margin: 0;
      opacity: 0.8;
      color: #fff;
  }

  .page-header .page-header-extra-button {
      position: absolute;
      width: 100%;
      bottom: 50px;
      left: 0;
      right: 0;
      z-index: 5;
  }

  .page-header.page-header-sm {
      padding: 30px 0;
  }

  .page-header.page-header-sm h1 {
      font-size: 22px;
  }

  .page-header.page-header-lg {
      padding: 50px 0;
  }

  .page-header.page-header-lg h1 {
      font-size: 40px;
  }

  .page-header.page-header-classic:after {
      content: '';
      width: 100%;
      height: 5px;
      background: rgba(255, 255, 255, 0.8);
      position: absolute;
      bottom: 0;
      left: 0;
  }

  .page-header.page-header-classic .page-header-title-border {
      width: 0;
      height: 5px;
      position: absolute;
      bottom: 0;
      background: transparent;
      z-index: 1;
  }

  .page-header.page-header-modern h1 {
      font-size: 28px;
  }

  .page-header.page-header-modern.page-header-sm h1 {
      font-size: 22px;
  }

  .page-header.page-header-modern.page-header-md {
      padding: 50px 0;
  }

  .page-header.page-header-modern.page-header-lg {
      padding: 65px 0;
  }

  .page-header.page-header-modern.page-header-lg h1 {
      font-size: 32px;
  }

  .page-header.page-header-modern.page-header-background {
      padding: 70px 0;
      background-size: cover;
  }

  .page-header.page-header-modern.page-header-background.page-header-background-pattern {
      background-size: auto;
      background-repeat: repeat;
      background-attachment: fixed;
  }

  .page-header.page-header-modern.page-header-background.page-header-background-sm {
      padding: 50px 0;
  }

  .page-header.page-header-modern.page-header-background.page-header-background-md {
      padding: 70px 0;
  }

  .page-header.page-header-modern.page-header-background.page-header-background-lg {
      padding: 100px 0;
  }