/* PSSS Educational Institute - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

/* ========== CSS Variables ========== */
:root {
  /* Colors */
  --primary: hsl(217, 91%, 35%);
  --primary-dark: hsl(217, 91%, 25%);
  --primary-light: hsl(217, 91%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);
  
  --secondary: hsl(152, 69%, 31%);
  --secondary-dark: hsl(152, 69%, 21%);
  --secondary-foreground: hsl(0, 0%, 100%);
  
  --accent: hsl(38, 92%, 50%);
  --accent-dark: hsl(38, 92%, 40%);
  --accent-foreground: hsl(0, 0%, 100%);
  
  --background: hsl(210, 40%, 98%);
  --foreground: hsl(222, 47%, 11%);
  
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(222, 47%, 11%);
  
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  
  --border: hsl(214, 32%, 91%);
  --destructive: hsl(0, 84%, 60%);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(217, 91%, 35%) 0%, hsl(217, 91%, 25%) 100%);
  --gradient-secondary: linear-gradient(135deg, hsl(152, 69%, 31%) 0%, hsl(152, 69%, 21%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(38, 92%, 50%) 0%, hsl(38, 92%, 40%) 100%);
  --gradient-hero: linear-gradient(135deg, hsl(217, 91%, 35%) 0%, hsl(217, 91%, 20%) 50%, hsl(152, 69%, 25%) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(30, 64, 175, 0.1), 0 2px 4px -2px rgba(30, 64, 175, 0.1);
  --shadow-elevated: 0 20px 25px -5px rgba(30, 64, 175, 0.15), 0 8px 10px -6px rgba(30, 64, 175, 0.1);
  
  /* Spacing */
  --radius: 0.625rem;
  --container-max: 1280px;
}

/* ========== Base Styles ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.hindi-text, .font-hindi {
  font-family: 'Noto Sans Devanagari', sans-serif;
}

/* ========== Utility Classes ========== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.section-padding {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 2rem;
  }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ========== Gradients ========== */
.gradient-primary {
  background: var(--gradient-primary);
}

.gradient-secondary {
  background: var(--gradient-secondary);
}

.gradient-accent {
  background: var(--gradient-accent);
}

.gradient-hero {
  background: var(--gradient-hero);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--primary-foreground);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ========== Cards ========== */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-elevated);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ========== Forms ========== */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-input::placeholder {
  color: var(--muted-foreground);
}

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.top-bar {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .navbar .container {
    height: 5rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  background: var(--gradient-primary);
  padding: 0.5rem;
  border-radius: var(--radius);
  color: var(--primary-foreground);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .main {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text .sub {
  font-size: 0.625rem;
  color: var(--muted-foreground);
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
  color: var(--foreground);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(30, 64, 175, 0.1);
}

.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav {
  display: none;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

.mobile-nav.active {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary);
  background: rgba(30, 64, 175, 0.1);
}

/* ========== News Ticker ========== */
.news-ticker {
  background: var(--accent);
  color: var(--accent-foreground);
  overflow: hidden;
}

.news-ticker .container {
  display: flex;
  align-items: center;
}

.news-ticker-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.news-ticker-content {
  flex: 1;
  overflow: hidden;
  padding: 0.5rem 0;
}

.news-ticker-scroll {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.news-ticker-scroll span {
  display: inline-block;
  margin: 0 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /*background: linear-gradient(to right, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.5));*/
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  padding: 5rem 0;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.2);
  color: var(--secondary);
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
}

.hero-tagline {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 1.5rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========== Stats Section ========== */
.stats-section {
  padding: 3rem 0;
  background: var(--gradient-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  color: var(--primary-foreground);
}

.stat-icon {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.75rem;
  opacity: 0.8;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ========== Courses Section ========== */
.courses-section {
  padding: 4rem 0;
  background: var(--background);
}

@media (min-width: 768px) {
  .courses-section {
    padding: 6rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

.section-header p {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.course-card {
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-4px);
}

.course-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.course-card:hover .course-image img {
  transform: scale(1.1);
}

.course-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.6), transparent);
}

.course-icon {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  color: var(--primary-foreground);
}

.course-content {
  padding: 1.5rem;
}

.course-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.course-content .hindi {
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.course-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========== Quick Actions Section ========== */
.quick-actions {
  padding: 4rem 0;
  background: var(--muted);
}

@media (min-width: 768px) {
  .quick-actions {
    padding: 6rem 0;
  }
}

.action-card {
  text-align: center;
  padding: 2rem;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.action-card:hover {
  border-color: rgba(30, 64, 175, 0.3);
  transform: translateY(-4px);
}

.action-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.3s;
}

.action-card:hover .action-icon {
  transform: scale(1.1);
}

.action-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.action-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========== CTA Section ========== */
.cta-section {
  padding: 4rem 0;
  background: var(--gradient-hero);
  text-align: center;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 6rem 0;
  }
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 2.5rem;
  }
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

/* ========== Page Banner ========== */
.page-banner {
  background: var(--gradient-primary);
  padding: 4rem 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.5rem;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .page-banner h1 {
    font-size: 3rem;
  }
}

.page-banner p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ========== About Page ========== */
.about-hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .about-text h2 {
    font-size: 2.5rem;
  }
}

.about-text p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.5rem;
  text-align: center;
  color: var(--primary-foreground);
}

.stat-card.muted {
  background: var(--muted);
  color: var(--foreground);
}

.stat-card svg {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
}

.stat-card .number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-card .label {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Values Cards */
.values-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  padding: 2rem;
  height: 100%;
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-foreground);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.value-card p {
  color: var(--muted-foreground);
}

/* Features List */
.features-section {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .features-section {
    grid-template-columns: 1fr 1fr;
  }
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 639px) {
  .features-list {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.feature-item span {
  color: var(--foreground);
}

.feature-image {
  position: relative;
}

.feature-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
}

.feature-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  padding: 1.5rem;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1.125rem;
}

/* ========== Form Pages ========== */
.form-section {
  max-width: 42rem;
  margin: 0 auto;
}

.form-card {
  padding: 0;
}

.icon-box {
  padding: 0.5rem;
  border-radius: var(--radius);
  display: inline-flex;
  color: var(--primary-foreground);
}

.icon-box.sm {
  padding: 0.375rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row.two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.file-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.file-upload:hover {
  border-color: var(--primary);
}

.file-upload input {
  display: none;
}

.file-upload svg {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  color: var(--muted-foreground);
}

.file-upload p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.file-upload .hint {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* ========== Result Display ========== */
.result-card {
  overflow: hidden;
}

.result-status {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--primary-foreground);
  font-size: 1.5rem;
  font-weight: 700;
}

.result-status.pass {
  background: var(--gradient-secondary);
}

.result-status.fail {
  background: var(--destructive);
}

.result-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.result-detail svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.result-detail .label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.result-detail .value {
  font-weight: 600;
  color: var(--foreground);
}

.marks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.marks-item {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius);
}

.marks-item.primary {
  background: rgba(30, 64, 175, 0.05);
}

.marks-item.secondary {
  background: rgba(34, 197, 94, 0.1);
}

.marks-item.accent {
  background: rgba(245, 158, 11, 0.1);
}

.marks-item .number {
  font-size: 1.5rem;
  font-weight: 700;
}

.marks-item.primary .number {
  color: var(--primary);
}

.marks-item.secondary .number {
  color: var(--secondary);
}

.marks-item.accent .number {
  color: var(--accent);
}

.marks-item .label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ========== Admit Card ========== */
.admit-card-display {
  overflow: hidden;
}

.admit-header {
  background: var(--gradient-primary);
  padding: 1.5rem;
  text-align: center;
  color: var(--primary-foreground);
}

.admit-header h2 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.admit-header p {
  font-size: 1.125rem;
  font-weight: 600;
}

.admit-body {
  padding: 1.5rem;
}

.admit-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .admit-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.admit-photo {
  text-align: center;
}

.admit-photo img {
  width: 150px;
  height: 150px;
  border: 4px solid var(--primary);
  border-radius: var(--radius);
  object-fit: cover;
}

.admit-photo p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.admit-details {
  display: grid;
  gap: 1rem;
}

.admit-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.admit-detail-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  margin-top: 0.125rem;
}

.admit-detail-item .label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.admit-detail-item .value {
  font-weight: 600;
  color: var(--foreground);
}

.admit-instructions {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.admit-instructions h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.admit-instructions ul {
  list-style: none;
}

.admit-instructions li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

/* ========== News Page ========== */
.news-list {
  display: grid;
  gap: 1.5rem;
}

.news-card {
  cursor: pointer;
  transition: all 0.3s;
}

.news-card:hover {
  transform: translateY(-2px);
}

.news-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.25rem;
}

.badge-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.badge-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.badge-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.badge-muted {
  background: var(--muted);
  color: var(--foreground);
}

.badge-new {
  background: var(--destructive);
  color: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.news-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.news-title h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  transition: color 0.2s;
}

.news-card:hover .news-title h3 {
  color: var(--primary);
}

.news-title .hindi {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.news-title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
  transition: all 0.2s;
}

.news-card:hover .news-title svg {
  color: var(--primary);
  transform: translateX(4px);
}

.news-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.news-date svg {
  width: 1rem;
  height: 1rem;
}

/* Notice Board */
.notice-board {
  border: 2px solid var(--accent);
}

.notice-board .card-header {
  background: var(--gradient-accent);
  color: var(--accent-foreground);
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.notice-item:last-child {
  margin-bottom: 0;
}

.notice-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.notice-item p {
  color: var(--foreground);
}

/* ========== Contact Page ========== */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.contact-info-list {
  display: grid;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
}

.contact-info-card .icon-box {
  flex-shrink: 0;
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.contact-info-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.map-card {
  margin-top: 3rem;
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  min-height: 400px;
  border: none;
}

/* ========== Login Page ========== */
.login-card {
  max-width: 28rem;
  margin: 0 auto;
}

.login-header {
  text-align: center;
}

.login-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
}

.login-icon svg {
  width: 2rem;
  height: 2rem;
}

.tabs {
  margin-top: 1.5rem;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
  background: var(--muted);
  padding: 0.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  background: transparent;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--muted-foreground);
}

.tab-btn.active {
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow-sm);
}

.tab-btn svg {
  width: 1rem;
  height: 1rem;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.input-with-icon {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
}

.input-with-icon input {
  padding-left: 2.5rem;
}

.form-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.form-row-between label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--muted-foreground);
}

