    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      padding-top: 50px;
 transition: padding 0.3s ease;
    }

          
      body.no-padding {
        padding-top: 0;
      }

    nav {
      background-color: #013483;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
    }

    .menu-toggle {
      display: none;
      font-size: 28px;
      color: white;
      cursor: pointer;
    }

    .nav-links {
        flex-wrap: wrap;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links a {
      color: white;
      text-decoration: none;
      font-weight: bold;
      padding: 8px 12px;
      transition: background-color 0.3s, color 0.3s;
    }

    .nav-links a.active {
      color: orange;
      border-radius: 5px;
    }
    /*                   */

      .top-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 30px;
      background-color: #fff;
      border-bottom: 1px solid #ccc;
       margin-top: 30px;
    }

    .logo {
      height: 100px;
    }

    .college-info {
      text-align: center;
      flex-grow: 1;
      margin-left: -60px; /* Shift back to center visually */
    }

    .college-info h1 {
      font-size: 34px;
      font-weight: bold;
      margin: 0;
      color:#013483;
      letter-spacing: 1px;
    }

    .atagtext{
      text-decoration: none;
      color: #d90429;
      font-weight: 600;
    }
    .erp-link {
      display: flex;
      align-items: center;
      font-weight: bold;
      color: #000;
      text-decoration: none;
    }

    .erp-link i {
      margin-right: 6px;
    }

   /*                   */

   .hero{
    /* height: 60vh; */
    overflow: hidden;
   }
    .hero-text h1 {
      font-size: 4rem;
      font-weight: 900;
      line-height: 1.1;
    }

    .hero-text h1 span {
      color: #ef233c;
      display: block;
    }

    .hero-text p {
      margin: 20px 0;
      font-size: 1.1rem;
      color: #333;
    }

    .cta-buttons {
      display: flex;
      gap: 20px;
      margin-top: 20px;
    }

    .cta-buttons a {
      text-decoration: none;
      font-weight: bold;
      color: #d90429;
      display: flex;
      align-items: center;
      gap: 8px;
    }


    .column img,
    .column .block {
      width: 140px;
      height: 140px;
      object-fit: cover;
      border-radius: 15px;
    }

  .scroll-gallery {
    display: flex;
    gap: 20px;
    overflow: hidden;
    height: 500px;
    transform: scale(0.9);
  }

  /* .scroll-gallery.zoomed {
    transform: scale(1);
    opacity: 1;
  } */

      .scroll-wrapper {
        height: 100%;
        overflow: hidden;
      }

      .column {
        display: flex;
        flex-direction: column;
        gap: 20px;
        will-change: transform;
      }

      .scroll-up {
        animation: scrollUpInfinite 20s linear infinite;
      }

      .scroll-down {
        animation: scrollDownInfinite 20s linear infinite;
      }

      .column img {
        width: 140px;
        height: 140px;
        object-fit: cover;
        border-radius: 15px;
      }

      @keyframes scrollUpInfinite {
        0% {
          transform: translateY(0);
        }
        100% {
          transform: translateY(-50%);
        }
      }

      @keyframes scrollDownInfinite {
        0% {
          transform: translateY(-50%);
        }
        100% {
          transform: translateY(0);
        }
      }



    .changing-word-container {
    display: inline-block;
    text-align: left;
    overflow: hidden;
    position: relative;
  }

  .changing-word {
   display: inline-block;
    white-space: nowrap;
    transition: opacity 0.5s ease;
    text-align: left;
  }



    @media screen and (max-width: 768px) {

      .hero {
        flex-direction: column;
        padding: 40px 20px;
      }

      .column img,
    .column .block {
      width: 100px;
      height: 130px;
      object-fit: cover;
      border-radius: 15px;
    }

      .scroll-gallery {
        justify-content: center;
      }

      .hero-text h1 {
        font-size: 2.5rem;
        text-align: center;
      }

      .hero-text p {
        text-align: center;
      }

      .cta-buttons {
        justify-content: center;
      }

      .college-info h1 {
        font-size: 18px;
      }

      .college-info p {
        font-size: 11px;
      }
       .scroll2 {
        display: none;
       }
    }

   .logo-box {
        width: 100%;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        background: #fff;
        }

        .logo-box img {
        max-height: 70px;
        max-width: 100%;
        object-fit: contain;
        }
      .news-section {
      background-color: #f7f7f7;
      border: 2px solid #013483;
      padding: 10px 0;
      font-family: Arial, sans-serif;
    }

    .events-section {
      padding: 10px 0;
      box-shadow: 0 4px 8px rgba(1, 63, 128, 0.473);
      border-radius: 20px;
      color: #013483;
      max-height: 300px; /* Fixed height */
      overflow: hidden;
      position: relative;
    }

    .events-wrapper {
      display: flex;
      flex-direction: column;
      animation: vertical-scroll 10s linear infinite;
    }
    .events-wrapper:hover {
      animation-play-state: paused;
    }

    @keyframes vertical-scroll {
      0% {
        transform: translateY(0%);
      }
      100% {
        transform: translateY(-50%);
      }
    }

    .designcalender {
      background-color: #669bbc;
      color: white;
      font-weight: 500;
      width: 100px;
      min-width: 80px;
      text-align: center;
      padding: 20px;
    }

    .styleeventtext {
      font-size: 16px;
      font-weight: 500;
      color: #013483;
    }

    .styleeventtext a {
      text-decoration: none;
      color: #013483;
    }

    .styleeventtext a:hover {
      text-decoration: underline;
      color: #0056b3;
    }

    .seperate {
      color: #ECB200;
    }

    .date {
      font-size: 18px;
      font-weight: bold;
    }

    .card {
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }


            .about-msec-left img {
                height: 300px;
            position: relative;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            }
            .styleaboutheader{
                color: crimson;
                font-size: 40px;
                font-weight: 700;
            }
            .styleaboutcontent{
                font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
                line-height: 29px;
                font-weight: 500;
            }

            .program-box {
                position: relative;
                border-radius: 20px;
                overflow: hidden;
                padding: 2rem;
                transition: all 0.3s ease;
                min-height: 350px;
                }

                .program-box .program-info {
                position: relative;
                z-index: 2;
                color: #fff;
                }

                .program-box.ug {
                background-color: #d90429;
                }

                .program-box.pg {
                background-color: #2b2d42;
                }

                .program-image {
                position: absolute;
                bottom: -40px;
                right: 0;
                width: 100%;
                transition: transform 0.3s ease, bottom 0.3s ease;
                z-index: 1;
                padding-right: 1.5rem;
                }

                .program-image img {
                width: 100%;
                border-radius: 20px;
                max-width: 100%;
                height: 300px;
                display: block;
                transition: transform 0.3s ease;
                }

                /* Hover Effect: Pull image closer */
                .program-box:hover .program-image {
                bottom: -10px;
                transform: scale(1.02);
                }

                .ug-program-box {
                background-color: #d90429;
                color: white;
                border-radius: 16px;
                padding: 30px 25px;
                max-width: 500px;
                height: 400px !important;
                margin: auto;
                box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
                }
                .pg{
                    background-color:#2b2d42;

                }
                .pg .ug-program-list li a{
                    line-height: 40px;
                }
                .section-label {
                color: #f6aa1c;
                text-transform: uppercase;
                font-weight: bold;
                margin-bottom: 10px;
                }

                .section-title {
                font-size: 24px;
                font-weight: 900;
                margin-bottom: 25px;
                }

                .ug-program-list {
                list-style: none;
                padding-left: 0;
                margin: 0;
                }

                .ug-program-list li {
                margin-bottom: 15px;
                }

                .ug-program-list a {
                text-decoration: none;
                color: white;
                font-size: 15px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                transition: color 0.3s ease;
                }

                .ug-program-list a span {
                color: #f6aa1c;
                font-weight: bold;
                }

                .ug-program-list a:hover {
                color: #f6aa1c;
                }
                .bginfra{
                    background-color: #2b2d42;
                }

                .bg-blue {
                    background-color: #666caf98;
                    border-radius: 10px;
                    padding: 25px;
                    position: relative;
                    overflow: hidden;
                    transition: background 0.4s ease;
                    height: 100%;
                    }

                    .life-card {
                    color: white;
                    position: relative;
                    z-index: 1;
                    }

                    .life-card:hover {
                    background-color: transparent;
                    }

                    .life-card::before {
                    content: "";
                    position: absolute;
                     /*background-image: url('./banner3.JPG'); Replace with an actual image */
                    background-size: cover;
                    background-repeat: no-repeat;
                    background-position: center;
                    opacity: 0;
                    transition: all 0.6s ease;
                    z-index: 0;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    }
                    .card1::before{
                        background-image: url("./cse.JPG");
                    }
                    .card2::before{
                        background-image: url("./crd2.png");
                    }
                    .card3::before{
                        background-image: url("./card3.jpg");
                    }
                    .card4::before{
                        background-image: url("./card5.jpg");
                    }
                    .card5::before{
                        background-image: url("./itimg.JPG");
                    }
                    .card6::before{
                        background-image: url("./civilimg.jpg");
                    }

                    .life-card.image-left:hover::before {
                    transform: translateX(-100%);
                    opacity: 1;
                    animation: slideInLeft 0.6s forwards;
                    }

                    .life-card.image-right:hover::before {
                    transform: translateX(100%);
                    opacity: 1;
                    animation: slideInRight 0.6s forwards;
                    }

                    .life-card.image-bottom:hover::before {
                    transform: translateY(100%);
                    opacity: 1;
                    animation: slideInBottom 0.6s forwards;
                    }

                    @keyframes slideInLeft {
                    from { transform: translateX(-100%); opacity: 0; }
                    to { transform: translateX(0); opacity: 1; }
                    }

                    @keyframes slideInRight {
                    from { transform: translateX(100%); opacity: 0; }
                    to { transform: translateX(0); opacity: 1; }
                    }

                    @keyframes slideInBottom {
                    from { transform: translateY(100%); opacity: 0; }
                    to { transform: translateY(0); opacity: 1; }
                    }

                    .life-icon {
                    font-size: 30px;
                    margin-bottom: 15px;
                    }

                .bgplacement {
                    background-color: #edf2f4;
                    position: relative;
                    }
                    .placementheader{
                        font-size: 2.5rem;
                        font-weight: 700;
                    }
                    .placement-container {
                    background-color: rgba(255, 255, 255, 0.2);
                    backdrop-filter: blur(10px);
                    -webkit-backdrop-filter: blur(10px);
                    padding: 20px;
                    border-radius: 8px;
                    margin-top: 100px;
                    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
                    }

                    h2 {
                    font-size: 3rem;
                    font-weight: 800;
                    color: #0e3d6f;
                    line-height: 1.2;
                    }

                    .stat h3 {
                    font-size: 24px;
                    color: #0e3d6f;
                    margin-bottom: 8px;
                    }

                    .stat p {
                    font-size: 40px;
                    font-weight: bold;
                    color: #0e3d6f;
                    }

                    .ticker-wrapper {
                    overflow: hidden;
                     background-color: rgb(255, 255, 255);
                    backdrop-filter: blur(10px);
                    -webkit-backdrop-filter: blur(10px);
                    padding: 20px;
                    border-radius: 8px;
                    margin-top: 100px;
                    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
                    padding: 10px 0;
                    }

                    .ticker {
                    display: flex;
                    width: fit-content;
                    animation: scroll 50s linear infinite;
                    }

                    .ticker-item {
                    flex: 0 0 auto;
                    padding: 0 30px;
                    }

                    .ticker-item img {
                    height: 100px;
                    object-fit: contain;
                    }

                    @keyframes scroll {
                    0% { transform: translateX(0); }
                    100% { transform: translateX(-50%); }
                    }

                    .stylefooter {
                    background-color: #2b2d42;
                    font-weight: 400;
                }
                .textcolor{
                  color: #ef233c !important;
                  font-size: 50px !important;
                }
    @media screen and (max-width: 768px) {
    .top-header {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: #fff;
      border-bottom: 1px solid #ccc;
      margin-top: 0;
      padding: 0;
    }
    .college-info{
        margin: 0;
    }
    .menu-toggle {
    display: block;
    }
    nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

nav.expanded {
  position: static;
  padding-bottom: 20px;
  box-shadow: none;
}

.nav-links {
    -webkit-overflow-scrolling: touch;
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  transition: max-height 0.4s ease;
  background-color: #013483;
}

.nav-links.show {
  max-height: 650px;
  overflow: scroll;
}
    .hero-text h1 span{
            display: inline;
    }
    .news-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px;
    }
    .college-info h1 {
    font-size: 18px;
    }

    .college-info p {
    font-size: 11px;
    }
    .about-msec-container {
        flex-direction: column;
    }

    .about-msec-left {
        border-top-right-radius: 20px;
        border-bottom-left-radius: 20px;
        justify-content: center;
    }
    .about-msec-right {
        padding: 30px 20px;
    }
    .program-box {
        padding: 1.5rem;
    }

    .program-image {
        position: static;
        padding-right: 0;
        margin-top: 1rem;
    }

    .program-image img {
        border-radius: 15px;
    }
    }
