/* ═══════════════════════════════════════════════════
   cell-styles.css — MPI Cell Page Stylesheet
   Extends styles.css (base file)
════════════════════════════════════════════════════ */

/* ── BLINK ANIMATION ── */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── FADE IN ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ACTIVE STATE ── */
.nav-active {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 16px 14px;
  color: var(--gold2) !important;
  background: rgba(255,255,255,.06);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.nav-active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 70%;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
}

/* ═══════════════════════════════════════════════════
   PAGE HERO
════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #0a1628 0%, #15295a 55%, #1a3570 100%);
  padding: 60px 32px 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(201,168,76,.14) 0%, transparent 65%);
}
.page-hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: #8fa4c8;
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--gold2);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #8fa4c8; font-size: 10px; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 5vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero h1 span { color: var(--gold2); }
.page-hero p {
  color: #8fa4c8;
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hero-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 30px;
  color: var(--gold2);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s;
}
.hero-quick-links a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   CELLS OVERVIEW — Top Cards Grid
════════════════════════════════════════════════════ */
.cells-overview {
  background: var(--light);
  padding: 56px 32px;
}
.cells-overview-inner { max-width: 1200px; margin: 0 auto; }

.sec-head {
  text-align: center;
  margin-bottom: 36px;
}
.sec-sub {
  display: inline-block;
  background: rgba(201,168,76,.15);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
}
.sec-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}
.sec-head h2 span { color: var(--gold); }
.sec-head p {
  color: var(--muted);
  font-size: 14px;
  max-width: 560px;
  margin: 0 auto;
}

.cell-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.cell-overview-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px;
  border: 1.5px solid #e8ecf4;
  box-shadow: 0 3px 14px rgba(10,22,40,.06);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: transform .28s, box-shadow .28s, border-color .28s;
  position: relative;
  overflow: hidden;
}
.cell-overview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cc, var(--gold));
  border-radius: 14px 14px 0 0;
}
.cell-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(10,22,40,.12);
  border-color: transparent;
}
.coc-icon {
  width: 60px; height: 60px;
  background: color-mix(in srgb, var(--cc, var(--gold)) 12%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--cc, var(--gold)) 30%, transparent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--cc, var(--gold));
  transition: background .25s;
}
.cell-overview-card:hover .coc-icon {
  background: color-mix(in srgb, var(--cc, var(--gold)) 20%, transparent);
}
.cell-overview-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.cell-overview-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}
.coc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cc, var(--gold));
  transition: gap .2s;
}
.cell-overview-card:hover .coc-link { gap: 8px; }

/* ═══════════════════════════════════════════════════
   CELL DETAIL SECTIONS
════════════════════════════════════════════════════ */
.cell-section {
  background: #fff;
  padding: 64px 32px;
  border-top: 1px solid #e8ecf4;
}
.cell-section.alt-bg { background: var(--light); }

.cell-section-inner { max-width: 1200px; margin: 0 auto; }

/* Cell Header */
.cell-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1.5px solid #e8ecf4;
}
.cell-header-icon {
  width: 68px; height: 68px;
  flex-shrink: 0;
  background: rgba(224,62,62,.12);
  border: 2px solid rgba(224,62,62,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: var(--ch, #e03e3e);
}
.cell-sub-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid;
  margin-bottom: 6px;
}
.cell-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 4px;
}
.cell-header p {
  font-size: 13.5px;
  color: var(--muted);
}

/* Layout */
.cell-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.cell-layout.reverse {
  grid-template-columns: 420px 1fr;
}
.cell-layout.reverse .cell-gallery { order: -1; }

/* Cell Details */
.cell-details { display: flex; flex-direction: column; gap: 28px; }

.cell-about h3,
.cell-objectives h3,
.cell-members h3,
.cell-activities h3,
.recruiters-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cell-about p {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

.cell-objectives ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cell-objectives li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #444;
  line-height: 1.5;
}
.cell-objectives li i { margin-top: 2px; flex-shrink: 0; }

