:root {
  --primary-black: #262625;
  --dark-gray: #494949;
  --brand-green: #7eb229;
  --brand-green-light: #a6c427;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --royal-blue: #252b91;
  --sunset-orange: #f47d30;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: var(--white);
  padding: 0 2rem;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 2rem;
}

.logo-img {
  height: 65px;
  width: auto;
  display: block;
  z-index: 1001;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 2rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--royal-blue);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.nav-link::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--royal-blue);
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--sunset-orange);
}

.nav-link:hover::after {
  border-top-color: var(--sunset-orange);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  border-radius: 4px;
  z-index: 999;
  border-top: 3px solid var(--sunset-orange);
}

@media (min-width: 993px) {
  .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item:hover .nav-link::after {
    transform: rotate(180deg);
  }
}

.dropdown-item {
  display: block;
  padding: 0.8rem 1.5rem;
  color: var(--royal-blue);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: var(--light-gray);
  color: var(--sunset-orange);
}

.search-container {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: auto;
}

.search-form {
  display: flex;
  align-items: center;
  background-color: var(--light-gray);
  border-radius: 25px;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.search-form:focus-within {
  border-color: var(--royal-blue);
  background-color: var(--white);
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
  padding: 0.3rem 0.5rem;
  font-size: 0.95rem;
  width: 200px;
  color: var(--primary-black);
}

.search-input::placeholder {
  color: #999;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  color: var(--royal-blue);
  transition: color 0.2s;
}

.search-btn:hover {
  color: var(--sunset-orange);
}

.search-icon {
  width: 20px;
  height: 20px;
}

.auth-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-block;
}

.btn-login {
  background-color: transparent;
  color: var(--royal-blue);
  border: 1px solid var(--royal-blue);
}

.btn-login:hover {
  background-color: var(--royal-blue);
  color: var(--white);
}

.btn-signup {
  background-color: var(--sunset-orange);
  color: var(--white);
}

.btn-signup:hover {
  background-color: #d66a25;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--royal-blue);
  transition: all 0.3s;
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}



footer {
  background-color: var(--primary-black);
  color: var(--white);
  padding: 3rem 2rem 1.5rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  color: var(--sunset-orange);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
  display: block;
}

.footer-links a:hover {
  color: var(--sunset-orange);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item:hover {
  color: var(--sunset-orange);
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--dark-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s;
}

.social-link:hover {
  background-color: var(--sunset-orange);
  transform: translateY(-3px);
}

.social-icon {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid var(--dark-gray);
  padding-top: 1.5rem;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  header {
    padding: 0 1.5rem;
  }

  .header-container {
    gap: 1rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 90px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
  }

  .nav-wrapper.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    color: var(--royal-blue);
    padding: 1rem 2rem;
    justify-content: space-between;
    border-bottom: 1px solid #eeeeee;
    font-size: 1.1rem;
  }

  .nav-link::after {
    border-top-color: var(--royal-blue);
    transform: rotate(-90deg);
  }

  .nav-item.active .nav-link::after {
    transform: rotate(0);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s ease-out;
    width: 100%;
    border-top: none;
  }

  .nav-item.active .dropdown-menu {
    max-height: 500px;
  }

  .dropdown-item {
    color: #555555;
    padding: 0.8rem 3rem;
    border-bottom: 1px solid #eeeeee;
  }

  .search-container {
    width: 100%;
    margin: 0;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eeeeee;
  }

  .search-form {
    width: 100%;
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
  }

  .search-input {
    width: 100%;
    font-size: 1rem;
    padding: 0.4rem 0.5rem;
  }

  .auth-buttons {
    flex-direction: column;
    width: 100%;
    padding: 2rem;
    margin-top: auto;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  main {
    padding: 1rem;
  }
}

/* Hero Section Area Start  */
/* --- 2. HERO SECTION --- */
.hero-section {
  position: relative;
  height: 650px;
  width: 100%;
  overflow: hidden;
  background-color: var(--primary-black); /* Fallback color */
}

/* --- 3. BACKGROUND SLIDER --- */
.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0; /* Hidden by default */

  /* Total cycle is 9s */
  animation: slideFade 9s infinite;

  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 120px;
}

