: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: 30px;
    }
.custom-navbar {
  background: #000080;
  min-height: 50px;
  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;
  }
}

.custom-navbar .navbar-nav {
  display: flex;
  justify-content: center; /* centers horizontally */
  width: 100%;
}


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





.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;
}


/* 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;
  }
}


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


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

  


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

main {
    background-color: #fffbea;   /* Light cream */
    padding: 20px;              /* Space inside main */
    border-radius: 10px;        /* Rounded edges for soft look */
	
}


main h2 {
    display: inline-block;      /* Background hugs the text */
    background-color: green;  /* Bootstrap green */
    color: #fff;                /* White text */
    padding: 6px 12px;          /* Space around text */
    border-radius: 8px;         /* Rounded corners */
    margin-bottom: 1rem;        /* Space below heading */
	font-size:1.4rem;
}

main p, main li {
    
    color: black;               /* Bootstrap primary blue */
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.1rem;              /* Slightly larger */
    line-height: 1.6;               /* Comfortable spacing */
    text-align: justify;            /* Neat alignment */
	font-weight:600;
}

.team h2 {
    display: inline-block;      /* Background hugs the text */
    background-color: green;  /* Bootstrap green */
    color: #fff;                /* White text */
    padding: 6px 12px;          /* Space around text */
    border-radius: 8px;         /* Rounded corners */
    margin-bottom: 1rem;        /* Space below heading */
	font-size:1.4rem;
}

.card-img-top {
			width: 130px;
			height: 130px;
			//object-fit: cover;
			margin: 3px auto;
		}
		.card {
  align-items: center;
  padding: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #B57EDC;   /* medium lavender */
  border-radius: 10px;
  transition: all 0.3s ease;   /* smooth hover */
}

.card:hover {
  border-color: #9B59B6;       /* darker lavender (amethyst) */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px); /* slight lift effect */
}

		
		.card-title {
    color: #0000FF; /* Bright blue for names */
    font-weight: bold;
	text-align:center;
	font-size:1.1rem;
}

.card-text {
    color: brown; /* Darker blue for roles */
    font-weight: 500;
	text-align:center;
	font-size:0.9rem;
}

/* Carousel side arrows color */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #4682B4;;  /* light blue background */
    border-radius: 50%;          /* optional: make it circular */
    padding: 10px;               /* optional: make the circle bigger */
}

/* Optional: darken on hover */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #87CEFA;  /* darker blue on hover */
}

  /* Default (for small screens and mobile) → show images naturally */
#ideaLabCarousel .carousel-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0; /* reset margins */
}

/* For medium and larger screens */
@media (min-width: 768px) {
  #ideaLabCarousel .carousel-item img {
    max-height: 400px;
    object-fit: contain;
  }

  #ideaLabCarousel .carousel-item img.smaller-img {
    max-height: 250px;
    margin-top: 50px;   /* adjust spacing */
    margin-bottom: 15px;
  }
}

/* Default: small screens → auto height */
#ideaLabCarousel .carousel-inner {
  height: auto !important;
}

/* For medium and larger screens → fixed height */
@media (min-width: 768px) {
  #ideaLabCarousel .carousel-inner {
    height: 400px !important;
  }
}
 
  .carousel-bg {
  background: #d9e9ff; /* median of gradient */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


    
    .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%;
    }
    
	



  
	
    .footer {
     background:linear-gradient(90deg, #318CE7 0%, #282184 100%);
  color: #fff; /* dark grey for good readability */
      padding: 20px 0 10px;
	  
    }
	
	
   
    .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;
    }
    
	.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;
     
      color: #fff;
	 
    }
	
    @media (max-width: 768px) {
      .hero-title {
        font-size: 2.2rem;
      }
      .hero-subtitle {
        font-size: 1.1rem;
      }
    }
	


#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 ); }
