/* ACADEMICS SECTION — follows same layout as ABOUT */

.about-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 30px 20px;
}

/* Sidebar */
.about-sidebar {
  background: #f8faf9;
  border: 1px solid #e6e9ea;
  padding: 22px;
  border-radius: 8px;
  height: auto;
  position: sticky;
  top: 80px;
  align-self: start;
}

.about-sidebar h3 {
  font-size: 1.05rem;
  color: #0f5132;
  margin-bottom: 12px;
  font-weight: 700;
}

.about-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-nav li + li {
  margin-top: 8px;
}

.about-nav a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: #1f2937;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: all .18s ease;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.6));
}

.about-nav a:hover {
  background: #f0fdf4;
  border-color: #d1fae5;
  transform: translateX(4px);
  color: #065f46;
}

.about-nav a.active {
  background: #e6f9e9;
  border-left: 4px solid #1e8d35;
  color: #064e3b;
  font-weight: 700;
}

/* Main content area */
.about-main {
  min-height: 300px;
}

.about-hero-small {
  background: linear-gradient(90deg, rgba(38,99,46,0.06), rgba(200,180,130,0.04));
  border-radius: 6px;
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(20,83,45,0.04);
}

.about-hero-inner h1 {
  color: #064e3b;
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 700;
}

.about-text-block {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eef2f1;
  box-shadow: 0 6px 18px rgba(15, 23, 15, 0.03);
}

.about-text-block.fullwidth {
  grid-column: 1 / -1;
}

.about-text-block h2 {
  color: #0f5132;
  margin-top: 0;
  font-size: 1.35rem;
}

.about-text-block p {
  color: #374151;
  line-height: 1.8;
}

@media (max-width: 992px) {
  .about-wrap { grid-template-columns: 1fr; }
  .about-sidebar { position: relative; top: 0; margin-bottom: 18px; }
}
/* Affiliated Colleges Grid */
.colleges-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

.college-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e6e9ea;
  box-shadow: 0 4px 12px rgba(15, 23, 15, 0.06);
  transition: all 0.3s ease;
  align-items: start;
}

.college-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 15, 0.12);
  transform: translateY(-4px);
  border-color: #1e8d35;
}

.college-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8faf9;
  border-radius: 8px;
  padding: 16px;
  border: 2px solid #e6e9ea;
  height: 150px;
}

.college-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.college-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.college-details h3 {
  color: #0f5132;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  border-bottom: 2px solid #1e8d35;
  padding-bottom: 8px;
}

.college-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.college-info p {
  margin: 0;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.6;
}

.college-info strong {
  color: #064e3b;
  font-weight: 600;
  display: inline-block;
  min-width: 100px;
}

.college-info a {
  color: #1e8d35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.college-info a:hover {
  color: #065f46;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .college-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .college-logo {
    height: 120px;
    margin: 0 auto;
    max-width: 200px;
  }

  .college-details h3 {
    font-size: 1.1rem;
    text-align: center;
  }

  .college-info {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .college-card {
    padding: 16px;
  }

  .college-logo {
    height: 100px;
  }

  .college-details h3 {
    font-size: 1rem;
  }

  .college-info p {
    font-size: 0.85rem;
  }

  .college-info strong {
    min-width: 80px;
    font-size: 0.85rem;
  }
}