/* ============================================
   VECTORIX — pages.css — All Inner Pages
   ============================================ */

/* ══════════════════════════════════════════
   SHARED — sub-section headers
══════════════════════════════════════════ */
.sub-section-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.sub-section-header h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* ══════════════════════════════════════════
   ABOUT PAGE — Two-column intro row
══════════════════════════════════════════ */
.about-intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 2.5rem 0 3rem;
}

.about-intro-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.about-intro-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  margin-bottom: 0;
}

.about-intro-block p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 1.5rem;
}

.about-intro-block p strong {
  color: var(--accent);
  font-weight: 400;
}

/* ══════════════════════════════════════════
   HERO LOGO DISPLAY — inner pages
   Scoped under .about-intro-image so it does
   NOT clash with home.css hero rings
══════════════════════════════════════════ */
.about-intro-image .hero-logo-display {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* Rings — scoped to avoid conflicts with home.css */
.about-intro-image .hex-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  pointer-events: none;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.about-intro-image .hex-ring-1 {
  border-width: 1px;
  border-color: rgba(245, 196, 0, 0.18);
  animation: pageRingSpin 18s linear infinite;
}

.about-intro-image .hex-ring-2 {
  width: 78%; height: 78%;
  top: 11%; left: 11%;
  border-width: 1px;
  border-style: dashed;
  border-color: rgba(245, 196, 0, 0.1);
  animation: pageRingSpin 12s linear infinite reverse;
}

.about-intro-image .hex-ring-3 {
  width: 56%; height: 56%;
  top: 22%; left: 22%;
  border-width: 1px;
  border-color: rgba(0, 212, 255, 0.15);
  animation: pageRingSpin 8s linear infinite;
}

@keyframes pageRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Logo images ── */
.main-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 0 20px rgba(245, 196, 0, 0.3));
}

.main-logoo {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 0 24px rgba(245, 196, 0, 0.2));
}

/* ── Badges — inner pages ── */
.about-intro-image .hero-badges {
  position: absolute;
  bottom: 10px;
  right: -10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}

.about-intro-image .hero-badge {
  background: rgba(3, 6, 9, 0.85);
  border: 1px solid var(--border);
  padding: 5px 10px;
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 4px 100%, 0 calc(100% - 4px));
}

.badge-icon { font-size: 11px; }

/* ══════════════════════════════════════════
   ABOUT PAGE — Philosophy & sections
══════════════════════════════════════════ */
.about-philosophy {
  background: rgba(245, 196, 0, 0.03);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1.5rem;
  margin-bottom: 3rem;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  font-style: italic;
}

