:root {
  --deep-navy: #0A1F44;
  --royal-blue: #1E5BFF;
  --gradient-blue-start: #0A1F44;
  --gradient-blue-end: #1E5BFF;
  --soft-blue: #4A7DFF;
  --light-blue: #EAF1FF;
  --sky-blue: #2F80ED;
  --white: #FFFFFF;
  --light-gray: #F5F7FB;
  --text-dark: #1A1A1A;
  --text-light: #6B7280;
  --orange: #FF8A00;
  --success-green: #22C55E;
  --border: #EAF1FF;
  --shadow: rgba(10, 31, 68, 0.12);
  --hover-shadow: rgba(10, 31, 68, 0.18);
  --cuet-blue: #3B5998;
  --cuet-light: #F0F4F9;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Top Searches Bar */
.top-searches-bar {
  background: #f8f9fa;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  overflow-x: auto;
  white-space: nowrap;
}

.top-searches-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-searches-label {
  font-weight: 700;
  color: #333;
  font-size: 14px;
}

.search-pills {
  display: flex;
  gap: 10px;
}

.search-pill {
  padding: 6px 16px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: all 0.2s;
}

.search-pill:hover {
  background: #f0f0f0;
  border-color: #bbb;
}

.search-pill.active {
  border-bottom: 3px solid #666;
  border-radius: 0;
  font-weight: 600;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  background: linear-gradient(135deg, var(--gradient-blue-start) 0%, var(--gradient-blue-end) 100%);
  color: var(--white);
  padding: 60px 0;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 25%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.12), transparent 22%);
  opacity: 1;
}

.site-header h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.site-header p {
  margin: 0 auto;
  max-width: 800px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}

.header-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.hero-primary {
  background: var(--white);
  color: var(--deep-navy);
}

