@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "BNCE" 0,
        "INFM" 0,
        "SPAC" 0;
}

body {
   font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.6;
    overflow-x: hidden;
}


section {
  min-height: 80vh;
  /*min-height: 100dvh;*/
  margin-inline: auto;
  padding: 0 5% 0;
}

header h1{
  font-size: clamp(1.4rem, calc(3vw + 0.3rem), 1.6rem );
  line-height: 1.5;
 
}

header h5{
   font-size: clamp(0.3rem, calc(3vw + 0.3rem), 0.8rem );
  }
  
  header h6{
  line-height: 1.9;
  font-size: clamp(0.3rem, calc(3vw + 0.3rem), 0.8rem );
}
/* Navbar link styling */
.navbar-nav .nav-link {
  text-decoration: none !important;
  color: #fff !important;
  padding: 0.5rem 0.5rem;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  font-weight: 600;
}

/* Modern ticker animation */
.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 20s linear infinite;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

.event-scroll {
 
  overflow: hidden;
  position: relative;
}

.event-inner {
  display: block;
  animation: scroll-up linear infinite;
}

.event-scroll:hover .event-inner {
  animation-play-state: paused; /* pause on hover */
}

@keyframes scroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); } /* scroll half because we duplicate content */
}

/* Timeline styling */
.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 60px;
}
.timeline-icon {
  position: absolute;
  left: 10px;
  top: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-content {
  background: #c7f068;
  padding: 1rem;
  border-radius: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* .home-image {
  position: absolute;
  max-width: 25%;
  z-index: 99;
  right: 7%;
  top: 40%;

}

.card-admission {
  background-color: rgba(255, 249, 249, 0.9);
  border-radius: 0 2rem 0;
}

.card-admission h4 {
  border-radius: 0 2rem 0 0;
} */

.event-scroll {
  max-height: 300px;
  overflow: hidden;
  position: relative;
  padding: 2rem;
}

.event-inner {
  display: flex;
  flex-direction: column;
  animation: scroll-up linear infinite;
}

.event-scroll:hover .event-inner {
  animation-play-state: paused; /* pause on hover */
}

@keyframes scroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); } /* only half, because we duplicate content */
}


.horizontal-line {
  flex: 1;                  /* stretch line across */
  height: 2px;              /* thickness */
  background-color: #6c757d; /* Bootstrap secondary color */
}

.circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* quick link */
.quick-card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
/* campus info  */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.fade-in.delay-1 { animation-delay: 0.3s; }
.fade-in.delay-2 { animation-delay: 0.6s; }
.fade-in.delay-3 { animation-delay: 0.9s; }
.fade-in.delay-4 { animation-delay: 1.2s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* cousres card */
.course-card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.icon-wrapper {
  display: inline-block;
  background: rgba(0,123,255,0.1);
  border-radius: 50%;
  padding: 15px;
}
.animated-icon {
  transition: transform 0.4s ease;
}
.course-card:hover .animated-icon {
  transform: rotate(10deg) scale(1.2);
}


/* teams  */

.team-card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* gallery */
.gallery-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}





@media (max-width: 600px) {
  .scroll-news {
    display: none;
  }

  .home-image {
    position: relative;
    max-width: 100%;
    right: 0;
  }
.logo{
  text-align: center;
}
  .logo img{
    display: none;

  }

 
}