/* --- 4. FIXED DELAYS (CRITICAL FIX) --- */
/* The delays MUST be different: 0s, 3s, 6s */

.slide-1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1562774053-701939374585?q=80&w=2086&auto=format&fit=crop");
  animation-delay: 0s; /* Starts immediately */
}

.slide-2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=2070&auto=format&fit=crop");
  animation-delay: 3s; /* Starts after slide 1 */
}

.slide-3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1541339907198-e08756dedf3f?q=80&w=2070&auto=format&fit=crop");
  animation-delay: 6s; /* Starts after slide 2 */
}

/* --- 5. SMOOTH CROSSFADE ANIMATION --- */
@keyframes slideFade {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  5% {
    opacity: 1; /* Fade in quickly */
    transform: scale(1);
  }
  33% {
    opacity: 1; /* Stay visible */
    transform: scale(1);
  }
  38% {
    opacity: 0; /* Fade out slowly */
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
  }
}

/* --- 6. SLIDE TEXT (H4) --- */
.slide-text {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: rgba(37, 43, 145, 0.8);
  padding: 10px 25px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* Syncs with the 9s cycle */
  animation: textPop 9s infinite;
  opacity: 0;
}

@keyframes textPop {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  5% {
    opacity: 1;
    transform: translateY(0);
  } /* Pop in */
  33% {
    opacity: 1;
    transform: translateY(0);
  } /* Stay */
  38% {
    opacity: 0;
    transform: translateY(-20px);
  } /* Pop out */
  100% {
    opacity: 0;
  }
}

/* --- 7. STATIC OVERLAY BOX (Bottom) --- */
.hero-overlay-box {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  z-index: 10;

  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.hero-title {
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  color: #e6e6e6;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* --- 8. SEARCH BAR --- */
.hero-search-bar {
  display: flex;
  background: var(--white);
  border-radius: 50px;
  padding: 5px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.search-input {
  flex-grow: 1;
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  outline: none;
  background: transparent;
  color: var(--primary-black);
  border-radius: 50px 0 0 50px;
}

.search-button {
  background-color: var(--sunset-orange);
  color: var(--white);
  border: none;
  padding: 0 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s;
}

.search-button:hover {
  background-color: #d66a25;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(244, 125, 48, 0.4);
}

/* --- 9. RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-section {
    height: 600px;
  }

  .slide-img {
    padding-top: 80px;
  }
  .slide-text {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .hero-overlay-box {
    bottom: 20px;
    padding: 1.5rem;
    width: 95%;
    background: rgba(0, 0, 0, 0.6);
  }

  .hero-title {
    font-size: 1.6rem;
  }
  .hero-subtitle {
    display: none;
  }

  .hero-search-bar {
    border-radius: 12px;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
  }

  .search-input {
    width: 100%;
    border-radius: 0;
    text-align: center;
    padding: 1rem;
  }
  .search-button {
    width: 100%;
    border-radius: 0;
    padding: 1rem;
  }
}

/* Hero Section Area End   */

/* News Section Area Start */
.news-wrapper {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 1rem;
}

.section-title {
  font-size: 1.8rem;
  color: var(--primary-black);
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--sunset-orange);
}

.view-all-btn {
  text-decoration: none;
  color: var(--royal-blue);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--royal-blue);
  border-radius: 4px;
  transition: all 0.3s;
}

.view-all-btn:hover {
  background: var(--royal-blue);
  color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.news-card {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-decoration: none;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--royal-blue);
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.badge-live {
  display: inline-block;
  background-color: var(--sunset-orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  align-self: flex-start;
}

.news-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-black);
  line-height: 1.4;
  margin-bottom: 0.8rem;
  transition: color 0.2s;
}

.news-card:hover .news-heading {
  color: var(--royal-blue);
}

.news-meta {
  font-size: 0.85rem;
  color: #888;
  margin-top: auto;
  font-weight: 500;
}

.author-name {
  color: var(--dark-gray);
  font-weight: 600;
}

.card-img-wrapper {
  width: 130px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.news-card:hover .card-img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .news-card {
    padding: 1rem;
  }

  .news-heading {
    font-size: 1rem;
  }

  .card-img-wrapper {
    width: 100px;
    height: 70px;
  }
}
/* News Section Area End  */

/* Top College Section Area Start  */
.top-colleges-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}
.section-header {
  margin-bottom: 3rem;
  position: relative;
}
.section-title {
  font-size: 2.2rem;
  color: var(--primary-black);
  font-weight: 800;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.section-title::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(37, 43, 145, 0.1);
  z-index: -1;
}
.college-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.college-card {
  position: relative;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform 0.3s ease;
}
.college-img-wrapper {
  height: 200px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 1;
}
.college-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.college-card:hover .college-img {
  transform: scale(1.1);
}
.badge-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary-black);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.star {
  color: #ffc107;
}
.college-content {
  background: var(--white);
  width: 90%;
  margin: -40px auto 0 auto;
  padding: 1.2rem;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--royal-blue);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.college-card:hover .college-content {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(37, 43, 145, 0.15);
}
.college-name--heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.college-location {
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.admission-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-green);
  background: rgba(126, 178, 41, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
}
.explore-container {
  text-align: center;
}