/* Members Table */
.members-table {
  border: 1.5px solid #e8ecf4;
  border-radius: 10px;
  overflow: hidden;
}
.member-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.member-row span {
  padding: 10px 14px;
  font-size: 13px;
  color: #444;
  border-right: 1px solid #e8ecf4;
  border-bottom: 1px solid #e8ecf4;
}
.member-row span:last-child { border-right: none; }
.member-row.header span {
  background: var(--navy);
  color: var(--gold2);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.member-row:last-child span { border-bottom: none; }
.member-row:not(.header):hover span { background: #f8faff; }

/* Activity Tags */
.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.activity-tags span {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(201,168,76,.1);
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
  transition: background .2s;
}
.activity-tags span:hover { background: rgba(201,168,76,.2); }

/* Contact Box */
.cell-contact-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border: 1.5px solid;
  border-radius: 10px;
}
.cell-contact-box > i { font-size: 22px; margin-top: 2px; flex-shrink: 0; }
.cell-contact-box strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.cell-contact-box p { font-size: 13px; color: #555; line-height: 1.6; }
.cell-contact-box a { color: inherit; text-decoration: none; }
.cell-contact-box a:hover { text-decoration: underline; }

/* Placement Stats */
.placement-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.pstat {
  background: #fff;
  border: 1.5px solid #e8ecf4;
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pstat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ps, var(--gold));
}
.pstat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--ps, var(--gold));
  line-height: 1.2;
}
.pstat-label {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 500;
}

/* Recruiter Tags */
.recruiter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.recruiter-tags span {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(30,158,107,.08);
  color: #1e9e6b;
  border: 1px solid rgba(30,158,107,.25);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  transition: background .2s;
}
.recruiter-tags span:hover { background: rgba(30,158,107,.18); }

/* ═══════════════════════════════════════════════════
   CELL PHOTO GALLERY (Right Column)
════════════════════════════════════════════════════ */
.cell-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 80px;
}

.gallery-heading {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.cell-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cell-photo-item {
  border-radius: 10px;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  min-height: 100px;
}
.cell-photo-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.cell-photo-item i {
  font-size: 28px;
  color: rgba(255,255,255,.7);
}
.cell-photo-item span {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  line-height: 1.3;
}

.cell-photo-main {
  border-radius: 12px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  min-height: 130px;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.cell-photo-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.cell-photo-main i {
  font-size: 44px;
  color: rgba(201,168,76,.5);
}
.cell-photo-main span {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.95);
  font-family: 'Playfair Display', serif;
}
.cell-photo-main p {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}

/* Photo placeholder note */
.photo-note {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
  padding: 8px;
  background: rgba(0,0,0,.03);
  border-radius: 6px;
}

/* ═══════════════════════════════════════════════════
   CONTACT STRIP
════════════════════════════════════════════════════ */
.contact-strip {
  background: var(--navy);
  padding: 28px 32px;
}
.cstrip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cstrip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 180px;
}
.cstrip-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.cstrip-item h4 { font-size: 13px; color: #c8d3e8; font-weight: 600; margin-bottom: 3px; }
.cstrip-item p, .cstrip-item a {
  font-size: 12px;
  color: #8fa4c8;
  text-decoration: none;
  line-height: 1.5;
}
.cstrip-item a:hover { color: var(--gold2); }
.cstrip-divider {
  width: 1px; height: 48px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}
.cstrip-apply-btn, .cstrip-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.cstrip-apply-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy);
}
.cstrip-apply-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.cstrip-call-btn {
  background: transparent;
  color: var(--gold2);
  border: 1.5px solid var(--gold);
}
.cstrip-call-btn:hover { background: var(--gold); color: var(--navy); }

/* ═══════════════════════════════════════════════════
   FOOTER (reused from base styles.css via class names)
   These classes must match what's in styles.css
════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cell-layout,
  .cell-layout.reverse {
    grid-template-columns: 1fr;
  }
  .cell-layout.reverse .cell-gallery { order: 0; }
  .cell-gallery { position: static; }
  .cell-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .page-hero { padding: 40px 16px 36px; }
  .cells-overview { padding: 36px 16px; }
  .cell-section { padding: 40px 16px; }
  .cell-cards-grid { grid-template-columns: 1fr; }
  .cell-photo-grid { grid-template-columns: 1fr 1fr; }
  .placement-stats { grid-template-columns: repeat(2, 1fr); }
  .member-row { grid-template-columns: 1fr 1fr; }
  .member-row span:nth-child(3) { display: none; }
  .cstrip-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cstrip-divider { display: none; }
  .cell-header { flex-direction: column; gap: 14px; }
  .hero-quick-links { gap: 6px; }
  .hero-quick-links a { padding: 6px 12px; font-size: 11.5px; }
}

@media (max-width: 480px) {
  .cell-photo-grid { grid-template-columns: 1fr; }
  .placement-stats { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 24px; }
}