/* — Mission Cards — */
.about-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.about-card {
  background: var(--bg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.about-card:hover { background: var(--bg2); }
.about-card:hover::before { height: 100%; }

.about-card-icon {
  width: 44px; height: 44px;
  background: rgba(245, 196, 0, 0.06);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 18px;
  transition: all 0.2s;
}
.about-card:hover .about-card-icon {
  background: rgba(245, 196, 0, 0.14);
  border-color: var(--accent);
}

.about-card h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.about-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
}

/* — Objectives — */
.about-objectives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.obj-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.obj-item:hover { border-color: rgba(245, 196, 0, 0.4); }

.obj-num {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.obj-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.obj-text strong {
  display: block;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 3px;
  font-size: 13px;
}

/* — Structure — */
.structure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.struct-card {
  background: var(--bg);
  padding: 2rem;
  text-align: center;
  transition: background 0.3s;
}
.struct-card:hover { background: var(--bg2); }

.struct-card-num {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 0.5rem;
}

.struct-card h4 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.struct-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   TEAM PAGE
══════════════════════════════════════════ */
.team-intro {
  font-size: 14px;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.85;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.team-card {
  background: var(--bg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: none;
}

.team-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.team-card:hover { background: var(--bg2); }
.team-card:hover::after { transform: scaleX(1); }

.team-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(245, 196, 0, 0.08);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}
.team-card:hover .team-avatar { border-color: var(--accent); }

.team-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: -0.3px;
}

.team-role {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.team-socials { display: flex; gap: 8px; }

.team-social {
  width: 28px; height: 28px;
  background: rgba(245, 196, 0, 0.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0;
}
.team-social:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(245, 196, 0, 0.12);
}

.team-cta {
  background: rgba(245, 196, 0, 0.04);
  border: 1px solid var(--border);
  padding: 2.5rem;
  text-align: center;
}

.team-cta h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.team-cta p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════
   PROJECTS PAGE
══════════════════════════════════════════ */
.projects-filter {
  display: flex;
  gap: 6px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  cursor: none;
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: rgba(245, 196, 0, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.proj-card {
  background: var(--bg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.proj-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.proj-card:hover { background: var(--bg2); }
.proj-card:hover::before { height: 100%; }
.proj-card.hidden { display: none; }

.proj-num {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0.45;
}

.proj-icon-area {
  width: 48px; height: 48px;
  background: rgba(245, 196, 0, 0.06);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 20px;
  transition: all 0.2s;
}
.proj-card:hover .proj-icon-area {
  background: rgba(245, 196, 0, 0.14);
  border-color: var(--accent);
}

.proj-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.proj-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.proj-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.proj-tech {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(245, 196, 0, 0.05);
  border: 1px solid rgba(245, 196, 0, 0.1);
}

.proj-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.proj-btn-sm {
  font-size: 10px;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 5px 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--mono);
  cursor: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.proj-btn-sm:hover {
  border-color: var(--accent);
  background: rgba(245, 196, 0, 0.07);
}

.proj-cta {
  background: rgba(245, 196, 0, 0.04);
  border: 1px solid var(--border);
  padding: 2.5rem;
  text-align: center;
}
.proj-cta h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.proj-cta p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════
   EVENTS PAGE
══════════════════════════════════════════ */
.events-intro {
  font-size: 14px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 3rem;
  line-height: 1.85;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.event-card {
  background: var(--bg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  transition: width 0.4s ease;
}

.event-card:hover { background: var(--bg2); }
.event-card:hover::before { width: 100%; }
.event-card.featured { border-left: 2px solid var(--accent); }

.event-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 1.25rem;
}
.event-status.upcoming {
  color: #00f5a0;
  background: rgba(0, 245, 160, 0.06);
  border: 1px solid rgba(0, 245, 160, 0.2);
}
.event-status.past {
  color: var(--muted);
  background: rgba(90, 106, 120, 0.06);
  border: 1px solid var(--border);
}
.event-status.upcoming::before {
  content: '';
  width: 6px; height: 6px;
  background: #00f5a0;
  border-radius: 50%;
  animation: pulseLive 2s infinite;
}
@keyframes pulseLive {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,245,160,0.4); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 4px rgba(0,245,160,0); }
}

.event-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.event-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 11px;
  color: var(--muted);
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.event-meta-item span { color: var(--accent); }

.event-btns { display: flex; gap: 8px; }

/* ══════════════════════════════════════════
   MENTORSHIP PAGE
══════════════════════════════════════════ */
.mentorship-intro {
  font-size: 14px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 3rem;
  line-height: 1.85;
}

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

.mentor-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.mentor-panel::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: var(--accent);
}

.mentor-panel h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.mentor-panel p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.domain-card {
  background: var(--bg);
  padding: 1.5rem;
  text-align: center;
  transition: background 0.3s;
  cursor: none;
}
.domain-card:hover { background: var(--bg2); }

.domain-icon { font-size: 24px; margin-bottom: 0.75rem; }

.domain-name {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.domain-card:hover .domain-name { color: var(--accent); }

/* ══════════════════════════════════════════
   BLOG / RESOURCES PAGE
══════════════════════════════════════════ */

/* ─── BLOG CONTROLS: SEARCH + SORT ─── */
.blog-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.blog-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 180px;
  max-width: 380px;
  border: 1px solid var(--border);
  background: var(--bg2, #0d0d0d);
  transition: border-color 0.2s;
}
.blog-search-wrap:focus-within {
  border-color: var(--accent);
}

.blog-search-icon {
  position: absolute;
  left: 12px;
  color: var(--muted);
  pointer-events: none;
  flex-shrink: 0;
}

.blog-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text, #fff);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 9px 32px 9px 34px;
  caret-color: var(--accent);
}
.blog-search-input::placeholder { color: var(--muted); }

.blog-search-clear {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  transition: color 0.15s;
}
.blog-search-clear:hover { color: var(--accent); }

.blog-sort-wrap { flex-shrink: 0; }

.blog-sort-select {
  background: var(--bg2, #0d0d0d);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 12px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23888' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.blog-sort-select:hover,
.blog-sort-select:focus {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 600px) {
  .blog-controls { flex-direction: column; align-items: stretch; }
  .blog-search-wrap { max-width: 100%; }
}

.blog-intro {
  font-size: 14px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 2rem;
  line-height: 1.85;
}

.blog-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.blog-cat {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  cursor: none;
  transition: all 0.2s;
}
.blog-cat:hover,
.blog-cat.active {
  background: rgba(245, 196, 0, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.blog-card {
  background: var(--bg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: none;
}

.blog-card::after {
  content: '→';
  position: absolute;
  bottom: 2.5rem; right: 2.5rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.2s;
  font-size: 14px;
}
.blog-card:hover { background: var(--bg2); }
.blog-card:hover::after { opacity: 1; transform: none; }

.blog-cat-tag {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.blog-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.blog-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.blog-meta {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ══════════════════════════════════════════
   JOIN PAGE
══════════════════════════════════════════ */
.join-intro {
  font-size: 14px;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.85;
}

.join-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.join-roles-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.role-card {
  background: var(--bg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: background 0.2s;
  cursor: none;
}
.role-card:hover { background: var(--bg2); }

.role-icon { font-size: 22px; flex-shrink: 0; }

.role-title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}

.role-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.join-note {
  background: rgba(245, 196, 0, 0.04);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.join-note p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
}

.join-note p span { color: var(--accent); }

/* — Join Form — */
.join-form {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.form-field {
  background: var(--bg);
  padding: 0;
  position: relative;
}

.form-field label {
  display: block;
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 1.25rem 0.4rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  padding: 0 1.25rem 1rem;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-field select option {
  background: var(--bg);
  color: var(--text);
}

.form-field textarea { min-height: 100px; }

.form-field:focus-within {
  background: var(--bg2);
  outline: 1px solid var(--accent);
}

.form-submit {
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: none;
  width: 100%;
  transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.88; }

/* ══════════════════════════════════════════
   PARTNERS PAGE
══════════════════════════════════════════ */
.partners-intro {
  font-size: 14px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 3rem;
  line-height: 1.85;
}

.why-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.why-card {
  background: var(--bg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.why-card:hover { background: var(--bg2); }
.why-card:hover::before { height: 100%; }

.why-icon { font-size: 28px; margin-bottom: 1rem; }

.why-card h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.partner-slot {
  background: var(--bg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
  min-height: 100px;
}
.partner-slot:hover {
  background: var(--bg2);
  color: var(--accent);
}

.partner-cta {
  background: rgba(245, 196, 0, 0.04);
  border: 1px solid var(--border);
  padding: 3rem;
  text-align: center;
}

.partner-cta h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.partner-cta p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-headline {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.contact-headline .hollow {
  -webkit-text-stroke: 1.5px var(--accent);
  color: transparent;
  display: block;
}

.contact-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  max-width: 380px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.contact-link-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-family: var(--mono);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  cursor: none;
}

.contact-link-row::after {
  content: '→';
  position: absolute;
  right: 1.5rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.2s;
}
.contact-link-row:hover { background: var(--bg2); color: var(--accent); }
.contact-link-row:hover::after { opacity: 1; transform: none; }

.contact-link-icon {
  width: 36px; height: 36px;
  background: rgba(245, 196, 0, 0.06);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.contact-link-row:hover .contact-link-icon {
  background: rgba(245, 196, 0, 0.14);
  border-color: var(--accent);
}

.contact-link-label {
  display: block;
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════
   RESPONSIVE — ALL PAGES
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-intro-row          { grid-template-columns: 1fr; gap: 2rem; }
  .about-intro-image        { order: 1; }
  .about-grid-3             { grid-template-columns: 1fr; }
  .about-objectives         { grid-template-columns: 1fr; }
  .structure-grid           { grid-template-columns: 1fr; }
  .team-grid                { grid-template-columns: 1fr; }
  .projects-grid            { grid-template-columns: 1fr; }
  .events-grid              { grid-template-columns: 1fr; }
  .mentorship-grid          { grid-template-columns: 1fr; }
  .domains-grid             { grid-template-columns: repeat(2, 1fr); }
  .blog-grid                { grid-template-columns: 1fr; }
  .join-layout              { grid-template-columns: 1fr; }
  .why-partner-grid         { grid-template-columns: 1fr; }
  .partners-logos           { grid-template-columns: repeat(2, 1fr); }
  .contact-layout           { grid-template-columns: 1fr; }

  .about-intro-image .hero-logo-display { width: 220px; height: 220px; }
  .main-logoo               { max-width: 220px; }
  .main-logo                { max-width: 160px; }
}

@media (max-width: 768px) {
  .domains-grid             { grid-template-columns: repeat(2, 1fr); }
  .about-intro-image .hero-logo-display { width: 180px; height: 180px; }
  .about-intro-image .hero-badges { display: none; }
}
/* ══════════════════════════════════════════
   BLOG MODAL
══════════════════════════════════════════ */
.blog-card {
  cursor: none !important;
}

.blog-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  padding: 2rem 1rem;
  animation: fadeModalIn 0.25s ease both;
}

@keyframes fadeModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.blog-modal.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.blog-modal-inner {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  max-width: 760px;
  width: 100%;
  padding: 3rem 2.5rem 2.5rem;
  margin: auto;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  animation: slideModalUp 0.3s cubic-bezier(0.4,0,0.2,1) both;
  box-shadow: 0 0 60px rgba(0,0,0,0.6), inset 0 0 40px rgba(124,58,255,0.04);
}

@keyframes slideModalUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}

.blog-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(124,58,255,0.08);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: none;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.blog-modal-close:hover {
  background: rgba(124,58,255,0.18);
  border-color: var(--accent);
  color: var(--text);
}

.blog-modal-cat-tag {
  font-size: 10px;
  color: var(--accent2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
  font-family: var(--mono);
}

.blog-modal-title {
  font-family: var(--display2);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.blog-modal-meta {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  font-family: var(--mono);
}

.blog-modal-content {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

.blog-modal-content h3 {
  font-family: var(--display2);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 1.75rem 0 0.5rem;
  letter-spacing: -0.2px;
}

.blog-modal-content h3:first-child {
  margin-top: 0;
}

.blog-modal-content p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.blog-modal-content strong {
  color: var(--accent2);
}

@media (max-width: 600px) {
  .blog-modal-inner {
    padding: 2rem 1.25rem 2rem;
  }
}