.btn-explore {
  display: inline-block;
  padding: 1rem 3.5rem;
  background-color: var(--royal-blue);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(37, 43, 145, 0.3);
  transition: all 0.3s;
}

.btn-explore:hover {
  background-color: #1a1f75;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 43, 145, 0.4);
}
@media (max-width: 1024px) {
  .college-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}
@media (max-width: 600px) {
  .college-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

/* Featured College Area Strat  */
.bento-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}
.section-header {
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-black);
  line-height: 1;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.bento-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  height: 250px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.span-2-2 {
  grid-column: span 2;
  grid-row: span 2;
  height: 524px;
}
.span-2-1 {
  grid-column: span 2;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bento-card:hover .card-img {
  transform: scale(1.1);
}
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background 0.3s;
}
.bento-card:hover .card-overlay {
  background: linear-gradient(
    to top,
    rgba(37, 43, 145, 0.9) 0%,
    rgba(37, 43, 145, 0.4) 100%
  );
}
.rating-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.card-info {
  transform: translateY(10px);
  transition: transform 0.3s;
}
.bento-card:hover .card-info {
  transform: translateY(0);
}
.college-names {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.2;
}
.bento-card:not(.span-2-2) .college-names {
  font-size: 1.1rem;
}
.college-loc {
  color: #ddd;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}
.hover-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}
.bento-card:hover .hover-details {
  max-height: 50px;
  opacity: 1;
}

.status-text {
  color: var(--brand-green-light);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.explore-container {
  text-align: center;
}

.btn-outline {
  text-decoration: none;
  display: inline-block;
  padding: 1rem 3rem;
  border: 2px solid var(--royal-blue);
  color: var(--royal-blue);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--royal-blue);
  color: var(--white);
}
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .span-2-2 {
    grid-column: span 2;
    height: 400px;
  }
  .span-2-1 {
    grid-column: span 1;
  }
}
@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .span-2-2 {
    grid-column: span 1;
    height: 350px;
  }
}
/* Featured College Area End */

/* Top Exam Section Area Start   */
.top-exams-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

/* --- HEADER --- */
.section-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.section-title {
  font-size: 1.8rem;
  color: var(--primary-black);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 60px;
  height: 3px;
  background-color: var(--royal-blue);
}

/* --- CATEGORY STRUCTURE --- */
.exam-category-group {
  margin-bottom: 2.5rem;
}

