/* ==========================================================================
   JBN Trendsetter Sankalp - Official Stylesheet
   Theme: Navy Blue (#0b1325), Warm Orange (#ff7a00), Royal Gold (#d4af37)
   ========================================================================== */

:root {
  --primary-navy: #0b1325;
  --secondary-navy: #152445;
  --accent-orange: #ff7a00;
  --accent-orange-hover: #e66b00;
  --accent-gold: #d4af37;
  --accent-gold-light: #f7da7a;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 5%;
  background-color: var(--primary-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  border-bottom: 2px solid var(--accent-orange);
}

.logo-container a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.logo-img {
  width: 44px;
  height: 44px;
}

.logo-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.logo-title span {
  color: var(--accent-orange);
}

.logo-subtitle {
  font-size: 0.68rem;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.4rem;
  align-items: center;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background-color: rgba(255, 122, 0, 0.2);
}

.nav-btn {
  background: linear-gradient(135deg, var(--accent-orange), #d95300);
  color: #fff !important;
  padding: 0.45rem 1rem !important;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(255,122,0,0.3);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  font-size: 0.95rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), #d95300);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 14px rgba(255,122,0,0.35);
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,122,0,0.45);
}

.btn-outline {
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0b1325 0%, #152445 60%, #1e335f 100%);
  color: var(--white);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--accent-orange);
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,122,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.hero .motto {
  font-size: 1.25rem;
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
}

.hero-sub {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  color: #cbd5e1;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats Ribbon */
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--accent-orange);
  font-weight: 800;
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--card-bg);
  padding: 2.2rem;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-orange);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.09);
}

.card h3 {
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Timeline & Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-top: 1.5rem;
}

.data-table th, .data-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  background: var(--secondary-navy);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.data-table tr:hover {
  background: #f8fafc;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-east { background: #e0f2fe; color: #0369a1; }
.badge-central { background: #fef3c7; color: #b45309; }
.badge-north { background: #ecfdf5; color: #047857; }
.badge-west { background: #f3e8ff; color: #7e22ce; }

/* Hierarchy Visual */
.tree-step {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 1.1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.step-num {
  width: 38px;
  height: 38px;
  background: var(--primary-navy);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1.2rem;
  flex-shrink: 0;
}

.tree-step.current {
  border-left: 5px solid var(--accent-orange);
  background: #fffcf7;
}

/* Form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--accent-orange);
}

/* Footer */
footer {
  background: var(--primary-navy);
  color: #94a3b8;
  padding: 3.5rem 5% 1.5rem;
  border-top: 3px solid var(--accent-orange);
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 860px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
}
