:root {
      --primary-color: #003366;
      --secondary-color: #f8f9fa;
      --accent-color: #ff6b6b;
    }
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      overflow-x: hidden;
    }
    .navbar {
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    .navbar-brand img {
      height: 50px;
    }
.custom-navbar {
  background: #282184;
  min-height: 60px;
  border: none;
  width: 100%;
  left: 0;
  right: 0;
  border-radius: 0;  /* default: no rounding for mobile */
}

/* Add rounded bottom corners only on larger screens */
@media (min-width: 992px) {
  .custom-navbar {
    border-radius: 0 0 18px 18px;
  }
}

/* Common nav-link style for both rows */
.custom-navbar .navbar-nav .nav-link {
  color: #e0f7fa !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 1px 7px;
  border-radius: 8px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  position: relative;
  text-transform: uppercase;
}

/* First row links */
.custom-navbar .navbar-nav.top-row .nav-link {
  font-size: 1.05rem;
}

/* Second row links */
.custom-navbar .navbar-nav.bottom-row .nav-link {
  font-size: 0.92rem;   /* you can adjust this */
}


.custom-navbar .navbar-nav .nav-link.active,
.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link:focus {
  background: #3a2bb0;
  color: #ffeb3b !important;
  
  box-shadow: 0 3px 10px rgba(0,0,0,0.16);
}

.custom-navbar .navbar-toggler {
  background: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.09);
}

/* Two-row navbar only on desktops */
@media (min-width: 992px) {
  .navbar-nav.top-row {
    flex-basis: 100%;
    justify-content: left;
    margin-bottom: 4px;
  }
  .navbar-nav.bottom-row {
    flex-basis: 100%;
    justify-content: left;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 4px;
	
  }
}



/* Collapse menu container on small screens */
@media (max-width: 991px) {
  .custom-navbar .navbar-collapse {
    background: #282184; /* same as navbar */
    padding: 1rem;
    border-radius: 0 0 18px 18px;
  }

  .custom-navbar .navbar-nav .nav-link {
    display: block;
    padding: 2px;
    margin: 2px 0;
    text-align: left;
    color: #fff !important;
    background: transparent;
    box-shadow: none;
  }

  .custom-navbar .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: none;
  }
}


@media (min-width: 920px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* remove default margin */
  }
 
 
}

/* Dropdown menu container */
.dropdown-menu {
 background: #282184;	
 // background-color: #f8f9fa; /* Light background for submenu */
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  min-width: 220px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}




/* Dropdown item links */
.dropdown-item {
  color: #fff;
  font-weight: 500;
  padding: 5px 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-left: 4px solid transparent;
}


/* Hover & active state for dropdown items */
.dropdown-item:hover,
.dropdown-item:focus {
  background: #3a2bb0; /* slightly lighter shade */
  color: #ffeb3b;      /* golden yellow text */
  border-left-color: #ffeb3b;
  text-decoration: none;
}

/* Dropdown headers inside menu */
.dropdown-header {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 2px 10px 2px;
  text-transform: uppercase;
  border-bottom: 1px solid red !important;
  margin-bottom: 2px;
  user-select: none;
  cursor: default;
  color:red;
}

/* For accessibility focus */
.dropdown-item:focus-visible {
  outline: 2px solid #318CE7;
  outline-offset: 2px;
}

/* Mega menu container */
.dropdown-mega {
  position: static;
  
  
}

.dropdown-mega .dropdown-menu {
  width: 100%;
  left: 0;
  right: 0;
  
  border: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  // background: linear-gradient(90deg, #318CE7 0%, #282184 100%);
}

/* Section headings */
.dropdown-mega h6 {
  font-size: 16px;
  font-weight: 600;
  margin: 5px 0 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid #e5e5e5;
  color: #fff;
}

/* Dropdown items with reduced spacing */
.dropdown-mega .dropdown-item {
  color: #fff;
  font-weight: 500;
  padding: 5px 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-left: 4px solid transparent;
  
}

