/* ==========================================================================
   UniversityJano.com - Component Styles
   Enhanced with Official Logo Branding & Dedicated University Page Layout
   ========================================================================== */

/* Top Ticker / Notification Bar */
.top-notice-bar {
  background: linear-gradient(90deg, #0b1b3d 0%, #132f6b 50%, #ff7a00 100%);
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 100;
}

.notice-pill {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Header & Navigation */
.header-nav {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 950;
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 1.5rem;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.25rem 0;
}

.brand-logo-img {
  height: 84px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--orange-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Hero Section with Vibrant Banner & Background Picture */
.hero-wrapper {
  background: 
    linear-gradient(135deg, rgba(11, 27, 61, 0.92) 0%, rgba(19, 47, 107, 0.88) 50%, rgba(6, 14, 34, 0.95) 100%),
    url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #ffffff;
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--bg-main), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fed7aa;
  margin-bottom: 1.25rem;
}

.hero-title {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

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

.hero-desc {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Hero Search Box */
.hero-search-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.5rem;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  padding: 0.5rem 1rem;
}

.search-input-wrap input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1.05rem;
  color: var(--text-main);
  background: transparent;
}

/* Degree Filter Pills */
.hero-degree-pills {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-degree-pills span {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 600;
}

.degree-pill-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.degree-pill-btn:hover, .degree-pill-btn.active {
  background: var(--orange-500);
  color: #ffffff;
  border-color: var(--orange-500);
}

/* Hero Interactive Card */
.hero-interactive-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.hero-card-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-trust-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.trust-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.trust-chip .chip-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 122, 0, 0.25);
  color: #ff9100;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-chip .chip-text strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
}

.trust-chip .chip-text span {
  font-size: 0.75rem;
  color: #cbd5e1;
}

/* Stats Bar */
.stats-bar-section {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--orange-500);
  margin-bottom: 0.15rem;
}

.stat-item p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Catalog Layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Filter Sidebar */
.filter-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 90px;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-label:hover {
  color: var(--orange-500);
}

.slider-container {
  margin: 0.75rem 0;
}

.slider-input {
  width: 100%;
  accent-color: var(--orange-500);
  cursor: pointer;
}

.slider-val-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* University Cards Grid */
.catalog-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.results-count {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
}

.sort-select {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--bg-surface);
  outline: none;
  cursor: pointer;
}

.university-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* University Card */
.uni-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
  position: relative;
}

.uni-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-400);
  transform: translateY(-2px);
}

.uni-card-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 140px 1.5fr 1fr 200px;
  gap: 1.5rem;
  align-items: center;
}

.uni-logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.uni-logo-box {
  width: 100px;
  height: 80px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  cursor: pointer;
}

.uni-rating-tag {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--orange-500);
}

.uni-info-col h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  cursor: pointer;
  color: var(--navy-900);
}

.uni-info-col h3:hover {
  color: var(--orange-500);
}

.uni-meta-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
}

.uni-accreditations-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.uni-perks-list {
  display: flex;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.uni-perks-list li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.uni-stats-col {
  border-left: 1px dashed var(--border-light);
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.stat-metric-block .metric-label {
  font-size: 0.775rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.stat-metric-block .metric-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
}

.stat-metric-block .metric-value.price {
  color: var(--orange-600);
}

.stat-metric-block .metric-sub {
  font-size: 0.775rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

.uni-actions-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}

.compare-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.compare-checkbox-label:hover {
  background-color: var(--bg-surface-alt);
  color: var(--orange-500);
}

/* ==========================================================================
   DEDICATED FULL UNIVERSITY DETAIL PAGE STYLES
   ========================================================================== */
.uni-detail-page {
  background-color: var(--bg-main);
  min-height: 100vh;
  padding-bottom: 4rem;
}

.uni-hero-banner {
  height: 280px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.uni-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 61, 0.4) 0%, rgba(11, 27, 61, 0.88) 100%);
}

.uni-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.uni-hero-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.uni-hero-avatar {
  width: 90px;
  height: 90px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  border: 3px solid #ffffff;
}

.uni-hero-text h1 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.uni-hero-text p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.uni-page-nav-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 92px;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.uni-page-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
}

