* { box-sizing: border-box; margin: 0;padding: 0; }
    body {
      height: 100%;
      width: 100%;
      margin: 0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
      color: white;
background: linear-gradient(135deg, #021320 , black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 200vh;

}
    .container {
      border-radius: 30px;
      color: rgba(24, 21, 21, 0.747);
      background-color: #c4ccdb79;
      max-width: 1500px;
      margin: 0 auto;
      padding: 0 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 74px;
    }
    /* * College name */ 
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: white;
      font-weight: 900;
      letter-spacing: 0.3px;   
    .brand svg { flex: 0 0 auto; }}
.nav-wrap {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: saturate(150%) blur(10px);
      -webkit-backdrop-filter: saturate(150%) blur(10px);
      background:rgba(43, 16, 16, 0.226);  
      box-shadow: 0 10px 30px -10px rgb(22, 18, 18);
      transition:background 200ms ease, border-color 200ms ease;
    }
    .nav-wrap.scrolled { 
      background: var(rgb(23, 23, 26)); }
    .search-form {
   border: 1px solid white;
  display: flex;
  align-items: center;
  background: rgba(255, 245, 245, 0.2);
  border: 1px solid var(--ring);
  border-radius: 999px;
  padding: 4px 10px;
  margin-left: 20px;  }
  
.mobile-panel .dropdown-menu {
  border-radius: 10px;
  border: 2px solid black;
  border: none;
  margin-left: 7rem;
}
.mobile-panel .dropdown-item {
  color: #000; 
}

.mobile-panel .dropdown-item:hover {
  background: rgba(0,0,0,0.06);
}

.form-control-sm{
   
    border-radius: 30px;
    background-color: rgba(212, 202, 202, 0.651)
}
.form-control-sm:focus{
    outline: 1px solid white;
    border: 1px solid white;
    color:antiquewhite;
    background-color: rgba(241, 235, 236, 0.829)
}
.search-form input {
  margin-right: 30px;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 6px 8px;
  width: 200px; 
}
/* search logo */
.search-form button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: whitesmoke;
  padding: 4px;
  display: flex;
  align-items: center;
}
/* log in button */
.btn-outline-primary {
    border: 1px solid rgb(230, 230, 253);
    color: white; /* white text by default */
    border-radius: 40px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    border: 2px solid #77d0f7; /* same blue as nav links */
    color: #77d0f7;            /* text turns blue */
    background: rgba(255, 255, 255, 0.1); /* subtle background */
    box-shadow: 0 0 10px #77d0f7;         /* glowing effect */
}

 /* NAV LINKS */
    nav ul {  
        font-size: 14px;
      font-weight: 400;
      list-style: none;
      display: flex;
      gap: 22px;
      padding: 0;
      margin: 0;
      align-items: center;
    }
      nav a:hover,
nav a:focus {
  box-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
  
  outline: none;
  background: rgba(240, 236, 236, 0.349); 
  color: #77d0f7;  
  opacity: 1;      
  border-radius: 30px;
}
.nav-link{
     font-weight: 400;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.034);
    color: rgb(255, 255, 255);
}
.nav-link:hover{
  border: 1px solid white;
    font-weight: 400;
     background-color: rgba(224, 216, 216, 0.26);
    color: rgb(255, 255, 250);
}
   /* HAMBURGER */
    .hamburger {
      display: none;
      background: transparent;
      color: #000000;
      border: 0;
      padding: 8px;
      border-radius: 10px;
    }
    .hamburger:focus { outline: 2px solid ; outline-offset: 2px; }
/* * MOBILE MENU */ 

 .mobile-panel {
  color: #000;           
  text-decoration: none;  
  display: none;
  padding: 8px 16px 16px;
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  background: var(--bg, #bbb4b4);
  border-bottom: 1px solid rgba(31, 8, 8, 0.2);
  transition: all 0.3s ease-in-out;
}
 
 .mobile-panel.open {
       
  display: block;

}

.mobile-panel ul {
  /* display: grid; */
  gap: 8px;
}

.mobile-panel a {
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;  
  color:#070606;
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(26, 6, 6, 0.205);
  margin: 6px;
}

    /* RESPONSIVE */
    @media (max-width: 900px) {
      nav.desktop { display: none; }
      .hamburger { display: inline-flex; }
    }
.carousel-item img {

  height: 500px;             
  object-fit: cover;         
  object-position: center;   
}
.carousel-item::before {
    inset: 0;
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.342);
  transition: background 0.5s ease; 
  z-index: 1;}