.form-row-between a {
  color: var(--primary);
}

.form-row-between a:hover {
  text-decoration: underline;
}

.login-notice {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ========== Footer ========== */
.footer {
  background: var(--foreground);
  color: var(--primary-foreground);
}

.footer-main {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer-main {
    padding: 4rem 0;
  }
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-about .logo {
  margin-bottom: 1rem;
}

.footer-about .logo-icon {
  background: var(--gradient-secondary);
}

.footer-about p {
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(30, 64, 175, 0.2);
  transition: background 0.2s;
}

.social-link:hover {
  background: rgba(30, 64, 175, 0.4);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--secondary);
  margin-top: 0.125rem;
}

.footer-contact-item p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ========== Success State ========== */
.success-state {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: var(--gradient-secondary);
  color: var(--secondary-foreground);
}

.success-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.success-state h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.success-state p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* ========== Not Found State ========== */
.not-found-state {
  text-align: center;
  padding: 2rem;
}

.not-found-state svg {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--destructive);
}

.not-found-state h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.not-found-state p {
  color: var(--muted-foreground);
}

/* ========== Animations ========== */
.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* ========== Responsive Utilities ========== */
@media (max-width: 639px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 640px) {
  .hide-desktop { display: none !important; }
}

/* ========== Print Styles ========== */
@media print {
  .header,
  .footer,
  .news-ticker,
  .btn {
    display: none !important;
  }
  
  body {
    background: white;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
