* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0a0a1a;
  color: #ffffff;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: #0d0d2b;
  border-bottom: 1px solid #1a1a3e;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-tc {
  background: linear-gradient(135deg, #1a47c8, #2d5be3);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 8px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #aab0c6;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f5c518;
}

.nav-hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

/* HERO */
.hero {
  padding: 80px 40px 60px;
  text-align: center;
  background: radial-gradient(ellipse at top, #1a2a6c 0%, #0a0a1a 70%);
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.yellow {
  color: #f5c518;
}

.hero-sub {
  font-size: 18px;
  color: #aab0c6;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.search-box {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
}

.search-box input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 2px solid #2d5be3;
  border-radius: 12px 0 0 12px;
  background: #111827;
  color: #fff;
  outline: none;
}

.search-box input::placeholder {
  color: #555e7a;
}

.search-box button {
  padding: 16px 28px;
  background: linear-gradient(135deg, #1a47c8, #2d5be3);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  transition: background 0.2s;
}

.search-box button:hover {
  background: linear-gradient(135deg, #f5c518, #ff9500);
  color: #0a0a1a;
}

/* SUGGESTIONS */
.suggestions {
  position: absolute;
  top: 58px;
  left: 0;
  width: calc(100% - 120px);
  background: #111827;
  border: 1px solid #2d5be3;
  border-radius: 0 0 12px 12px;
  z-index: 50;
  max-height: 200px;
  overflow-y: auto;
}

.suggestions div {
  padding: 12px 20px;
  cursor: pointer;
  color: #fff;
  font-size: 15px;
  border-bottom: 1px solid #1a1a3e;
}

.suggestions div:hover {
  background: #1a2a6c;
  color: #f5c518;
}

/* TIER RESULT */
.tier-result {
  margin: 24px auto 0;
  max-width: 560px;
  padding: 20px 28px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  border: 2px solid;
}

.tier-result.tier1 { background: #0d1f4e; border-color: #2d5be3; color: #7eb3ff; }
.tier-result.tier2 { background: #1a2e0a; border-color: #4caf50; color: #a5d6a7; }
.tier-result.tier3 { background: #2e1a00; border-color: #ff9500; color: #ffcc80; }
.tier-result.tier4 { background: #2e0a0a; border-color: #f44336; color: #ef9a9a; }

.tier-result .college-name { font-size: 22px; color: #fff; margin-bottom: 6px; }
.tier-result .tier-label { font-size: 28px; margin-bottom: 10px; }
.tier-result .tier-desc { font-size: 14px; font-weight: 400; color: #aab0c6; }

.hidden { display: none !important; }

/* HERO STATS */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
}

.stat h2 {
  font-size: 36px;
  font-weight: 800;
  color: #f5c518;
}

.stat p {
  font-size: 14px;
  color: #aab0c6;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 70px 40px;
  text-align: center;
  background: #0d0d2b;
}

.how-it-works h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 50px;
  color: #fff;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.step {
  background: #111827;
  border: 1px solid #1a2a6c;
  border-radius: 16px;
  padding: 36px 28px;
  max-width: 260px;
  transition: transform 0.2s, border-color 0.2s;
}

.step:hover {
  transform: translateY(-6px);
  border-color: #2d5be3;
}

.step-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1a47c8, #2d5be3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #f5c518;
}

.step p {
  font-size: 14px;
  color: #aab0c6;
  line-height: 1.6;
}

/* TOP COMPANIES */
.top-companies {
  padding: 70px 40px;
  text-align: center;
  background: #0a0a1a;
}

.top-companies h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
}

.company-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.company-card {
  background: #111827;
  border: 1px solid #1a2a6c;
  border-radius: 16px;
  padding: 28px 24px;
  width: 220px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  text-align: left;
}

.company-card:hover {
  transform: translateY(-6px);
  border-color: #f5c518;
}

.company-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.tier-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.t1 { background: #1a2a6c; color: #7eb3ff; border: 1px solid #2d5be3; }
.t2 { background: #1a2e0a; color: #a5d6a7; border: 1px solid #4caf50; }
.t3 { background: #2e1a00; color: #ffcc80; border: 1px solid #ff9500; }
.t4 { background: #2e0a0a; color: #ef9a9a; border: 1px solid #f44336; }

/* BARS */
.bars { display: flex; flex-direction: column; gap: 8px; }

.bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #aab0c6;
}

.bar-row span:first-child { width: 20px; }
.bar-row span:last-child { width: 30px; text-align: right; }

.bar-fill {
  height: 8px;
  border-radius: 4px;
  flex: 1;
  max-width: 100%;
}

.t1-fill { background: #2d5be3; }
.t2-fill { background: #4caf50; }
.t3-fill { background: #ff9500; }
.t4-fill { background: #f44336; }

/* FOOTER */
.footer {
  background: #0d0d2b;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid #1a1a3e;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.footer-logo-img {
  width: 50px;
  height: auto;
}

.footer-text {
  text-align: center;
}

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer p {
  color: #aab0c6;
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-small {
  font-size: 12px;
  color: #555e7a;
}

/* PAGE HEADER */
.page-header {
  padding: 60px 40px 40px;
  text-align: center;
  background: radial-gradient(ellipse at top, #1a2a6c 0%, #0a0a1a 70%);
}
.logo-tier {
  color: #ffffff;
}

.logo-check {
  color: #ff9500;
}
.page-header h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.page-header p { font-size: 16px; color: #aab0c6; }

/* COLLEGE PAGE */
.college-section {
  padding: 50px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.college-search-big {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
}

.college-search-big input {
  flex: 1;
  padding: 18px 22px;
  font-size: 17px;
  border: 2px solid #2d5be3;
  border-radius: 12px 0 0 12px;
  background: #111827;
  color: #fff;
  outline: none;
}

.college-search-big button {
  padding: 18px 32px;
  background: linear-gradient(135deg, #1a47c8, #2d5be3);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
}

.college-search-big button:hover {
  background: linear-gradient(135deg, #f5c518, #ff9500);
  color: #0a0a1a;
}

.college-result-box {
  background: #111827;
  border: 2px solid #2d5be3;
  border-radius: 16px;
  padding: 32px;
}

.college-result-box h2 { font-size: 26px; margin-bottom: 8px; }
.college-result-box .big-tier { font-size: 48px; font-weight: 800; color: #f5c518; margin: 16px 0; }
.college-result-box p { color: #aab0c6; font-size: 15px; line-height: 1.6; }

.companies-for-tier { margin-top: 30px; }
.companies-for-tier h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: #fff; }

.mini-company-list { display: flex; flex-wrap: wrap; gap: 10px; }
.mini-company-tag {
  background: #1a2a6c;
  border: 1px solid #2d5be3;
  color: #7eb3ff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.mini-company-tag:hover { background: #2d5be3; color: #fff; }

/* COMPANIES PAGE */
.companies-section {
  padding: 50px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid #2d5be3;
  background: transparent;
  color: #aab0c6;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  background: #2d5be3;
  color: #fff;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.company-detail-card {
  background: #111827;
  border: 1px solid #1a2a6c;
  border-radius: 16px;
  padding: 28px 24px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.company-detail-card:hover {
  transform: translateY(-4px);
  border-color: #f5c518;
}

.company-detail-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }

.role-breakdown { margin-top: 16px; }
.role-breakdown h4 { font-size: 13px; color: #aab0c6; margin-bottom: 10px; font-weight: 600; }
.role-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #aab0c6;
  margin-bottom: 6px;
  padding: 6px 10px;
  background: #0d0d2b;
  border-radius: 8px;
}

.role-row span:last-child { color: #f5c518; font-weight: 700; }

/* JOBS PAGE */
.jobs-section {
  padding: 50px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.jobs-list { display: flex; flex-direction: column; gap: 16px; }

.job-card {
  background: #111827;
  border: 1px solid #1a2a6c;
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  transition: border-color 0.2s;
}

.job-card:hover { border-color: #2d5be3; }

.job-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.job-info p { font-size: 14px; color: #aab0c6; }

.job-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.worth-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.worth-yes { background: #1a2e0a; color: #a5d6a7; border: 1px solid #4caf50; }
.worth-no { background: #2e0a0a; color: #ef9a9a; border: 1px solid #f44336; }
.worth-maybe { background: #2e1a00; color: #ffcc80; border: 1px solid #ff9500; }

.apply-btn {
  padding: 8px 22px;
  background: linear-gradient(135deg, #1a47c8, #2d5be3);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.apply-btn:hover { background: linear-gradient(135deg, #f5c518, #ff9500); color: #0a0a1a; }

/* SUBMIT PAGE */
.submit-section {
  padding: 50px 40px;
  max-width: 600px;
  margin: 0 auto;
}

.submit-form {
  background: #111827;
  border: 1px solid #1a2a6c;
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 600; color: #aab0c6; }

.form-group input,
.form-group select {
  padding: 14px 16px;
  background: #0d0d2b;
  border: 1px solid #2d5be3;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  outline: none;
}

.form-group input:focus,
.form-group select:focus { border-color: #f5c518; }

.form-group select option { background: #0d0d2b; }

.submit-btn {
  padding: 16px;
  background: linear-gradient(135deg, #1a47c8, #2d5be3);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover { background: linear-gradient(135deg, #f5c518, #ff9500); color: #0a0a1a; }

.success-msg {
  background: #1a2e0a;
  border: 1px solid #4caf50;
  color: #a5d6a7;
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; width: 100%; background: #0d0d2b; padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }

  .hero { padding: 50px 20px 40px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 30px; }
  .stat h2 { font-size: 26px; }

  .search-box { flex-direction: column; }
  .search-box input { border-radius: 12px; }
  .search-box button { border-radius: 12px; }
  .suggestions { width: 100%; }

  .steps { flex-direction: column; align-items: center; }
  .company-cards { flex-direction: column; align-items: center; }

  .how-it-works, .top-companies { padding: 50px 20px; }
  .college-section, .companies-section, .jobs-section, .submit-section { padding: 30px 20px; }

  .job-card { flex-direction: column; }
  .job-right { align-items: flex-start; }

  .college-search-big { flex-direction: column; }
  .college-search-big input { border-radius: 12px; }
  .college-search-big button { border-radius: 12px; }
}
