/* =========================================
   Calm Minimal Cyber-Tech Theme (TCF)
   DESIGN LOCKED — DO NOT MODIFY WITHOUT REASON
   ========================================= */


/* ---------- Theme Variables ---------- */
:root {
  --primary: #5cc6c8;
  --accent: #8b7ed6;
  --muted: #e5e7eb;
  --muted-2: #b6bcc4;
  --bg: #0b1116;
  --card-bg: #0f1720;
  --border: rgba(255, 255, 255, 0.04);
  --max-width: 1280px;
  --pad: 20px;
  --radius: 12px;
}

/* ---------- Global ---------- */
* {
  box-sizing: border-box;
}

@font-face {
  /*font-family: "Robot 9000";*/
  /* src: url("/assets/fonts/robot9000/Robot9000-MVxZx.ttf") format("truetype"); */
  font-family: 'BatmanForever';
  src: url('/assets/fonts/batmfa__.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  /*font-family: "Robot 9000";*/
  /*src: url("/assets/fonts/robot9000/Robot9000Italic-YzxE8.ttf") format("truetype");*/
  font-family: 'BatmanForever';
  src: url('/assets/fonts/batmfa__.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--muted);
  font-family: "Space Grotesk", system-ui, sans-serif;
}

/* Cyber display font — headings only */
.brand-title,
.nav-link,
.hero-title,
.section-title,
.card h3,
.page-title {
  font-family: "BatmanForever", system-ui, sans-serif;
  letter-spacing: 0.06em;
  /* reduced for readability */
  text-transform: uppercase;
  font-weight: 500;
}


a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0;
  color: var(--muted-2);
  line-height: 1.65;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.hidden {
  display: none !important;
}

/* ---------- Section System ---------- */
.section {
  margin-top: 46px;
  background: transparent;
}

.section:first-child {
  margin-top: 0;
}

.section-header {
  margin-bottom: 24px;
}

.section-title {
  color: var(--primary);
  font-weight: 300;
  margin-bottom: 8px;
}

.section-desc {
  max-width: 720px;
  color: var(--muted-2);
  font-size: 1.2rem;
}

/* ---------- Header ---------- */
.site-header {
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  position: relative;
  z-index: 20;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: auto;
  height: 85px;
  border-radius: 8px;
}

.brand-title {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 500;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--muted-2);
}

/* nav */
.nav-links {
  display: flex;
  gap: 16px;
}

.nav-link {
  color: var(--muted-2);
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 8px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

/* mobile */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
}

.icon {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(11, 17, 22, 0.96);
  border-top: 1px solid var(--border);
  padding: 16px;
}

.mobile-link {
  display: block;
  padding: 10px 6px;
  color: var(--muted-2);
  border-radius: 6px;
}

.mobile-link:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

@media (min-width:901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---------- Main ---------- */
.main {
  padding: 96px 0 96px;
  background: transparent;
}

/* ---------- Hero ---------- */

/* Hero title OUTSIDE slideshow */
.hero {
  margin-bottom: 0px;
}

.hero-title {
  font-size: clamp(1.8rem, 3vw, 2rem);
  margin: 0 0 64px 0;
  text-align: center;
  font-weight: 600;
  color: #ffffff;
}

/* Hero subtitle (inside slideshow) */
.hero-sub {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto;
}

/* ---------- HERO CANVAS BACKGROUND ---------- */

.hero-canvas {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

/* canvas fills hero */
#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;

}


/* text stays above canvas */
.hero-canvas .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 220px;
  /* 👈 THIS creates top space */
  padding-bottom: 0px;
  text-align: center;
}

.hero.section {
  margin-top: 0;
}


/* ---------- Cards ---------- */
.card,
.announcement-card {

  padding: 18px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: 100%;

  background: rgba(15, 23, 32, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Prevent full-width buttons inside cards */
.announcement-card a {
  align-self: flex-start;
}

/* ---------- Team Member (LOCKED) ---------- */
.team-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  display: block;

  /* ✅ FIX: stops particles showing through */
  background: #0b121c;

  /* ✅ adds a clean cyber ring */
  border: 2px solid rgba(92, 198, 200, 0.35);

  /* ✅ ensures image stays on top */
  position: relative;
  z-index: 2;
}


/* ---------- Member Social Icons ---------- */

.member-socials {
  display: flex;
  justify-content: center;
  /* center under name */
  align-items: center;
  gap: 14px;
  /* space between icons */
  margin-top: 12px;
}

.member-social {
  width: 38px;
  /* ⬆️ increased */
  height: 38px;
  /* ⬆️ increased */
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.member-social svg {
  width: 18px;
  /* ⬆️ increased */
  height: 18px;
  /* ⬆️ increased */
  stroke: currentColor;
}

.member-social:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--primary);
}

/* Founder Faculty (About Page) */
.founder-faculty-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.founder-faculty-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 255, 255, 0.35);
  flex-shrink: 0;
}