/* Hover effect */
.dropdown-mega .dropdown-item:hover {
  background: #3a2bb0; /* slightly lighter shade */
  color: #ffeb3b;      /* golden yellow text */
  border-left-color: #ffeb3b; 
  text-decoration: none;
}

/* Responsive: stack into single column on mobile */
@media (max-width: 991px) {
  .dropdown-mega .dropdown-menu {
    padding: 10px;
  }
  .dropdown-mega .row {
    display: block;
  }
  .dropdown-mega .col-md-4 {
    width: 100%;
    margin-bottom: 10px;
  }
}


.zigzag-circle
{
  position: relative;
  margin-left: 20px;
}

.zigzag-circle {
  width: 90px;
  height: 90px;
}

.zigzag-circle svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  z-index: 0;
  animation: rotateShape 5s linear infinite;
  transform-origin: center;
}


.gvpe-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-size: 25px;
  color: maroon;
  z-index: 1;
}

/* Circle animation */
@keyframes rotateShape {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.separator {
  border-right: 2px solid #000080; /* navy vertical line */
}

   /* repeat colors for every 3 notifications */

/* ✅ Keep your 4-color scheme */
.notifications a:nth-child(4n+1) {
  color: #198754;
  border: 1px solid #198754; /* success */
  margin-top:4px;
}
.notifications a:nth-child(4n+1) .date-box {
  background-color: #198754;
  color: #fff;
}

.notifications a:nth-child(4n+2) {
  color: #0d6efd;
  border: 1px solid #0d6efd; /* primary */
   margin-top:4px;
}
.notifications a:nth-child(4n+2) .date-box {
  background-color: #0d6efd;
  color: #fff;
}

.notifications a:nth-child(4n+3) {
  color: #dc3545;
  border: 1px solid #dc3545; /* danger */
   margin-top:4px;
}
.notifications a:nth-child(4n+3) .date-box {
  background-color: #dc3545;
  color: #fff;
}

.notifications a:nth-child(4n+4) {
  color: #870096;
  border: 1px solid #870096; /* purple */
   margin-top:4px;
}
.notifications a:nth-child(4n+4) .date-box {
  background-color: #870096;
  color: #fff;
}

.notifications-wrapper {
  height: calc(4 * 75px); /* show only 4 at a time */
  overflow: hidden;
  position: relative;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  animation: scroll-up 30s linear infinite;
   animation-play-state: paused; /* start paused until visible */
}

.notifications-wrapper:hover .notifications-list {
  animation-play-state: paused !important;
}

.notifications-list a {
  min-height: 75px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
}

/* Scroll through full height of original list */
@keyframes scroll-up {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); } /* -50% = original list height, when duplicated */
}