.category-title {
  font-size: 1.2rem;
  color: var(--royal-blue);
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.category-title::before {
  content: "•";
  color: var(--sunset-orange);
  margin-right: 8px;
  font-size: 1.5rem;
  line-height: 0;
}

/* --- EXAM TAGS LIST --- */
.exam-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* --- TAG DESIGN --- */
.exam-tag {
  display: inline-block;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  background-color: var(--white);
  color: var(--royal-blue);
  border: 1px solid var(--royal-blue);
  border-radius: 50px; /* Pill shape */
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.exam-tag:hover {
  background-color: var(--royal-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 43, 145, 0.2);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
  .category-title {
    font-size: 1.1rem;
  }
  .exam-tag {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
/* Top Exam Section Area End     */

/* Trending Courses Section Area Start   */
.accordion-section {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--dark-gray);
  font-size: 1.1rem;
}
.course-accordion {
  display: flex;
  flex-direction: row;
  height: 500px;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.acc-panel {
  position: relative;
  flex: 1;
  transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.acc-panel:hover {
  flex: 4;
}
.panel-science {
  background: linear-gradient(135deg, var(--royal-blue), #1e237e);
}
.panel-commerce {
  background: linear-gradient(135deg, var(--sunset-orange), #d8621a);
}
.panel-arts {
  background: linear-gradient(135deg, var(--brand-green), #5c851c);
}
.panel-mgmt {
  background: linear-gradient(135deg, var(--primary-black), #000);
}
.panel-other {
  background: linear-gradient(135deg, var(--dark-gray), #333);
}
.vertical-title {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 4px;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.acc-panel:hover .vertical-title {
  opacity: 0;
  transform: translateX(-50%) rotate(180deg) translateY(20px);
}
.panel-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
  width: 100%;
}
.acc-panel:hover .panel-content {
  opacity: 1;
  transform: translateY(0);
}
.panel-icon {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.2);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.panel-head h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 1.5rem 0;
  line-height: 1;
}
.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.course-tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s, transform 0.2s;
}
.course-tag:hover {
  background: var(--white);
  color: var(--primary-black);
  transform: translateY(-2px);
}
.btn-panel-arrow {
  text-decoration: none;
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  border-bottom: 2px solid var(--white);
  padding-bottom: 2px;
}
@media (max-width: 1024px) {
  .course-accordion {
    flex-direction: column;
    height: auto;
    border-radius: 16px;
  }
  .acc-panel {
    flex: none;
    width: 100%;
    height: 90px;
    min-height: 90px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    transition: height 0.4s ease;
  }
  .acc-panel:hover,
  .acc-panel:active,
  .acc-panel:focus-within {
    height: auto;
    min-height: 450px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 2rem;
  }
  .vertical-title {
    position: static;
    transform: none;
    writing-mode: horizontal-tb;
    width: auto;
    margin-left: 1rem;
    font-size: 1.3rem;
    color: var(--white);
    opacity: 1;
    letter-spacing: 2px;
  }
  .acc-panel:hover .vertical-title {
    display: none;
  }
  .panel-content {
    opacity: 0;
    transform: none;
    display: none;
  }
  .acc-panel:hover .panel-content {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
  }
  .panel-icon {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    margin-bottom: 0;
    transition: all 0.3s;
  }
  .acc-panel:hover .panel-icon {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  .panel-head h3 {
    font-size: 1.8rem;
  }
  .course-tag {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Trending Courses Section Area End   */

/* --- Paste this into your CSS file --- */
.boards-section {
  padding: 60px 20px;
  background-color: #fafafa;
  display: flex;
  justify-content: center;
}
.boards-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.boards-container .section-title {
  margin-bottom: 30px;
}
.boards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px 40px;
}
.board-item {
  text-decoration: none;
  color: var(--primary-black);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.board-item::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--brand-green);
  border-radius: 50%;
  margin-right: 15px;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.board-item:hover {
  color: var(--sunset-orange);
  padding-left: 8px;
  border-bottom: 1px solid #eee;
}

.board-item:hover::before {
  transform: scale(1.6);
  background-color: var(--sunset-orange);
}
@media (max-width: 768px) {
  .boards-section {
    padding: 40px 15px;
  }

  .boards-title {
    font-size: 18px;
    margin-bottom: 20px;
    width: 100%;
    display: block;
  }

  .boards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 15px;
  }

  .board-item {
    font-size: 14px;
    padding: 8px 0;
  }

  .board-item::before {
    margin-right: 8px;
  }
}
/* Top Board Section Area End   */

/* Predict College Section Area Start   */
/* Section Layout */
.pred-section {
  padding: 60px 20px;
  background-color: var(--white);
  display: flex;
  justify-content: center;
}

.pred-container {
  width: 100%;
  max-width: 1200px;
}
.pred-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 30px;
  position: relative;
  padding-left: 15px;
}
.pred-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  background-color: var(--sunset-orange);
  border-radius: 4px;
}
.pred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pred-card {
  background-color: var(--white);
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}
.pred-image-box {
  height: 150px;
  position: relative;
  overflow: hidden;
}
.pred-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pred-tag {
  position: absolute;
  bottom: 8px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-black);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.pred-content {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f9f9f9;
}
.pred-content h3 {
  font-size: 16px;
  color: var(--primary-black);
  font-weight: 600;
  margin: 0;
}
.pred-icon {
  width: 30px;
  height: 30px;
  background-color: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  transition: all 0.3s ease;
  font-size: 12px;
}
.pred-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}
.pred-card:hover .pred-image-box img {
  transform: scale(1.08);
}
.pred-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--brand-green);
  transition: width 0.3s ease;
}
.pred-card:hover::after {
  width: 100%;
}
.pred-card:hover .pred-icon {
  background-color: var(--royal-blue);
  color: var(--white);
}
@media (max-width: 1024px) {
  .pred-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .pred-title {
    font-size: 20px;
  }

  .pred-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
/* Predict College Section Area End */

.main-container {
  max-width: 1280px;
  margin: 30px auto;
  display: flex;
  gap: 25px;
  padding: 0 20px;
}

/* --- SIDEBAR --- */
.sidebar {
  width: 280px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  height: fit-content;
  position: sticky;
  top: 20px;
  flex-shrink: 0;
}

.filter-header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.filter-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.clear-btn {
  background: none;
  border: none;
  color: var(--royal-blue);
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
}

.filter-group {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 700;
}

.search-filter {
  position: relative;
  margin-bottom: 10px;
}

.search-filter input {
  width: 100%;
  padding: 8px 30px 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
}

.search-filter i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 12px;
}

.scrollable-filter {
  max-height: 150px;
  overflow-y: auto;
}

/* Custom Checkbox */
.check-container {
  display: block;
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #555;
  user-select: none;
}

.check-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 16px;
  width: 16px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.check-container:hover input ~ .checkmark {
  border-color: var(--royal-blue);
}

.check-container input:checked ~ .checkmark {
  background-color: var(--royal-blue);
  border-color: var(--royal-blue);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.check-container input:checked ~ .checkmark:after {
  display: block;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* --- CONTENT AREA --- */
.content-area {
  flex-grow: 1;
}

/* Rank Tabs Header */
.rank-publisher-tabs {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rank-publisher-tabs span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-gray);
  margin-right: 15px;
}

.tabs {
  display: flex;
  gap: 10px;
}

.tab-btn {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 6px 15px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
  color: var(--primary-black);
  font-weight: 500;
}

.tab-btn.active {
  background: var(--royal-blue);
  color: #fff;
  border-color: var(--royal-blue);
}

.search-in-ranking {
  position: relative;
  margin-left: auto;
}

.search-in-ranking input {
  padding: 6px 30px 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
  width: 220px;
}

.search-in-ranking i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

/* --- COLLEGE CARD --- */
.college-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  overflow: hidden;
}

/* 1. Rank Spine (Left) */
.rank-section {
  width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-color);
  background: #fafafa;
  flex-shrink: 0;
}

.rank-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-black);
  line-height: 1;
}

.rank-year {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
}

/* 2. Info Body (Middle) */
.info-section {
  padding: 20px;
  flex-grow: 1;
}

.card-header {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.clg-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border: 1px solid #eee;
  padding: 2px;
}

.card-header h2 {
  font-size: 18px;
  margin: 0;
  line-height: 1.3;
}

.card-header h2 a {
  text-decoration: none;
  color: var(--royal-blue);
  font-weight: 600;
}

.rating-row {
  margin-top: 5px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-badge {
  background: var(--brand-green);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 12px;
}
.rating-badge i {
  font-size: 10px;
  margin-left: 2px;
}

.review-link {
  color: #666;
  text-decoration: none;
}

/* Stats Grid */
.metrics-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 12px;
  color: #444;
}

.metric span.val {
  font-weight: 700;
  color: var(--primary-black);
  margin-right: 3px;
}

/* Financial Row */
.financial-row {
  display: flex;
  gap: 30px;
  margin-bottom: 10px;
  font-size: 13px;
}

.fin-item {
  color: #444;
}
.fin-item .val {
  font-weight: 600;
  color: var(--primary-black);
  margin-left: 4px;
}

.other-ranks {
  font-size: 11px;
  color: #666;
  margin-bottom: 15px;
  display: flex;
  gap: 15px;
}
.other-ranks strong {
  color: var(--primary-black);
}

/* Footer Links in Card */
.card-footer-links {
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
  display: flex;
  gap: 15px;
}

.card-footer-links a {
  text-decoration: none;
  font-size: 12px;
  color: var(--royal-blue);
  font-weight: 500;
}
.card-footer-links a:hover {
  text-decoration: underline;
}

/* 3. Actions (Right) */
.action-section {
  width: 140px;
  border-left: 1px solid var(--border-color);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.btn-compare {
  background: var(--royal-blue);
  color: #fff;
}
.btn-compare:hover {
  opacity: 0.9;
}

.btn-brochure {
  background: var(--sunset-orange);
  color: #fff;
}
.btn-brochure:hover {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .college-card {
    flex-direction: column;
  }
  .rank-section {
    width: 100%;
    flex-direction: row;
    height: 40px;
    gap: 10px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    justify-content: flex-start;
    padding-left: 20px;
  }
  .info-section {
    border-right: none;
  }
  .action-section {
    width: 100%;
    flex-direction: row;
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding: 15px;
  }
  .btn {
    width: auto;
    padding: 8px 20px;
  }
  .main-container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    position: static;
  }
}

/* College Page Area Start   */

.main-container2 {
  max-width: 1280px;
  margin: 30px auto;
  display: flex;
  gap: 25px;
  padding: 0 20px;
}
.sidebar2 {
  width: 280px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  height: fit-content;
  position: sticky;
  top: 20px;
  flex-shrink: 0;
}

.filter-header2 {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.filter-header2 h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.clear-btn2 {
  background: none;
  border: none;
  color: var(--royal-blue);
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
}

.filter-group2 {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
}

.filter-group2:last-child {
  border-bottom: none;
}

.filter-group2 h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 700;
}

.search-filter2 {
  position: relative;
  margin-bottom: 10px;
}

.search-filter2 input {
  width: 100%;
  padding: 8px 30px 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
}

.search-filter2 i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 12px;
}

