* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: white;
  
  min-height: 67px; 


}







.nava-logo {
  display: flex;
  padding: 0 3px;
}




.search-bar {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  margin: auto;
}

.search-bar input[type="search"] {
  width: 100%;
  padding: 8px 40px 8px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
}

.li {
  display: flex;
  gap: 15px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.li li {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-bar {
    width: 100%;
    justify-content: center;
    margin: 10px 0;
  }

  .li {
    width: 100%;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
  }
}

.search-bar .search-icon {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  font-size: 16px;
}

.li li a {
  text-decoration: none;
  color: black;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background-color 0.3s, color 0.3s;
}

.li li a:hover {
  background-color: #008cba;
  color: white;

}

.logo-text {
  font-size: 15px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  color: #2874f0; 
  line-height: 1.2;
  padding: 0 5px;
}

.tagline {
  font-size: 15px;
  font-weight: 500;
  color: #9e9e9e; 
}

.tagline strong {
  color: #f9a825; 
}


.home-section {
  padding: 40px 20px;
  background: hsl(0, 15%, 87%);
}





.section-heading {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #1f1f1f;
  background-color: transparent; /* ← Remove background box */
  padding: 12px 8px;
  margin: 10px auto 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0; /* ← Remove curve */
  box-shadow: none; /* ← Ensure no shadow */
  position: relative;
  animation: none; /* ← Optional: disable glowing animation */
  transition: all 0.4s ease-in-out;

  
}



/* White underline */
.section-heading::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background-color: #008cba;
  margin: 6px auto 0;
  border-radius: 2px;
  animation: underlineSlide 1.5s ease-out;
}

/* Optional: keep glow on text only */
.section-heading span {
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
}

/* Underline smooth slide */
@keyframes underlineSlide {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100px;
    opacity: 1;
  }
}



.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
 border: 3px solid #008cba;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  margin: 15px;
}

.card img {
  width: 100%;
  height: 100%;
  max-height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}


.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);

}




.card span {
  position: absolute;
  bottom: 10px;
  left: 20px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-shadow: 1px 1px 3px #000;


  

}

.card span {
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 10px;
}

body {
  background-color: #ffffff;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
}



.footer {
  background-color: #1a2d45;
  color: #ffffff;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
}

.footer-logo {
  font-size: 22px;
  font-weight: bold;
  background: linear-gradient(90deg, #be8d87, #f5af19);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.footer-social {
  margin: 10px 0;
}

.footer-social a {
  color: #ccc;
  margin: 0 10px;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #fff;
}

.footer-bottom p {
  color: #bbb;
  font-size: 13px;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 30px;
  }
}




#collegeList {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.college-card {
 border: 3px solid #008cba;

  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 2px;
  width: 280px;
  text-align: center;
  transition: transform 0.5s;
  margin: 10px;

   max-width: 300px;
  flex: 1 1 calc(25% - 40px);
}

.college-card:hover {
  transform: translateY(-8px);
}

.college-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
}

.college-card h3 a {
  text-decoration: none;
  color: #008cba;
  margin-top: 10px;
  display: block;
}

.college-card p {
  margin: 10px 0;
  color: #444;
}

.college-card .btn {
  background-color: #008cba;
  color: white;
  padding: 8px 15px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}




.otp-login-btn {
      background: none;
      border: none;
      padding: 8px 14px;
      color: black;
      border-radius: 20px;
      cursor: pointer;
      font-size: 15px;
      font-weight: 500;

    }
    .otp-login-btn:hover {
background-color: #008cba;
  color: white;    }
    .otp-popup {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
    }
    .otp-popup-content {
      background-color: white;
      padding: 30px;
      border-radius: 10px;
      width: 300px;
      text-align: center;
      position: relative;
    }
    .otp-close-btn {
      position: absolute;
      top: 10px; right: 15px;
      font-size: 20px;
      cursor: pointer;
    }
    .otp-popup-content input {
      width: 90%;
      padding: 10px;
      margin: 10px 0;
    }
    .otp-popup-content button {
      padding: 10px 20px;
      background-color: #28a745;
      color: white;
      border: none;
      cursor: pointer;
      border-radius: 6px;
    }

    .mn{
        background-color: rgb(238, 227, 227);
    }





    #type-heading::after {
  content: '|';
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}




.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 150px;
  z-index: 1;
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.dropdown-content a {
  padding: 8px 12px;
  display: block;
  text-decoration: none;
  color: #000;
}

.dropdown:hover .dropdown-content {
  display: block;
}


.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  margin-left: auto;
  margin-top: 3px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #f0f0f0;
    margin-top: 10px;
    padding: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .search-bar {
    width: 100%;
    margin-top: 10px;
  }

  .dropdown {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  #collegeList {
    flex-direction: column;
    align-items: center;
  }

  .college-card {
    width: 90% !important;
    max-width: 95%;
    flex: none !important;
    margin: 10px auto;
  }
}