/* style for date circle */
.date-box {
  width: 54px !important;
  height: 54px !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.2px !important;
}





    .hero-section {
     // background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('https://images.unsplash.com/photo-1523050854058-8df90120c1d9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
      background: var(--primary-color);
	  background-size: cover;
      background-position: center;
      color: white;
      padding: 120px 0;
    }
    .hero-title {
      font-weight: 800;
      font-size: 3rem;
      margin-bottom: 1rem;
    }
    .hero-subtitle {
      font-size: 1.4rem;
      opacity: 0.9;
      margin-bottom: 2rem;
    }
    .btn-hero {
      padding: 12px 30px;
      font-weight: 600;
      border-radius: 30px;
    }
    .section-title {
      color: var(--primary-color);
      font-weight: 700;
      margin-bottom: 2rem;
      position: relative;
      display: inline-block;
    }
    .section-title:after {
      content: '';
      position: absolute;
      width: 70%;
      height: 4px;
      background: var(--accent-color);
      bottom: -10px;
      left: 15%;
    }
    .fact-box {
      text-align: center;
      padding: 12px 12px;
      border-radius: 10px;
      transition: all 0.3s;
      background: var(--secondary-color);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    .fact-box:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    .fact-icon {
      font-size: 1.4rem;
      color: var(--accent-color);
      margin-bottom: 0.3rem;
    }
    .fact-number {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--primary-color);
    }
    .fact-text {
      color: #555;
      font-size: 1.0rem;
    }
	.card-program {
      border: none;
      border-radius: 10px;
      overflow: hidden;
      transition: all 0.3s;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    .card-program:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    .card-program-img {
      height: 180px;
      object-fit: cover;
    }
    .card-program-body {
      padding: 1.5rem;
    }
	


.carousel .carousel-item .event-card {
  position: relative;
  background: linear-gradient(135deg, #e0c3fc, #8ec5fc) !important;
  border-radius: 12px;
  padding: 25px;
  color: #333;
  min-height: 240px;
  /* overflow: hidden;  <-- REMOVE this */
}

/* Dept Ribbon */
.event-dept {
  position: absolute;
  top: 15px;
  right: -40px; /* shift to make diagonal */
  background: #ff4b5c; /* ribbon color (blue) */
  color: #fff;
  padding: 3px 35px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg); /* opposite diagonal */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  letter-spacing: 0.3px;
}



/* Date Ribbon */
.event-date {
  position: absolute;
  top: 15px;
  left: -40px; /* shift to make diagonal */
  background: #ff4b5c; /* ribbon color */
  color: #fff;
  padding: 3px 30px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(-45deg); /* diagonal bar */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  letter-spacing: 0.3px;
}

.event-type {
  position: absolute;
  bottom: 15px;
  left: -40px; /* shift to make diagonal */
  background: #ff4b5c; /* ribbon color (blue) */
  color: #fff;
  padding: 3px 35px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg); /* opposite diagonal */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  letter-spacing: 0.3px;
}


.news-carousel .carousel-inner {
  padding: 10px;
  
}

.news-carousel .event-card {
  
  border-radius: 16px;
  padding: 25px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
 
}


.news-carousel .event-card:hover {
  transform: translateY(-5px);
  //box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-carousel h5 {
  font-weight: 600;
  margin-bottom: 15px;
  color: #0d6efd;
}

.news-carousel p {
  font-size: 1.0rem;
  color: #555;
  margin-bottom: 20px;
  font-weight:bold;
}

.news-carousel .btn {
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.news-carousel .btn:hover {
  background-color: #0a58ca;
  color: #fff;
}

.news-carousel .carousel-indicators [data-bs-target] {
  background-color: #0d6efd;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-pause-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, background 0.3s ease;
  opacity: 0;               /* hidden by default */
  pointer-events: none;      /* avoid blocking clicks when hidden */
}

.news-carousel:hover .carousel-pause-btn {
  opacity: 1;                /* visible on hover */
  pointer-events: auto;
}

.carousel-pause-btn:hover {
  background: rgba(255, 255, 255, 1);
}

.achievements-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid #0d6efd; /* thinner vertical line */
}

.achievements-list li {
  padding: 0.6rem 0.8rem 0.6rem 1rem;  /* reduced padding */
  border-bottom: 1px solid #ddd;
  position: relative;
  font-size: 0.95rem;   /* slightly smaller text */
  line-height: 1.4;     /* tighter line spacing */
  text-align: justify;
  margin: 0;            /* no extra gap */
  font-weight:600;
}