.founder-faculty-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.founder-faculty-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #7ffcff;
  /* matches your neon theme */
  letter-spacing: 1px;
  text-transform: uppercase;
}

.founder-faculty-role {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  font-size: 14px;
}



/* Founder Faculty horizontal layout */
.founder-faculty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.btn-primary {
  background: transparent;
  border: 1px solid rgba(92, 198, 200, 0.25);
  color: var(--primary);
}

.btn-primary:hover {
  background: rgba(92, 198, 200, 0.08);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted-2);
}

/* ---------- Forms (Contact Page) ---------- */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--muted-2);
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border 0.2s ease, background 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: rgba(92, 198, 200, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

/* Textarea tweak */
.form-input textarea,
textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* ===== CONTACT DROPDOWN (TCF THEME) ===== */
select.form-input {
  background: rgba(10, 18, 28, 0.85);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(92, 198, 200, 0.45);
  border-radius: 14px;
  padding: 14px 16px;
  font-family: "Space Grotesk", sans-serif;
  outline: none;
}

/* Option list */
select.form-input option {
  background: #0b121c;
  /* dark theme */
  color: rgba(255, 255, 255, 0.9);
  padding: 12px;
}

/* Placeholder style */
select.form-input:invalid {
  color: rgba(255, 255, 255, 0.55);
}

/* On focus (glow effect) */
select.form-input:focus {
  border-color: rgba(92, 198, 200, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.12);
}

/* Form submit button spacing */
.announcement-card form .btn-primary {
  margin-top: 10px;
}

/* Event card container */
.event-card {
  overflow: hidden;
}

/* Event cover image */
.event-cover {
  width: 100%;
  height: 220px;
  /* ✅ control size */
  object-fit: cover;
  /* ✅ crop nicely */
  border-radius: 14px;
  margin-bottom: 14px;
  background: #0f1720;
}

/* EVENT VIEW DETAILS BUTTON */
.view-event-btn {
  width: 100%;
  margin-top: 14px;
  padding: 10px 16px;

  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);

  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;

  border-radius: 10px;
  cursor: pointer;

  transition: all 0.25s ease;
}

.view-event-btn:hover {
  background: rgba(92, 198, 200, 0.12);
  box-shadow: 0 0 0 1px rgba(92, 198, 200, 0.3);
}


@media (min-width: 1024px) {
  .event-cover {
    height: 260px;
  }
}

/* Hide Past / Upcoming label on event cards */
.event-type {
  display: none !important;
}


/* ---------- Magazine ---------- */

.magazine-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* ---------- Gallery Event Cards ---------- */

.gallery-event-card {
  overflow: hidden;
}

.gallery-event-cover {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 16px;
  background: #0f1720;
}

.gallery-event-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 🔥 THIS IS THE KEY */
  display: block;
}

.gallery-event-content {
  text-align: center;
  position: relative;
}

.gallery-event-hover {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-event-card:hover .gallery-event-hover {
  opacity: 1;
}

.gallery-event-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 14px;
  letter-spacing: 1px;
  color: #5cc6c8;
}

.gallery-event-card:hover .gallery-event-overlay {
  opacity: 1;
  cursor: pointer;
}


.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.gallery-modal.open {
  display: flex;
}

.gallery-modal-content {
  background: #0f1720;
  max-width: 90%;
  max-height: 90%;
  padding: 20px;
  border-radius: 12px;
  overflow-y: auto;
}