/* 
@media screen and (min-width: 1150px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #013483;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 10px 0;
    text-align: center;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }
} */


.dropdown {
  position: relative;
}

.dropdown-toggle {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #013483;
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 999;
  flex-direction: column;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

.dropdown-menu a {
  padding: 10px 15px;
  text-align: left;
  color: #013483;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu a:hover {
  background-color: #ECB200;
  color: black;
}
.textdark{
  color: #013483;
}
.testimonial-card {
  height: 380px !important;
  overflow-y: scroll !important;
    scrollbar-width: none;  
  -ms-overflow-style: none;
}
@media screen and (max-width: 768px) {
  .testimonial-card{
    padding: 20px !important;
    height: auto !important;
  }
}

.testimonial-card img {
  flex-shrink: 0; /* prevents image from shrinking */
  margin-bottom: 1rem;
  max-height: 60px; /* limit image height */
  width: auto; /* keep aspect ratio */
  object-fit: contain;
  align-self: center;
}
.centertext{
    display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;    
  height: 100%;
}

.testimonial-content {
  color: #000;
  display: flex;
  justify-content: center;  
  align-items: center;     
   /* height: 100%;              */
  text-align: center;
}

.testimonial-content::-webkit-scrollbar {
  width: 5px;
}

.testimonial-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

