@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
@import 'variables.css';

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: #f0ebe3;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
.container { width: min(100% - 2rem, 1100px); margin-inline: auto; }

/* Top bar */
.landing-top {
  background: #1a1a1a;
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}
.landing-top .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.landing-top a { color: #d4a574; }
.landing-top a:hover { color: #f0c896; }

/* Brand header - like reference */
.landing-hero-header {
  background: #f5f0e8;
  padding: 2.5rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid #e0d5c5;
}
.landing-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.landing-brand__logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}
.landing-brand__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #2d6a2e;
  letter-spacing: 0.02em;
  line-height: 1;
}
.landing-brand__subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.15em;
  margin-top: 0.25rem;
}

/* Choose Your College - 3 column grid like reference */
.colleges-section {
  padding: 3rem 0 4rem;
  background: #f5f0e8;
}
.colleges-section__heading {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2.5rem;
}
.colleges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .colleges-grid { grid-template-columns: 1fr; max-width: 380px; }
}

.college-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #e8e0d4;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
}
.college-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.college-card__logo-wrap {
  margin-bottom: 1rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.college-card__logo {
  height: 65px;
  width: auto;
  object-fit: contain;
}
.college-card__logo-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: #2d6a2e;
  background: #f0ebe3;
  width: 65px;
  height: 65px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.college-card__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #2d6a2e;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  min-height: 2.7em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.college-card__line {
  width: 80%;
  border: none;
  border-top: 1px solid #ddd;
  margin: 0 0 0.75rem;
}
.college-card__address {
  font-size: 0.8125rem;
  color: #444;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 1rem;
}
.college-card__btn {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #8B6914;
  margin-top: auto;
  padding: 0.5rem 1rem;
  border: 2px solid #8B6914;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.college-card:hover .college-card__btn {
  background: #8B6914;
  color: #fff;
}

/* App download section */
.app-download-section {
  padding: 3rem 0;
  background: #fff;
  border-top: 1px solid #e8e0d4;
}
.app-download {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .app-download { grid-template-columns: 1fr; text-align: center; }
  .app-download__visual { order: 2; }
}
.phone-frame {
  width: 200px;
  height: 360px;
  background: #1a1a1a;
  border-radius: 28px;
  padding: 12px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.phone-screen {
  background: linear-gradient(180deg, #2d6a2e, #1a4020);
  border-radius: 18px;
  height: 100%;
  padding: 1rem;
  color: white;
}
.phone-screen__header {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}
.phone-screen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  font-size: 0.65rem;
  text-align: center;
}
.phone-screen__grid span {
  background: rgba(255,255,255,0.15);
  padding: 0.5rem 0.25rem;
  border-radius: 6px;
}
.app-download__content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #c0392b;
  margin-bottom: 0.75rem;
}
.app-download__content p {
  color: #444;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}
.app-download__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: white;
  width: fit-content;
  transition: transform 0.2s;
}
.btn-download:hover { transform: scale(1.02); color: white; }
.btn-download--android {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}
.btn-download--teacher {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.link-apply {
  color: #8B6914;
  font-weight: 700;
}
.link-apply:hover { text-decoration: underline; }

/* Footer */
.landing-footer-simple {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8125rem;
}
.landing-footer-simple a { color: #d4a574; }
.landing-footer-simple a:hover { color: #f0c896; }
.landing-footer-simple p + p { margin-top: 0.5rem; }