.uni-nav-btn {
  padding: 1rem 1.25rem;
  border: none;
  background: none;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.uni-nav-btn.active, .uni-nav-btn:hover {
  color: var(--orange-500);
  border-bottom-color: var(--orange-500);
}

.uni-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  margin-top: 2rem;
  align-items: start;
}

.uni-detail-section-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-xs);
}

.uni-detail-section-card h2 {
  font-size: 1.45rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.uni-sticky-sidebar {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-lead-card {
  background: #ffffff;
  border: 2px solid var(--orange-400);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

/* Tools Showcase Grid */
.tools-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.tool-feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tool-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--orange-400);
}

.tool-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--orange-50);
  color: var(--orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.tool-feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.tool-feature-card p {
  margin-bottom: 1.5rem;
  font-size: 0.925rem;
}

/* Calculators Panels */
.calc-card-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-result-box {
  background: linear-gradient(135deg, #0b1b3d 0%, #1a56db 100%);
  color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.calc-result-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ff9100;
  margin: 0.5rem 0;
}

.calc-stats-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
}

.calc-stat-sub label {
  font-size: 0.75rem;
  color: #fed7aa;
  text-transform: uppercase;
}

.calc-stat-sub strong {
  display: block;
  font-size: 1.1rem;
  color: #ffffff;
}

/* Modals System */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 27, 61, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1000;
}

.modal-dialog {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  width: 100%;
}

.modal-sm { max-width: 480px; }
.modal-md { max-width: 640px; }
.modal-lg { max-width: 900px; }
.modal-xl { max-width: 1140px; }

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background-color: var(--bg-surface);
  z-index: 10;
}

.modal-header h3 {
  font-size: 1.35rem;
  color: var(--navy-900);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface-alt);
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: #fee2e2;
  color: #ef4444;
}

.modal-body {
  padding: 2rem;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.comparison-table th {
  background-color: var(--bg-surface-alt);
  font-weight: 700;
  color: var(--navy-900);
}

.diff-highlight {
  background-color: #fffbeb !important;
}

/* AI Wizard Funnel */
.wizard-progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.wizard-progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-light);
  transform: translateY(-50%);
  z-index: 1;
}

.wizard-step-node {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.wizard-step-node.active {
  border-color: var(--orange-500);
  background-color: var(--orange-500);
  color: #ffffff;
  box-shadow: 0 0 0 4px var(--orange-100);
}

.wizard-step-node.completed {
  border-color: var(--accent-emerald);
  background-color: var(--accent-emerald);
  color: #ffffff;
}

.wizard-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.wizard-option-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wizard-option-card:hover, .wizard-option-card.selected {
  border-color: var(--orange-500);
  background-color: var(--orange-50);
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  cursor: pointer;
  transition: transform var(--transition-spring);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 850;
}

/* Footer */
.site-footer {
  background-color: var(--navy-950);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--orange-400);
}

.ugc-disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-hero-section {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  padding: 4rem 0 3rem 0;
  text-align: center;
  color: #ffffff;
}

.blog-hero-section .section-tag {
  background-color: rgba(255, 122, 0, 0.15);
  border: 1px solid rgba(255, 122, 0, 0.35);
  color: var(--orange-300);
}

.blog-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 1rem 0 0.75rem 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.blog-hero-subtitle {
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
  line-height: 1.6;
}

.blog-search-input {
  width: 100%;
  max-width: 520px;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
}

.blog-search-input:focus {
  outline: 3px solid var(--orange-400);
}

.blog-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.blog-category-pill {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background-color: var(--bg-surface);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.blog-category-pill:hover {
  border-color: var(--orange-400);
  color: var(--orange-600);
}

.blog-category-pill.active {
  background-color: var(--orange-500);
  border-color: var(--orange-500);
  color: #ffffff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--orange-300);
}

.blog-card-image {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--navy-800);
}