.scrollable-filter2 {
  max-height: 150px;
  overflow-y: auto;
}

.scrollable-filter2::-webkit-scrollbar {
  width: 4px;
}

.scrollable-filter2::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.check-container2 {
  display: block;
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #555;
  user-select: none;
}

.check-container2 input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark2 {
  position: absolute;
  top: 1px;
  left: 0;
  height: 16px;
  width: 16px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.check-container2:hover input ~ .checkmark2 {
  border-color: var(--royal-blue);
}

.check-container2 input:checked ~ .checkmark2 {
  background-color: var(--royal-blue);
  border-color: var(--royal-blue);
}

.checkmark2:after {
  content: "";
  position: absolute;
  display: none;
}

.check-container2 input:checked ~ .checkmark2:after {
  display: block;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.content-area2 {
  flex-grow: 1;
}

.rank-publisher-tabs2 {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.rank-publisher-tabs2 span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-gray);
  margin-right: 15px;
}

.tabs2 {
  display: flex;
  gap: 10px;
}

.tab-btn2 {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 6px 15px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
  color: var(--primary-black);
  font-weight: 500;
}

.tab-btn2.active2 {
  background: var(--royal-blue);
  color: #fff;
  border-color: var(--royal-blue);
}

.search-in-ranking2 {
  position: relative;
  margin-left: auto;
}

.search-in-ranking2 input {
  padding: 6px 30px 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
  width: 220px;
}

.search-in-ranking2 i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.college-card2 {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  overflow: hidden;
}

.rank-section2 {
  width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-color);
  background: #fafafa;
  flex-shrink: 0;
}