.hero-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.hero-buttons .button {
  padding: 14px 28px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 18px 20px;
  min-width: 130px;
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 6px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 26px;
  color: var(--white);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(10, 31, 68, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-card h2 {
  margin: 18px 0 12px;
  font-size: 1.35rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.hero-card.alt,
.hero-card-alt {
  background: rgba(255, 255, 255, 0.06);
}

.tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Carousel Styles */
.carousel-section {
  position: relative;
  margin: 60px 0;
  padding: 0 40px;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 25px;
  width: max-content;
  padding: 20px 0;
  will-change: transform;
}

.card {
  width: 380px;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h2 {
  margin: 0 0 25px;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--deep-navy);
  line-height: 1.35;
  min-height: 2.7em;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-date {
  color: #888;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}

.read-more-btn {
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(135deg, var(--royal-blue), var(--sky-blue));
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(30, 91, 255, 0.25);
}

.read-more-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(30, 91, 255, 0.35);
  filter: brightness(1.1);
}

.read-more-btn span {
  transition: transform 0.3s ease;
}

.read-more-btn:hover span {
  transform: translateX(4px);
}

/* Carousel Navigation */
.carousel-section {
  position: relative;
  margin: 60px auto;
  padding: 0 16px;
  max-width: 1200px;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  pointer-events: none;
  z-index: 10;
}

.nav-btn {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  color: var(--royal-blue);
  box-shadow: 0 8px 18px rgba(30, 91, 255, 0.2);
}

.nav-btn:hover {
  background: var(--royal-blue);
  color: var(--white);
  transform: scale(1.08);
}

.nav-btn.prev {
  margin-left: 0;
}

.nav-btn.next {
  margin-right: 0;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 25px;
  width: max-content;
  padding: 20px 0;
  margin: 0 auto;
  will-change: transform;
}

.section-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.nav-btn svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #ff9d33);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transition: left 0.45s ease;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(255, 138, 0, 0.28);
}

.secondary {
  background: linear-gradient(135deg, var(--royal-blue), var(--sky-blue));
}

.secondary:hover {
  box-shadow: 0 14px 26px rgba(47, 128, 237, 0.28);
}

.article-detail {
  margin-bottom: 60px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: start;
}

.detail-content {
  min-width: 0;
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--light-blue);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px var(--shadow);
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-card h2 {
  margin-top: 0;
  font-size: 2rem;
  font-weight: 800;
  color: var(--deep-navy);
}

.detail-card p {
  line-height: 1.8;
  color: var(--text-light);
  font-size: 1.05rem;
}

.detail-card ul {
  margin: 24px 0;
  padding-left: 24px;
  color: var(--text-dark);
}

.article-header {
  padding: 30px 0 10px;
}

.article-header h1 {
  color: var(--cuet-blue);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

.ask-question {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--royal-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 20px;
}

.author-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.author-avatar {
  width: 45px;
  height: 45px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
}

.author-info .name {
  display: block;
  font-weight: 600;
  color: var(--royal-blue);
  font-size: 15px;
}

.author-info .date {
  display: block;
  color: #888;
  font-size: 13px;
}

.summary-box {
  background: #FFF9F2;
  border-left: 5px solid var(--orange);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 30px;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

.cta-row {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
}

.btn-outline-blue {
  border: 1px solid var(--royal-blue);
  color: var(--royal-blue);
  background: transparent;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-solid-blue {
  background: #3F51B5;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-solid-blue:hover {
  background: #303F9F;
}

.toc-box {
  background: #F0F4F9;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 40px;
}

.toc-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.toc-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-grid li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
  font-size: 14px;
}

.toc-grid li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #333;
}

.toc-grid a {
  color: var(--royal-blue);
  text-decoration: none;
}

/* Sidebar Refinements */
.sidebar-box {
  background: white;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 0;
  box-shadow: none;
  margin-bottom: 30px;
}

.sidebar-box h3 {
  background: #E8EAF6;
  padding: 15px 20px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  border-bottom: none;
}

.recent-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.recent-item {
  padding: 15px 20px;
  border-bottom: 1px dashed #DDD;
}

.recent-item:last-child {
  border-bottom: none;
}

.recent-item a {
  text-decoration: none;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  display: block;
}

.trending-item {
  display: flex;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid #F0F0F0;
}

.trending-thumb {
  width: 70px;
  height: 50px;
  background: #EEE;
  border-radius: 4px;
  flex-shrink: 0;
}

.trending-info a {
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  display: block;
}

/* Floating Bottom Bar */
.floating-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
  z-index: 1000;
}

.floating-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-outline-counsel {
  border: 1px solid var(--royal-blue);
  color: var(--royal-blue);
  background: transparent;
  padding: 10px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

.btn-solid-predict {
  background: #3F51B5;
  color: white;
  padding: 10px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

/* Table Style matching reference */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  border: 1px solid #E0E0E0;
}

.article-table th {
  background: #F5F7FA;
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #E0E0E0;
  font-size: 14px;
  color: #333;
}

.article-table td {
  padding: 12px 15px;
  border: 1px solid #E0E0E0;
  font-size: 14px;
  color: #555;
  vertical-align: top;
}

.article-table td a {
  color: var(--royal-blue);
  text-decoration: none;
}

.rank-category {
  font-weight: 600;
  color: #333;
}

.target-colleges {
  color: var(--royal-blue);
}

.toc-section {
  background: var(--light-gray);
  border-left: 4px solid var(--royal-blue);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}

.toc-section h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--deep-navy);
}

.toc-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-section li {
  margin: 8px 0;
}

.toc-section a {
  color: var(--royal-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.toc-section a:hover {
  color: var(--sky-blue);
  text-decoration: underline;
}

/* Data Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--white);
  border: 1px solid var(--light-blue);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
}

.data-table thead {
  background: var(--light-blue);
}

.data-table th {
  padding: 16px;
  text-align: left;
  font-weight: 700;
  color: var(--deep-navy);
  border-bottom: 2px solid var(--royal-blue);
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--light-blue);
  color: var(--text-light);
}

.data-table tbody tr:hover {
  background: var(--light-gray);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* FAQ Styling */
.faq-item {
  background: var(--light-gray);
  border-left: 4px solid var(--success-green);
  border-radius: 8px;
  padding: 20px;
  margin: 16px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 16px var(--shadow);
}

.premium-college-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--royal-blue);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px var(--shadow);
  transition: transform 0.3s ease;
}

.premium-college-card:hover {
  transform: translateY(-5px);
}

.premium-college-card h4 {
  margin-top: 0;
  color: var(--royal-blue);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.premium-college-card p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.faq-item h4 {
  margin-top: 0;
  color: var(--deep-navy);
  font-size: 1.05rem;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* Related Questions Section */
.related-questions {
  margin: 40px 0;
  background: var(--light-gray);
  padding: 30px;
  border-radius: 16px;
}

.related-questions h3 {
  margin-top: 0;
  color: var(--deep-navy);
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.related-list li {
  padding-left: 24px;
  position: relative;
}

.related-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--royal-blue);
  font-weight: 700;
}

.related-list a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.related-list a:hover {
  color: var(--royal-blue);
}

/* Question CTA Section */
.question-cta {
  background: linear-gradient(135deg, var(--deep-navy), var(--royal-blue));
  color: var(--white);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  margin: 40px 0;
}

.question-cta h3 {
  color: var(--white);
  margin-top: 0;
  font-size: 1.8rem;
}

.question-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.question-cta .button {
  background: var(--white);
  color: var(--royal-blue);
}

/* Sidebar */
.detail-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
}

/* Sidebar Refinements */
.sidebar-box {
  background: white;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  margin-bottom: 30px;
  overflow: hidden;
}

.sidebar-box h3 {
  background: #E8EAF6;
  padding: 15px 20px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  border-bottom: 1px solid #E0E0E0;
}

.recent-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.recent-item {
  padding: 15px 20px;
  border-bottom: 1px dashed #DDD;
}

.recent-item:last-child {
  border-bottom: none;
}

.recent-item a {
  text-decoration: none;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  display: block;
}

.recent-item a:hover {
  color: var(--royal-blue);
}


/* Subscribe Form */
.subscribe-box {
  background: linear-gradient(135deg, var(--light-blue), rgba(234, 241, 255, 0.5));
  border: 1px solid var(--royal-blue);
}

.subscribe-box h3 {
  color: var(--royal-blue);
}

.subscribe-note {
  margin-top: 8px;
  color: #2c3e50;
  font-size: 0.95rem;
  line-height: 1.5;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.subscribe-form input,
.subscribe-form select {
  padding: 12px;
  border: 1px solid var(--light-blue);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

.subscribe-form input:focus,
.subscribe-form select:focus {
  outline: none;
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(30, 91, 255, 0.1);
}

.subscribe-form button {
  margin-top: 8px;
  padding: 12px;
}

/* College Cards in Detail */
.college-list {
  display: grid;
  gap: 20px;
  margin: 24px 0;
}

.college-card {
  background: var(--white);
  border: 1px solid var(--light-blue);
  border-left: 4px solid var(--royal-blue);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 20px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.college-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px var(--hover-shadow);
  border-left-color: var(--sky-blue);
}

.college-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-navy);
}

.college-card h4 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep-navy);
}

