/* ==========================================================================
   BIOGRAD — Page-Specific Stylesheet
   Styles for the 8 Core Pages, Sub-components, Dashboards & Interactive Views
   ========================================================================== */

/* Subpage Hero Banner */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--deep-teal-900) 0%, var(--deep-teal) 70%, #0c3838 100%);
  color: #FFFFFF;
  padding: 80px 0 70px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 194, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
}

.page-hero-content {
  position: relative;
  z-index: 5;
  max-width: 820px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--mint);
  margin-bottom: 18px;
}

.breadcrumb-nav a {
  color: rgba(244, 247, 245, 0.75);
}

.breadcrumb-nav a:hover {
  color: #FFFFFF;
}

.breadcrumb-sep {
  opacity: 0.4;
}

.page-hero-title {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
  line-height: 1.18;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(244, 247, 245, 0.85);
  line-height: 1.6;
}

/* ==========================================================================
   02. ABOUT BIOGRAD PAGE STYLES
   ========================================================================== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}

.vm-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.vm-card.mission {
  border-top: 5px solid var(--scientific-teal);
}

.vm-card.vision {
  border-top: 5px solid var(--vibrant-cyan);
}

.vm-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.vm-card.mission .vm-card-icon {
  background: var(--mint-soft);
  color: var(--scientific-teal);
}

.vm-card.vision .vm-card-icon {
  background: rgba(0, 194, 255, 0.15);
  color: #0099cc;
}

.vm-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.vm-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Faculty & Leadership Grid */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.faculty-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--scientific-teal);
}

.faculty-photo {
  height: 260px;
  overflow: hidden;
  background: var(--off-white);
}

.faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-info {
  padding: 24px;
}

.faculty-name {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.faculty-title {
  font-size: 0.88rem;
  color: var(--scientific-teal);
  font-weight: 600;
  margin-bottom: 8px;
}

.faculty-creds {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.faculty-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   03. PROGRAMS PAGE SPECIFIC STYLES
   ========================================================================== */
.program-search-bar {
  display: flex;
  gap: 16px;
  background: #FFFFFF;
  padding: 16px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  max-width: 640px;
  margin: 0 auto 36px auto;
  align-items: center;
}

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

/* Program Comparison Table */
.comparison-table-wrap {
  overflow-x: auto;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  margin-top: 50px;
}

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

.comparison-table th {
  background: var(--deep-teal);
  color: #FFFFFF;
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: var(--mint-soft);
}

/* ==========================================================================
   04. LEARNING EXPERIENCE & LAB INFRASTRUCTURE
   ========================================================================== */
.lab-suites-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.lab-suite-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.lab-suite-row.reversed {
  direction: rtl;
}

.lab-suite-row.reversed > * {
  direction: ltr;
}

.lab-suite-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  height: 380px;
}

.lab-suite-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.lab-suite-image:hover img {
  transform: scale(1.04);
}

.lab-suite-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(16, 59, 58, 0.88);
  backdrop-filter: blur(8px);
  color: var(--vibrant-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(0, 194, 255, 0.3);
}

.lab-suite-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.spec-item {
  background: var(--off-white);
  padding: 14px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--scientific-teal);
}

.spec-item h6 {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.spec-item p {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0;
}

/* ==========================================================================
   05. INDUSTRY & ACADEMIC PARTNERSHIPS
   ========================================================================== */
.partner-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.partner-tier-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-smooth);
}

.partner-tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--scientific-teal);
  box-shadow: var(--shadow-hover);
}

.tier-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--scientific-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.6rem;
}

.partner-tier-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.partner-tier-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   06. CAREERS & OUTCOMES
   ========================================================================== */
.stats-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.stat-box-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-box-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--scientific-teal), var(--vibrant-cyan));
}

.stat-box-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--deep-teal);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-box-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.stat-box-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Alumni Testimonials Grid */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.alumni-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.alumni-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(8, 127, 140, 0.3);
}

.alumni-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.alumni-quote::before {
  content: '“';
  font-family: Georgia, serif;
  font-size: 3.5rem;
  color: var(--mint);
  position: absolute;
  top: -24px;
  left: -12px;
  z-index: 0;
  opacity: 0.6;
}

.alumni-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.alumni-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--mint);
}

.alumni-info h5 {
  font-size: 1.02rem;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.alumni-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--scientific-teal);
}

.alumni-company {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   07. FOR COLLEGES & COMPANIES
   ========================================================================== */
.b2b-offerings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.b2b-col-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 44px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.b2b-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--scientific-teal);
  background: var(--mint-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  width: fit-content;
}

.b2b-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 32px 0;
}

.b2b-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.b2b-features-list li svg {
  color: var(--scientific-teal);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   08. CONTACT & ADMISSIONS
   ========================================================================== */
.admissions-schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.admissions-schedule-table th {
  background: var(--deep-teal);
  color: #FFFFFF;
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
}

.admissions-schedule-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.seats-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}

.seats-badge.filling-fast {
  background: #FFF1E6;
  color: #C05621;
}

.seats-badge.open {
  background: #EBF8FF;
  color: #2B6CB0;
}

/* FAQ Accordion */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question:hover {
  background: var(--off-white);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-icon {
  transition: transform var(--transition-fast);
  color: var(--scientific-teal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .vision-mission-grid, .lab-suite-row, .b2b-offerings-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .lab-suite-row.reversed {
    direction: ltr;
  }
  .partner-tier-grid {
    grid-template-columns: 1fr;
  }
  .stats-highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 60px 0 50px 0;
  }
  .stats-highlight-grid {
    grid-template-columns: 1fr;
  }
  .lab-suite-specs {
    grid-template-columns: 1fr;
  }
  .comparison-table-wrap {
    margin-top: 30px;
  }
}