.gallery-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.gallery-modal-img {
  width: 100%;
  height: 260px;
  /* 🔑 FIXED HEIGHT */
  object-fit: cover;
  /* 🔑 SAME SIZE, CROPPED */
  border-radius: 14px;
  background: #0f1720;
}

.gallery-modal-close {
  background: none;
  color: white;
  border: none;
  font-size: 22px;
  float: right;
  cursor: pointer;
}

/* Fullscreen image viewer */
.image-viewer {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 15, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-viewer.hidden {
  display: none;
}

.image-viewer img {
  max-width: 92%;
  max-height: 92%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.image-viewer-close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 32px;
  color: #8be0e5;
  cursor: pointer;
}


/* ---------- Grids ---------- */
.events-grid,
.resources-grid,
.blog-grid,
.gallery-grid,
.team-grid,
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 0;
}

.contact-form-card {
  max-width: 760px;
  margin: 0 auto 48px;
}

/* ---------- Mission & Vision (LOCKED) ---------- */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.mv-title {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.mv-text {
  max-width: 520px;
  color: var(--muted-2);
}

/* ---------- Footer Layout Update ---------- */

.site-footer {
  margin-top: 72px;
  padding: 40px 0;

  /* 🔑 Very light glass tint */
  background: rgba(15, 23, 32, 0.22);

  /* 🔑 Minimal blur so animation stays visible */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  /* Very soft separator */
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}


.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.footer-brand-title {
  font-family: "BatmanForever", system-ui, sans-serif;
  color: var(--primary);
  letter-spacing: 0.06em;
  font-size: 2.1rem;
}

.footer-brand-sub {
  font-size: 0.85rem;
  color: var(--muted-2);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-email {
  color: var(--muted-2);
  font-size: 0.9rem;
}

.footer-email:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
}

.footer-social a:hover svg {
  stroke: var(--primary);
}

.footer-copy {
  margin-top: 20px;
  text-align: right;
  font-size: 0.85rem;
  color: var(--muted-2);
}

/* ---------- Responsive ---------- */
@media (max-width:900px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .team-grid,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Make event grid single-column */
  .resources-grid,
  .blog-grid,
  .gallery-grid,
  .events-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Event card full width */
  .event-card,
  .announcement-card {
    width: 100%;
    max-width: 100%;
  }

  /* Image wrapper */
  .event-cover {
    width: 100%;
    height: 220px;
    /* Adjust if needed */
    object-fit: cover;
    border-radius: 12px;
  }

  /* Better text spacing */
  .event-card .section-title {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .event-card .section-desc {
    font-size: 0.95rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .mission-vision {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .brand-logo {
    width: auto;
    height: 50px;
    border-radius: 8px;
  }


  .site-footer {
    padding: 40px 0;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .footer-copy {
    text-align: center;
  }

  /* Brand block */
  .brand-small {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-small-logo {
    width: 44px;
    height: 44px;
  }

  .brand-small-title {
    font-size: 1rem;
    line-height: 1.3;
    white-space: nowrap;
  }

  .brand-sub {
    font-size: 0.85rem;
  }

  /* Footer links */
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-link {
    font-size: 0.95rem;
  }


  /* Social */
  /* 🔑 ICON ON ITS OWN LINE */
  .footer-social {
    margin-top: 6px;
  }

  .footer-social-label {
    display: none;
    /* cleaner on mobile */
  }

  .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
  }

  .footer-social svg {
    width: 18px;
    height: 18px;
  }

  /* Footer mobile centering */
  .footer-mobile-center {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  /* Center icon */
  .footer-social-center {
    justify-content: center;
  }

  /* Copyright centered */
  .footer-copy-center {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted-2);
  }

  /* 🔑 COPYRIGHT BELOW ICON */
  .footer-copy {
    margin-top: 4px;
    text-align: center;
    max-width: 280px;
    line-height: 1.4;
  }

  .gallery-modal-grid {
    grid-template-columns: 1fr;
  }

  .gallery-modal-img {
    height: 240px;
  }

  .founder-faculty-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin-top: 16px;
  }

  .founder-faculty-img {
    width: 82px;
    height: 82px;
  }

  .founder-faculty-name {
    font-size: 16px;
    line-height: 1.3;
  }

  .founder-faculty-role {
    font-size: 13px;
    line-height: 1.5;
  }
}