.carousel-caption {
  position: absolute;       
  bottom: 30%;            
  left: 50%;               
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;               
  color: white;            
}

.carousel-item:hover::before {
  background: rgba(14, 6, 6, 0); 
}
.carousel-slide {
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 1s ease-in-out; 
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
  z-index: 2;
}

.carousel-item img {
  transform: scale(1.1);  
  opacity: 0.6;          
  transition: all 2s ease-in-out;
}

.carousel-item.active img {
  transform: scale(1);    
  opacity: 1;             
}


  .UPCOMING{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
  margin-top: 60px;
  justify-content: center;
  display: flex;
  align-content: center;
}
.dontmiss{
    margin-top: 20px;
    font-size: 15px;
  justify-content: center;
  display: flex;
  align-content: center;
}
.btn-primary{
    border: 2px solid white;
   box-shadow: 0 0 10px rgb(0, 0, 0);
    font-weight: bold;
    color: rgba(255, 255, 255, 0.514);
    background-color:rgba(0, 0, 0, 0.938);
}
.btn-primary:hover{
  box-shadow: 0 0 10px white;
    border: 2px solid rgb(241, 241, 241);
    font-weight: bold;
    color: rgba(0, 0, 0, 0.884);
    background-color:rgb(255, 255, 255);
}
.Welcome{
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
  
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.644);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-weight: bold;
    font-size: 60px;
    transition: color 0.4s ease-in-out; 
}
.stay{

  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.911);
  
      font-size: 20px;
color: rgb(39, 192, 216);
    font-weight: bold;
}
/* ................................. */
.cards { 
     display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;

    flex-wrap: wrap; 
   margin-left: 90px;
    align-items: center;
    justify-content: center;
 width: 90%;
margin-top: 80px;

  justify-content: center;
  text-align: center;
  display: flex;
  flex-direction: row;
  gap: 35px;
}
.card-img {
  flex: 1;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}
.card-body {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.cards .red {
background: rgba(212, 205, 205, 0.178);
  backdrop-filter: blur(5px) brightness(1.2) contrast(0.8);
  -webkit-backdrop-filter: blur(5px) brightness(1.2) contrast(0.8);
}

.cards .blue {
background: rgba(212, 205, 205, 0.178);
  backdrop-filter: blur(5px) brightness(1.2) contrast(0.8);
  -webkit-backdrop-filter: blur(5px) brightness(1.2) contrast(0.8);
}

.cards .green {  
  background: rgba(212, 205, 205, 0.178);
  backdrop-filter: blur(5px) brightness(1.2) contrast(0.8);
  -webkit-backdrop-filter: blur(5px) brightness(1.2) contrast(0.8);
}

  


.cards .card {
    overflow: hidden;
   
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 350px;
  width: 250px;
  border-radius: 20px;
  color: rgb(248, 237, 237);
  cursor: pointer;
  transition: 400ms;
}

.cards .card p.tip {
  font-size: 1em;
  font-weight: 700;
}

.cards .card p.second-text {
  font-size: .7em;
}

.cards .card:hover {

    box-shadow: 2px 2px 20px rgba(255, 255, 255, 0.993);
  border: 1px solid white;
  transform: scale(1.1, 1.1);
}

.cards:hover .card:not(:hover) {

box-shadow:0 0 30px black ;
  
  filter: blur(3px);
  transform: scale(0.9, 0.9);
}

.view-details{
  font-size: 16px;
  font-weight: bold;
  background-color: rgba(255, 248, 248, 0.315);
    border:2px solid white;
    border-radius: 30px;
    margin-bottom: 10px;
    color: #000000;
    height: 40px;
    width: 200px;
}


.view-All {
  display: flex;
  justify-content: center;
  align-items: center;   
  text-align: center;

  border: 2px solid white;
  border-radius: 30px;
  margin: 70px auto;    
  
  color: #000000;
  font-weight: 600;
  height: 40px;          
  width: 200px;

  background: rgba(255, 250, 250, 0.15);
  backdrop-filter: blur(6px);           
  
  cursor: pointer;
  transition: all 0.3s ease;           
}


.view-All:hover {
  background: #000000;
  color: white;
  border-color: #000000;
  transform: scale(1.05);
}

.activity{
  display: flex;
  justify-content: center;  
  gap: 20px;               
}
.footer-heading{
  font-weight: bold;
}