/* alternate colors */
.achievements-list li:nth-child(odd) {
  color: green;   /* Green text */
  background: linear-gradient(135deg, #e6f4ec, #f9fffb); /* very light green tint */
}

.achievements-list li:nth-child(even) {
  color: indigo;  /* Indigo text */
  background: linear-gradient(135deg, #eef0ff, #fafbff); /* very light indigo tint */
}

/* small marker circle */
.achievements-list li::before {
  content: "";
  position: absolute;
  left: -8px;     /* moved closer to line */
  top: 0.8rem;    /* adjusted for smaller padding */
  width: 8px;
  height: 8px;
  background-color: #0d6efd;
  border-radius: 50%;
}

.achievements-list li:last-child {
  border-bottom: none;
}


	.course-card {
      border: none;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      background: #f8f9fa;
	  
    }

    .course-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    .course-card img {
      width: 100%;
      height: 150px;
      object-fit: cover;
    }

    .course-card-body {
      padding: 15px;
    }

    .course-card-title {
      font-weight: 600;
      font-size: 1.1rem;
      margin-bottom: 8px;
	  color:blue;
    }

    .course-intake {
      font-size: 0.8rem;
      color: #CA2325;
      font-weight: bold;
    }
    
	
  .corner-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: green; /* Same red as your section heading for consistency */
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
}
  .testimonial-card {
  background: linear-gradient(135deg, #d6ebff, #f2f6ff) !important;
  border-radius: 15px;
  padding: 10px 10px 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.testimonial-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 5px;
  //object-fit: cover;
  border: 1px solid var(--primary-color, #007bff);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.testimonial-text {
  font-style: italic;
  color: #555;
  font-size: 1.1rem;
  flex-grow: 1;
  margin-bottom: 1px;
  line-height: 1.5;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color, #007bff);
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 20px 15px 25px;
  }
  .testimonial-photo {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
  }
  .testimonial-text {
    font-size: 1rem;
  }
  .testimonial-author {
    font-size: 0.9rem;
  }
}

    .cta-section {
      background: var(--primary-color);
      color: white;
      padding: 80px 0;
      text-align: center;
    }
    .cta-title {
      font-weight: 700;
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    .cta-text {
      font-size: 1.2rem;
      opacity: 0.9;
      margin-bottom: 2rem;
    }
  
	
    .footer {
     background:linear-gradient(90deg, #318CE7 0%, #282184 100%);
  color: #fff; /* dark grey for good readability */
      padding: 30px 0 10px;
    }
    .footer-logo img {
      height: 50px;
      margin-bottom: 20px;
    }
    .footer-heading {
      color: #fff;
      margin-bottom: 20px;
      font-size: 1.2rem;
      font-weight: 600;
	  text-align:center;
    }
    .footer-link {
      color: #aaa;
      text-decoration: none;
      display: block;
      margin-bottom: 10px;
    }
    .footer-link:hover {
      color: white;
    }
    .social-icon {
      color: #fff;
      font-size: 1.5rem;
      margin-right: 15px;
      transition: all 0.3s;
    }
    .social-icon:hover {
      color: white;
    }
	.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}
    .copyright {
      border-top: 1px solid #fff;
      padding-top: 10px;
      margin-top: 5px;
      color: #fff;
    }
	
    @media (max-width: 768px) {
      .hero-title {
        font-size: 2.2rem;
      }
      .hero-subtitle {
        font-size: 1.1rem;
      }
    }
	
#slideshow .carousel-inner img {
      height: 345px; /* Set a consistent height */
      
      width: 100%; /* Ensure the image width spans the container */
  }


#section-counter {
  position: relative;
  z-index: 0; }
  
  #section-counter:after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: '';
    z-index: -1;
    opacity: .8;
    background: #0d1128;
    background: #0d1128;
    background: -moz-linear-gradient(45deg, #0d1128 0%, #fd6100 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, #0d1128), color-stop(100%, #fd6100));
    background: -webkit-linear-gradient(45deg, #0d1128 0%, #fd6100 100%);
    background: -o-linear-gradient(45deg, #0d1128 0%, #fd6100 100%);
    background: -ms-linear-gradient(45deg, #0d1128 0%, #fd6100 100%);
    background: linear-gradient(45deg, #0d1128 0%, #fd6100 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0d1128', endColorstr='#fd6100', GradientType=1 ); }