.rank-num2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-black);
  line-height: 1;
}

.rank-year2 {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
}

.info-section2 {
  padding: 20px;
  flex-grow: 1;
}

.card-header2 {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.clg-logo2 {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border: 1px solid #eee;
  padding: 2px;
}

.card-header2 h2 {
  font-size: 18px;
  margin: 0;
  line-height: 1.3;
}

.card-header2 h2 a {
  text-decoration: none;
  color: var(--royal-blue);
  font-weight: 600;
}

.rating-row2 {
  margin-top: 5px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-badge2 {
  background: var(--brand-green);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 12px;
}

.rating-badge2 i {
  font-size: 10px;
  margin-left: 2px;
}

.review-link2 {
  color: #666;
  text-decoration: none;
}

.metrics-grid2 {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 12px;
  color: #444;
}

.metric2 span.val2 {
  font-weight: 700;
  color: var(--primary-black);
  margin-right: 3px;
}

.financial-row2 {
  display: flex;
  gap: 30px;
  margin-bottom: 10px;
  font-size: 13px;
}

.fin-item2 {
  color: #444;
}

.fin-item2 .val2 {
  font-weight: 600;
  color: var(--primary-black);
  margin-left: 4px;
}

.other-ranks2 {
  font-size: 11px;
  color: #666;
  margin-bottom: 15px;
  display: flex;
  gap: 15px;
}

.other-ranks2 strong {
  color: var(--primary-black);
}

.card-footer-links2 {
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
  display: flex;
  gap: 15px;
}

.card-footer-links2 a {
  text-decoration: none;
  font-size: 12px;
  color: var(--royal-blue);
  font-weight: 500;
}

.card-footer-links2 a:hover {
  text-decoration: underline;
}

.action-section2 {
  width: 140px;
  border-left: 1px solid var(--border-color);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn2 {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.btn-compare2 {
  background: var(--royal-blue);
  color: #fff;
}

.btn-compare2:hover {
  opacity: 0.9;
}

.btn-brochure2 {
  background: var(--sunset-orange);
  color: #fff;
}

.btn-brochure2:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {
  .college-card2 {
    flex-direction: column;
  }

  .rank-section2 {
    width: 100%;
    flex-direction: row;
    height: 40px;
    gap: 10px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    justify-content: flex-start;
    padding-left: 20px;
  }

  .info-section2 {
    border-right: none;
  }

  .action-section2 {
    width: 100%;
    flex-direction: row;
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding: 15px;
  }

  .btn2 {
    width: auto;
    padding: 8px 20px;
  }

  .main-container2 {
    flex-direction: column;
  }

  .sidebar2 {
    width: 100%;
    position: static;
  }
}

.hero-breadcrumb-banner {
  position: relative;
  background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 350px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(38, 38, 37, 0.75);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  color: var(--white);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  text-transform: capitalize;
  letter-spacing: 1px;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
  content: ">";
  margin: 0 12px;
  color: var(--white);
  opacity: 0.7;
  font-weight: 400;
}

.breadcrumb-list li a {
  text-decoration: none;
  color: var(--white);
  transition: color 0.3s ease;
}

.breadcrumb-list li a:hover {
  color: var(--sunset-orange);
}

.breadcrumb-list li.active {
  color: var(--white);
  opacity: 0.9;
  cursor: default;
}

@media (max-width: 768px) {
  .hero-breadcrumb-banner {
    min-height: 250px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .breadcrumb-list {
    font-size: 1rem;
  }
}
/* College Page Area End   */

/* Single College Page Area Start */
.college-hero {
  background: linear-gradient(135deg, var(--royal-blue), var(--brand-green));
  color: var(--white);
  padding: 40px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}



.college-logo {
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: bold;
  color: var(--royal-blue);
  flex-shrink: 0;
}

.college-info {
  flex: 1;
  min-width: 300px;
}

.college-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.college-location {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.college-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

.quick-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--brand-green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-green-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--royal-blue);
}

.btn-secondary:hover {
  background: var(--light-gray);
}

.tabs-container {
  background: var(--white);
  margin-top: -20px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tabs {
  display: flex;
  border-bottom: 2px solid var(--light-gray);
  overflow-x: auto;
  padding: 0 20px;
}

.tab {
  padding: 16px 24px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  font-weight: 600;
  color: var(--dark-gray);
  transition: all 0.3s;
}

.tab:hover {
  color: var(--brand-green);
}

.tab.active {
  color: var(--brand-green);
  border-bottom-color: var(--brand-green);
}

.tab-content {
  display: none;
  padding: 30px 20px;
}

.tab-content.active {
  display: block;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.main-content {
  background: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-card {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.sidebar-card h3 {
  color: var(--royal-blue);
  margin-bottom: 15px;
  font-size: 18px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
}

.info-label {
  font-weight: 600;
  color: var(--dark-gray);
}

.info-value {
  color: var(--primary-black);
}

.section-title {
  font-size: 24px;
  color: var(--royal-blue);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-green);
}

.course-card {
  background: var(--light-gray);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: all 0.3s;
}

.course-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.course-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 10px;
}

.course-details {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--dark-gray);
}

.review-card {
  background: var(--light-gray);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.reviewer-name {
  font-weight: 700;
  color: var(--primary-black);
}

.rating {
  background: var(--brand-green);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 5px;
  font-weight: 700;
}

.review-text {
  color: var(--dark-gray);
  line-height: 1.8;
}

.rating-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.rating-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.rating-bar {
  flex: 1;
  height: 8px;
  background: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
}

.rating-fill {
  height: 100%;
  background: var(--brand-green);
}

.admission-process {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--brand-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--royal-blue);
  margin-bottom: 8px;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.facility-item {
  background: var(--light-gray);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.faq-item {
  background: var(--light-gray);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-item:hover {
  background: #e8e8e8;
}

.faq-question {
  font-weight: 700;
  color: var(--primary-black);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  margin-top: 15px;
  color: var(--dark-gray);
  display: none;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
}

.cutoff-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.cutoff-table th,
.cutoff-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.cutoff-table th {
  background: var(--royal-blue);
  color: var(--white);
  font-weight: 600;
}

.cutoff-table tr:hover {
  background: var(--light-gray);
}

.write-review-btn {
  background: var(--sunset-orange);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 30px;
  transition: all 0.3s;
}

.write-review-btn:hover {
  background: #e36b20;
  transform: translateY(-2px);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.close-modal {
  font-size: 28px;
  cursor: pointer;
  color: var(--dark-gray);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-black);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.star-rating {
  display: flex;
  gap: 10px;
  font-size: 28px;
  cursor: pointer;
}

.star {
  color: #ddd;
  transition: color 0.3s;
}

.star.active,
.star:hover {
  color: var(--sunset-orange);
}

@media (max-width: 968px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .hero-content {
    flex-direction: column;
  }

  .college-stats {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .college-name {
    font-size: 24px;
  }

  .tabs {
    padding: 0 10px;
  }

  .tab {
    padding: 12px 16px;
    font-size: 14px;
  }

  .main-content {
    padding: 15px;
  }
}
.college-info .college-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}
/* Single College Page Area End */
