@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+Gujarati:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --success: #10b981;
  --success-dark: #059669;
  --bg-gradient: linear-gradient(135deg, #0a0f1d 0%, #111827 50%, #0b1329 100%);
  --card-bg: rgba(255, 255, 255, 0.98);
  --card-border: rgba(255, 255, 255, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 35px rgba(59, 130, 246, 0.35);
  --radius: 18px;
  --font-main: 'Outfit', 'Noto Sans Gujarati', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Background animated decorative orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #2563eb 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
  bottom: -50px;
  right: -50px;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
  top: 40%;
  left: 60%;
}

.app-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-badge {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
  flex-shrink: 0;
}

.brand-info h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
  line-height: 1.2;
}

.brand-info p {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.helpline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.helpline-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

/* Live Announcement Scrolling Notice Ticker */
.notice-ticker-bar {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  letter-spacing: 0.3px;
}

.ticker-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.ticker-marquee-wrapper {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: marqueeTicker 24s linear infinite;
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
}

.ticker-marquee-wrapper:hover .ticker-marquee-text {
  animation-play-state: paused;
}

@keyframes marqueeTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Mobile Announcement Pill */
.mobile-promo-pill {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(234, 88, 12, 0.2));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 30px;
  padding: 10px 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fef3c7;
  font-size: 13.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.promo-fire {
  font-size: 17px;
  animation: fireBounce 1.5s infinite;
}

@keyframes fireBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Main Grid Layout */
.main-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

/* Hero Showcase Card (Left) */
.hero-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 34px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 24px;
}

/* 2x2 Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.feat-text h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.feat-text p {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.3;
}

/* Paper Badge Box */
.paper-badge-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.paper-pdf-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.paper-badge-details h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  word-break: break-all;
}

.paper-badge-details p {
  font-size: 12.5px;
  color: #94a3b8;
}

/* ============================================================
   SCHOOL INFO CARD: ADDRESS, MAP, HELPLINE & SOCIAL MEDIA
   ============================================================ */
.school-info-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  margin-top: 10px;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.info-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px 0;
  letter-spacing: -0.3px;
}

.info-card-subtitle {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

/* Campus Address Box */
.campus-address-box {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.address-icon {
  color: #ef4444;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.address-content {
  flex: 1;
}

.address-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #38bdf8;
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
}

.address-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.45;
  margin: 0;
  letter-spacing: 0.2px;
}

/* Quick Contact Row */
.quick-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.contact-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.contact-pill-btn:hover {
  background: rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.contact-pill-btn.map-btn {
  background: rgba(14, 165, 233, 0.2);
  border-color: rgba(14, 165, 233, 0.4);
  color: #7dd3fc;
}

.contact-pill-btn.map-btn:hover {
  background: rgba(14, 165, 233, 0.35);
}

/* Social Media Follow Section */
.social-follow-box {
  padding-top: 6px;
}

.social-follow-title {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.social-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-height: 58px;
  position: relative;
  overflow: hidden;
}

.social-btn i {
  font-size: 19px;
  transition: transform 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.social-btn:hover i {
  transform: scale(1.15);
}

.social-btn:active {
  transform: scale(0.97);
}

/* Branded Social Buttons */
.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-youtube {
  background: #ff0000;
}

.btn-facebook {
  background: #1877f2;
}

.btn-maps {
  background: linear-gradient(135deg, #059669, #047857);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #22c55e, #15803d);
}

/* Form Container Card (Right/Top) */
.form-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.45);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-header {
  margin-bottom: 22px;
  text-align: center;
}

.form-badge-pill {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.form-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.form-header p {
  font-size: 13.5px;
  color: #64748b;
}

/* Form Groups & Inputs with Icons */
.input-group {
  margin-bottom: 16px;
}

.input-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.label-icon {
  margin-right: 4px;
  color: #64748b;
}

.req-star {
  color: #ef4444;
  font-size: 11px;
  font-weight: 600;
  background: #fef2f2;
  padding: 2px 6px;
  border-radius: 4px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 15px;
  pointer-events: none;
  z-index: 2;
}

.input-field {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: #1e293b;
  background: #ffffff;
  transition: all 0.2s ease;
  -webkit-appearance: none;
}

.input-field.icon-padding {
  padding-left: 42px !important;
}

.input-field:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: #ffffff;
}

.select-custom {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px !important;
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.2s ease;
}

.phone-input-wrapper:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.phone-prefix {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 14px;
  border-right: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-input {
  border: none !important;
  box-shadow: none !important;
  flex: 1;
  border-radius: 0 !important;
  padding: 13px 14px !important;
}

.input-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Primary Button & Glowing Variants */
.btn-primary {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  margin-top: 20px;
}

.btn-submit-glow {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.45);
}

.btn-submit-glow:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(34, 197, 94, 0.55);
}

.btn-download-pulse {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.45);
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

/* OTP Screen */
.otp-badge-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 12px;
}

.otp-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
}

.otp-digit {
  width: 48px;
  height: 56px;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: #1e3a8a;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.otp-digit:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.otp-timer-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.btn-resend {
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.btn-resend:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.btn-back-link {
  background: none;
  border: none;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
}

/* Success Card */
.success-card {
  text-align: center;
  padding: 10px 0;
}

.success-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 16px;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.25);
  animation: pulseSuccess 2s infinite;
}

