/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

:root {
  --primary: #0B2447;
  --primary-hover: #19376D;
  --primary-light: #f8fafc;
  --secondary: #19376d;
  --accent: #19376d;
  --text-dark: #0f172a;
  --text-muted: #19376d;
  --bg-light: #f8fafc;
  --bg-#f8fafc: #f8fafc;
  --border-color: #19376d;
  
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  
  --glass-bg: rgba(248, 250, 252, 0.85);
  --glass-border: rgba(25, 55, 109, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(11, 36, 71, 0.07);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links li a {
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links li a:hover {
  color: var(--primary);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-primary {
  background: var(--primary);
  color: #f8fafc;
  border: none;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(255,255,255,0) 70%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero p {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.search-container {
  background: var(--bg-#f8fafc);
  padding: 8px;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}

.search-input {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-right: 1px solid var(--border-color);
}

.search-input i {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-right: 12px;
}

.search-input input {
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  width: 100%;
  color: var(--text-dark);
}

.search-input input::placeholder {
  color: #19376d;
}

.search-select {
  padding: 12px 16px;
}

.search-select select {
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  cursor: pointer;
  background: transparent;
}

.search-btn {
  background: var(--primary);
  color: #f8fafc;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: var(--primary-hover);
}

.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.stat-text {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.view-all {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.view-all:hover {
  gap: 12px;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--bg-#f8fafc);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  background: var(--primary);
  color: #f8fafc;
}

.category-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.category-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Colleges Grid */
.bg-gray {
  background-color: #f8fafc;
}

.colleges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.college-card {
  background: var(--bg-#f8fafc);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.college-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.college-image {
  height: 200px;
  position: relative;
}

.college-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.college-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.college-badge i {
  color: var(--secondary);
}

.college-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.college-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  background: #f8fafc;
  color: var(--text-muted);
  font-weight: 600;
}

.college-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.college-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.college-stats {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.c-stat h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.c-stat p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.college-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.college-actions .btn {
  flex: 1;
  padding: 10px;
  font-size: 0.875rem;
}

/* Call to Action */
.cta-section {
  background: var(--primary);
  padding: 80px 0;
  color: #f8fafc;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.btn-#f8fafc {
  background: #f8fafc;
  color: var(--primary);
}
.btn-#f8fafc:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px 0 rgba(0,0,0,0.2);
}

/* Footer */
.footer {
  background: #0f172a;
  color: #f8fafc;
  padding: 80px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo {
  color: #f8fafc;
  margin-bottom: 24px;
}

.footer-about p {
  color: #19376d;
  margin-bottom: 24px;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col ul a {
  color: #19376d;
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: #f8fafc;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: #19376d;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .search-container { flex-direction: column; background: transparent; box-shadow: none; border: none; gap: 16px; }
  .search-input, .search-select { background: #f8fafc; width: 100%; border-radius: 12px; border: 1px solid var(--border-color); }
  .search-input { border-right: 1px solid var(--border-color); }
  .search-btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .stats { flex-direction: column; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
