/* ==========================================
   Falcon Public School - Introductory Website
   Modern Design System & Styling
   ========================================== */

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent-gold: #d97706;
  --accent-gold-light: #f59e0b;
  --accent-blue: #2563eb;
  --accent-emerald: #10b981;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --card-border: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

/* Navbar */
.landing-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.landing-navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link-custom {
  font-weight: 600;
  color: var(--text-main);
  margin: 0 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-link-custom:hover {
  color: var(--accent-gold);
  background: rgba(217, 119, 6, 0.06);
}

.btn-portal-login {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-portal-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.btn-portal-dashboard {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-portal-dashboard:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Hero Section */
.hero-section {
  padding: 150px 0 90px;
  position: relative;
  background: radial-gradient(1200px circle at 80% -20%, rgba(217, 119, 6, 0.08) 0%, transparent 70%),
              radial-gradient(800px circle at 10% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 60%),
              #ffffff;
  border-bottom: 1px solid var(--card-border);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(217, 119, 6, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.25);
  color: #fff;
}

.btn-hero-secondary {
  background: var(--bg-white);
  color: var(--primary);
  border: 1px solid var(--card-border);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-secondary:hover {
  background: var(--bg-light);
  border-color: rgba(15, 23, 42, 0.2);
  color: var(--primary);
}

/* Hero Visual Box */
.hero-card-visual {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
  position: relative;
}

.hero-banner-img {
  width: 100%;
  border-radius: var(--radius-md);
  height: 340px;
  object-fit: cover;
}

.hero-stat-overlay {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  justify-content: space-around;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-top: 4px;
}

/* Section Styling */
.section-padding {
  padding: 100px 0;
}

.section-tag {
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* Feature Card */
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217, 119, 6, 0.3);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(217, 119, 6, 0.08);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
  background: var(--accent-gold);
  color: #ffffff;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Academic Stream Cards */
.academic-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.academic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.academic-card-body {
  padding: 28px;
}

.academic-badge {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 12px;
}

/* Quick Access Portal Card */
.portal-cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.portal-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.portal-cta-title {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.portal-cta-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 600px;
}

/* Contact Info Box */
.contact-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-detail p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* Footer */
.landing-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
  font-size: 0.92rem;
}

.landing-footer h5 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.landing-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-footer-links li {
  margin-bottom: 10px;
}

.landing-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-footer-links a:hover {
  color: var(--accent-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 50px;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-section {
    padding: 120px 0 60px;
  }
  .hero-stat-overlay {
    position: relative;
    bottom: 0;
    margin-top: 20px;
  }
}