.college-card p {
  margin: 8px 0;
  color: var(--text-light);
  font-size: 0.98rem;
  line-height: 1.6;
}

.college-card strong {
  color: var(--deep-navy);
}

/* Responsive Design */
@media (max-width: 768px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-sidebar {
    position: static;
    top: auto;
    height: auto;
  }

  .detail-card {
    padding: 28px;
  }

  .detail-card h2 {
    font-size: 1.5rem;
  }

  .detail-card h3 {
    font-size: 1.1rem;
  }

  .data-table {
    font-size: 0.9rem;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
  }

  .sidebar-box {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .detail-card {
    padding: 20px;
  }

  .detail-card h2 {
    font-size: 1.3rem;
  }

  .detail-card h3 {
    font-size: 1rem;
  }

  .college-card {
    padding: 16px;
  }

  .data-table {
    font-size: 0.85rem;
    overflow-x: auto;
  }

  .data-table th,
  .data-table td {
    padding: 8px 10px;
  }
}

.college-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 24px 0;
}

.college-card {
  background: var(--white);
  border: 1px solid var(--light-blue);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.college-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--royal-blue), var(--sky-blue));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.college-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px var(--hover-shadow);
}

.college-card:hover::before {
  transform: scaleX(1);
}

.college-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-navy);
}

.college-card p {
  margin: 4px 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.college-card .fees {
  color: var(--success-green);
  font-weight: 600;
}

.college-card .location {
  color: var(--orange);
  font-weight: 600;
}

.site-footer {
  background: linear-gradient(135deg, var(--deep-navy), var(--royal-blue));
  color: rgba(255, 255, 255, 0.88);
  padding: 24px 0;
  text-align: center;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--royal-blue), var(--sky-blue));
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }

  .site-header {
    padding: 45px 0;
  }

  .site-header h1 {
    font-size: 2.5rem;
  }

  .site-header p {
    font-size: 1rem;
  }

  .header-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .carousel-section {
    padding: 0 10px;
  }

  .nav-btn {
    display: none;
  }

  .card {
    width: 300px;
  }

  .card-image {
    height: 180px;
  }

  .card-body h2 {
    font-size: 1.2rem;
  }

  .detail-card {
    padding: 28px;
  }

  .detail-card h2 {
    font-size: 1.75rem;
  }

  .college-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .college-card {
    padding: 18px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .site-header h1 {
    font-size: 2rem;
  }

  .card {
    padding: 20px;
  }

  .button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .college-card {
    padding: 16px;
  }

  .college-card h3 {
    font-size: 1.1rem;
  }
}
/* Section Header and View All Link */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  padding: 0 10px;
}

.section-title {
  font-size: 1.9rem;
  color: var(--deep-navy);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.view-all-link {
  color: var(--royal-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 14px;
  background: #eff5ff;
  border: 1px solid transparent;
}

.view-all-link:hover {
  background: var(--royal-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 91, 255, 0.2);
}

/* Grid View */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 20px;
  animation: fadeIn 0.5s ease-out;
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

.articles-grid .card {
  width: 100%;
}



.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding: 0 16px;
}
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.css-marquee {
  animation: marquee 30s linear infinite;
  width: max-content;
}
.carousel-track:hover {
  animation-play-state: paused;
}