.blog-card-category {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background-color: rgba(11, 27, 61, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.blog-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.blog-card-meta {
  font-size: 0.78rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-card-dot {
  color: var(--text-subtle);
}

.blog-card-title {
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--navy-900);
  margin: 0;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.blog-card-readmore {
  color: var(--orange-500);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.blog-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.blog-cta-banner {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #ffffff;
}

.blog-cta-banner h3 {
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.blog-cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.blog-cta-banner .btn-primary {
  background: #ffffff;
  color: var(--orange-600);
}

.blog-cta-banner .btn-primary:hover {
  background: var(--orange-50);
}

/* Single Blog Post Page */
.blog-post-hero {
  height: 340px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,27,61,0.15) 0%, rgba(11,27,61,0.65) 100%);
}

.blog-post-breadcrumb {
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.blog-post-title {
  font-size: 2rem;
  line-height: 1.3;
  color: var(--navy-900);
  margin-bottom: 1rem;
}

.blog-post-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.blog-post-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-main);
}

.blog-post-content h2 {
  font-size: 1.4rem;
  color: var(--navy-900);
  margin: 2rem 0 1rem 0;
}

.blog-post-content h3 {
  font-size: 1.15rem;
  color: var(--navy-900);
  margin: 1.5rem 0 0.75rem 0;
}

.blog-post-content p {
  margin-bottom: 1.15rem;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 1.15rem 1.5rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.blog-tag-pill {
  background-color: var(--orange-50);
  color: var(--orange-600);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.blog-post-sidebar {
  position: sticky;
  top: 140px;
}

.blog-related-section {
  margin: 3.5rem 0 4rem 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-card { position: static; margin-bottom: 1.5rem; }
  .uni-card-body { grid-template-columns: 1fr; text-align: left; }
  .uni-stats-col { border-left: none; padding-left: 0; }
  .uni-detail-layout { grid-template-columns: 1fr; }
  .uni-sticky-sidebar { position: static; }
  .tools-showcase-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-post-sidebar { position: static; max-width: 420px; }
}

@media (max-width: 768px) {
  .header-menu { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .tools-showcase-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .mobile-sticky-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.1rem; }
  .uni-hero-content { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero-title { font-size: 1.75rem; }
  .blog-post-title { font-size: 1.5rem; }
  .blog-post-hero { height: 220px; }
}
/* ==========================================================================
   UniversityJano.com - App-Like Mobile Navigation & Animation Styles
   ========================================================================== */

/* Animations */
@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.4); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 8px rgba(255, 122, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 122, 0, 0); }
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.pulse-badge {
  animation: pulseGlow 2.5s infinite;
}

.float-icon {
  animation: floatGentle 3s ease-in-out infinite;
}

/* Card Hover Elevation */
.uni-card, .tool-feature-card, .blog-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.uni-card:hover, .tool-feature-card:hover, .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Hamburger Menu Button for Mobile */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  z-index: 960;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--orange-50);
  border-color: var(--orange-300);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--navy-900);
  border-radius: 4px;
  transition: all 0.25s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Slide-Over Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 27, 61, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 1250;
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 25px rgba(0, 0, 0, 0.2);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-surface);
}

.mobile-drawer-close {
  background: var(--bg-surface-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
}

.mobile-drawer-body {
  flex: 1;
  padding: 1rem 0;
}

.mobile-drawer-section-title {
  padding: 0.5rem 1.25rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.mobile-drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.25rem;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.mobile-drawer-link:hover, .mobile-drawer-link.is-active {
  background: var(--orange-50);
  color: var(--orange-600);
  border-left-color: var(--orange-500);
}

.mobile-drawer-link .link-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.mobile-drawer-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--orange-500);
  color: #fff;
}

.mobile-drawer-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-surface-alt);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* App-Like Native Mobile Bottom Dock (Screens <= 768px) */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  z-index: 900;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
  justify-content: space-around;
  align-items: center;
  padding: 0.25rem 0.5rem;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  gap: 3px;
  flex: 1;
  padding: 0.35rem 0;
  position: relative;
  transition: all 0.15s ease;
}

.dock-item.is-active, .dock-item:hover {
  color: var(--orange-600);
}

.dock-item.is-active .dock-icon {
  transform: translateY(-2px);
}

.dock-icon {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.dock-badge {
  position: absolute;
  top: 2px;
  right: 22%;
  background: var(--orange-500);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* Extra space for body on mobile so bottom dock doesn't overlap footer */
@media (max-width: 768px) {
  body {
    padding-bottom: 64px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-bottom-dock {
    display: flex;
  }

  .header-menu {
    display: none;
  }

  .brand-logo-img {
    height: 62px;
  }

  .header-container {
    height: 78px;
  }
}