@keyframes pulseSuccess {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.success-title {
  font-size: 24px;
  font-weight: 800;
  color: #15803d;
  margin-bottom: 8px;
}

.success-subtitle {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
}

.auto-download-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.download-pulse-icon {
  font-size: 28px;
  color: #16a34a;
  flex-shrink: 0;
}

.download-info strong {
  font-size: 14px;
  color: #14532d;
  display: block;
  margin-bottom: 2px;
}

.download-info p {
  font-size: 12px;
  color: #166534;
  margin: 0;
}

.btn-secondary-action {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 11px 20px;
  border-radius: 12px;
  color: #334155;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary-action:hover {
  background: #e2e8f0;
}

/* Viral WhatsApp Share with Classmates */
.share-box-container {
  margin: 16px 0;
}

.btn-share-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 25px -4px rgba(34, 197, 94, 0.45);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-share-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -4px rgba(34, 197, 94, 0.6);
}

.share-btn-text {
  text-align: left;
}

.share-btn-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
}

.share-btn-text small {
  display: block;
  font-size: 11.5px;
  opacity: 0.92;
  margin-top: 2px;
}

/* Success Screen Social Follow */
.success-social-follow {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #cbd5e1;
}

.follow-prompt {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 10px;
}

.mini-social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.mini-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.mini-social-pill:hover {
  transform: scale(1.05);
}

.mini-insta {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.mini-yt {
  background: #ff0000;
}

.mini-fb {
  background: #1877f2;
}

.mini-map {
  background: #059669;
}

/* Notification Toast */
.demo-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e293b;
  color: #fff;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-left: 5px solid #38bdf8;
  z-index: 1000;
  max-width: 400px;
  font-size: 14px;
  display: none;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding-top: 36px;
  padding-bottom: 18px;
  text-align: center;
  color: #94a3b8;
  font-size: 12.5px;
}

.footer-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 20px;
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
  max-width: 95%;
  word-break: break-word;
}

.footer-address i {
  color: #ef4444;
  font-size: 14px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-links a:hover {
  background: #3b82f6;
  color: #fff;
  transform: translateY(-2px);
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

/* ============================================================
   MOBILE RESPONSIVE RULES (Optimized for Mobile Viewport)
   ============================================================ */
@media (max-width: 900px) {
  .app-container {
    padding: 12px 10px;
  }

  .site-header {
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .brand-logo-badge {
    width: 42px;
    height: 42px;
    font-size: 20px;
    border-radius: 12px;
  }

  .brand-info h1 {
    font-size: 18px;
  }

  .brand-info p {
    font-size: 11px;
  }

  .helpline-pill {
    padding: 6px 12px;
    font-size: 12px;
  }

  .mobile-promo-pill {
    margin-bottom: 14px;
    padding: 8px 12px;
    font-size: 12.5px;
  }

  /* ORDER IN MOBILE: FORM FIRST ON TOP, HERO INFO BELOW */
  .main-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .form-card {
    order: 1; /* Form strictly on TOP! */
    padding: 22px 16px;
    border-radius: 16px;
    box-shadow: 0 15px 35px -8px rgba(0, 0, 0, 0.35);
  }

  .hero-card {
    order: 2; /* Hero details below! */
    padding: 22px 16px;
    border-radius: 16px;
  }

  .hero-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .hero-desc {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .feature-grid {
    gap: 10px;
    margin-bottom: 18px;
  }

  .feature-card {
    padding: 10px 12px;
    gap: 10px;
  }

  .feat-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .feat-text h4 {
    font-size: 12.5px;
  }

  .feat-text p {
    font-size: 10.5px;
  }

  .paper-badge-box {
    padding: 14px;
    gap: 12px;
  }

  .paper-pdf-badge {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .paper-badge-details h4 {
    font-size: 13.5px;
  }

  .paper-badge-details p {
    font-size: 11.5px;
  }

  .form-header h2 {
    font-size: 20px;
  }

  .form-header p {
    font-size: 13px;
  }

  .input-field {
    padding: 13px 12px;
    font-size: 15px; /* Prevents auto-zoom on iOS */
  }

  .phone-prefix {
    padding: 13px 10px;
    font-size: 13.5px;
  }

  .btn-primary {
    padding: 15px 16px;
    font-size: 15.5px;
  }

  .otp-container {
    gap: 6px;
    margin: 16px 0;
  }

  .otp-digit {
    width: 44px;
    height: 52px;
    font-size: 20px;
    border-radius: 10px;
  }

  .bg-orb {
    opacity: 0.25;
  }

  .school-info-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .campus-address-box {
    padding: 10px 12px;
  }

  .address-val {
    font-size: 12.5px;
  }

  .quick-contact-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .social-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .social-btn {
    min-height: 48px;
    padding: 9px 8px;
    flex-direction: row;
    gap: 8px;
    font-size: 12px;
  }

  .social-btn i {
    font-size: 17px;
  }
}

@media (max-width: 400px) {
  .otp-digit {
    width: 38px;
    height: 48px;
    font-size: 18px;
  }

  .brand-info h1 {
    font-size: 16px;
  }

  .brand-info p {
    font-size: 10.5px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
