:root {
  /* CORE */
  --bg: #ffffff;
  --text: #0f172a;          /* soft black (better than pure black) */
  --accent: #635bff;

  /* UI */
  --border: rgba(15, 23, 42, 0.12);
  --grid-line: rgba(15, 23, 42, 0.04);

  /* MOTION */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* DARK MODE (OPTIONAL) */
.dark-theme {
  --bg: #050505;
  --text: #ffffff;
  --border: rgba(255,255,255,0.14);
  --grid-line: rgba(255,255,255,0.05);
}



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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.32s var(--ease), color 0.32s var(--ease);
  overflow-x: hidden;
  overflow-y: auto;
}

body.theme-switching .navbar,
body.theme-switching .section-basic,
body.theme-switching .ranked-college-card,
body.theme-switching .home-empty-card,
body.theme-switching .highlight-item,
body.theme-switching .result-card,
body.theme-switching .search-form {
  transition: background-color 0.32s var(--ease), color 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.global-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.global-bg .grid-lines {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.4;
}
:not(.dark-theme) .global-bg .grid-lines {
  opacity: 0.9;
}

.dark-theme .global-bg .grid-lines {
  opacity: 0.7;
}


.container {
  max-width: 1400px;
  margin: auto;
  padding: 0 6%;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOADER */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dark-theme .loader {
  background: #000;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-size: 2.2rem;
  letter-spacing: 6px;
}

.loader-logo span {
  color: var(--accent);
}

.loader-text {
  display: block;
  opacity: 0.6;
  margin-top: 10px;
}

.loader-percent {
  display: block;
  margin: 15px 0;
}

.loader-bar {
  width: 0;
  height: 2px;
  background: var(--accent);
}

/* NAV */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 30px 0;
  z-index: 100;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
}

.logo span {
  color: var(--accent);
}

/* THEME TOGGLE */
.theme-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.theme-btn span {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* DEFAULT (LIGHT MODE) */
.theme-btn .sun {
  opacity: 1;
  transform: translateY(0);
}

.theme-btn .moon {
  opacity: 0;
  transform: translateY(100%);
}

/* DARK MODE */
.dark-theme .theme-btn .sun {
  opacity: 0;
  transform: translateY(-100%);
}

.dark-theme .theme-btn .moon {
  opacity: 1;
  transform: translateY(0);
}


.light-theme .sun { transform: translateY(50px); }
.dark-theme .moon { transform: translateY(-50px); }

/* HERO */
.hero-fullscreen {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  margin: 30px 0;
}

.italic {
  font-style: italic;
  font-weight: 200;
  opacity: 0.7;
}

.hero-p {
  max-width: 500px;
  font-size: 1.1rem;
  opacity: 0.65;
}

.badge-row span {
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  margin-right: 10px;
}

/* BUTTONS */
.btn-group {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.btn-main {
  background: var(--accent);
  color: white;
  padding: 18px 36px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 18px 36px;
  border-radius: 50px;
  transition: transform 0.2s ease;
}

/* VISUALS */
.hero-visuals {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.orb {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  position: absolute;
  right: -100px;
  top: 20%;
  opacity: 0.12;
}

.dark-theme .orb {
  opacity: 0.28;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.7;
}

/* FOOTER */
.footer {
  padding: 60px 0;
  width: 100%;
  text-align: center;
  opacity: 0.4;
  font-size: 0.85rem;
  position: relative;
}
.cursor {
  width: 30px;
  height: 30px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.15s ease-out;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10001;
}
.loader-bar {
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.loader {
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.section-basic {
  padding: 140px 0;
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.8rem;
  opacity: 0.6;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.section-head p {
  opacity: 0.65;
  line-height: 1.7;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.focus-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.focus-item p {
  opacity: 0.6;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }
}
.soft-bg {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(99, 91, 255, 0.04),
    transparent
  );
}

.intent-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.intent-list div {
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  opacity: 0.75;
}

@media (max-width: 900px) {
  .intent-list {
    grid-template-columns: 1fr;
  }
}
.process-line {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.process-line div {
  text-align: center;
  flex: 1;
}

.process-line span {
  display: block;
  font-size: 0.9rem;
  opacity: 0.5;
  margin-bottom: 10px;
}

.process-line p {
  font-weight: 600;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .process-line {
    flex-direction: column;
    gap: 30px;
    border-top: none;
  }
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 30px 0;
  z-index: 100;
  transition: 
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    padding 0.3s ease;
}

/* SCROLLED STATE */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

/* Dark override */
.dark-theme .navbar.scrolled {
  background: rgba(10, 10, 10, 0.65);
  border-bottom-color: rgba(255,255,255,0.15);
}


/* Light theme adjustment */
.light-theme .navbar.scrolled {
  background: rgba(245, 245, 247, 0.7);
}

@media (pointer: coarse), (max-width: 900px) {
  * {
    cursor: auto !important;
  }

  .cursor,
  .cursor-dot {
    display: none !important;
  }
}
.hero-fullscreen {
  padding-top: 140px;
}
.colleges-section {
  padding-bottom: 180px;
}

.college-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.college-item {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: transparent;
  transition: transform 0.3s ease, border 0.3s ease;
  overflow: hidden;
}

.college-item > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.college-item > div {
  padding: 24px;
}

.college-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.college-item span {
  font-size: 0.9rem;
  opacity: 0.6;
}

.college-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

@media (max-width: 1100px) {
  .college-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .college-grid {
    grid-template-columns: 1fr;
  }
}
.region-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 60px;
}

.region-row div {
  padding: 14px 22px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* APPROACH SECTION */
.approach-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.approach-item {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.approach-item h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.approach-item p {
  opacity: 0.65;
  line-height: 1.7;
}

.approach-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

@media (max-width: 900px) {
  .approach-list {
    grid-template-columns: 1fr;
  }
}

/* TIMELINE SECTION */
.timeline-container {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  gap: 40px;
  position: relative;
  padding-left: 120px;
}

.timeline-number {
  position: absolute;
  left: 0;
  width: 120px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.8;
}

.timeline-content h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.timeline-content p {
  opacity: 0.65;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .timeline-container::before {
    left: 40px;
  }
  
  .timeline-item {
    padding-left: 80px;
  }
  
  .timeline-number {
    width: 80px;
    font-size: 1.4rem;
  }
}

/* RESOURCES SECTION */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.resource-item {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.resource-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.resource-item p {
  opacity: 0.65;
  line-height: 1.6;
  font-size: 0.95rem;
}

.resource-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

@media (max-width: 1100px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* FAQ SECTION */
.faq-container {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq-item {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.3s ease;
}

.faq-item h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
  opacity: 0.9;
}

.faq-item p {
  opacity: 0.65;
  line-height: 1.7;
}

.faq-item:hover {
  border-color: var(--accent);
}

/* CTA SECTION */
.cta-section {
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content p {
  opacity: 0.7;
  line-height: 1.7;
}
/* ICON WRAPPER */
.icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg,#6c63ff,#7f53ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: 0.3s ease;
}

.icon-wrap svg {
    width: 26px;
    height: 26px;
    stroke: white;
}

/* FIX GRID ALIGNMENT */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.focus-item {
    text-align: center;
    padding: 40px 25px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.focus-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
