/* ==========================================
   NISHTA FOUNDERS - SOCIO-TECH STYLESHEET
   ========================================== */

:root {
  --bg-main: #0a0f19;
  --bg-card: #111827;
  --bg-input: #1f2937;
  --border-color: rgba(255, 255, 255, 0.1);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent-blue: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

/* Header & Navigation */
.site-header {
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 2rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.logo-accent {
  color: #60a5fa;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.btn-trustee-login {
  background: transparent;
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-trustee-login:hover {
  background: rgba(96, 165, 250, 0.1);
  border-color: #60a5fa;
}

/* Main Content Wrapper */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Hero & Mission Section */
.hero-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.section-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero-section h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.mission-statement {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.declaration-box {
  background: rgba(10, 15, 25, 0.5);
  border-left: 3px solid var(--accent-blue);
  padding: 1.25rem;
  border-radius: 0 8px 8px 0;
}

.declaration-box h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.declaration-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Dividers */
.divider {
  border: none;
  height: 1px;
  background: var(--border-color);
  margin: 3rem 0;
}

/* Services Grid (Courses & Housing) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.program-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.program-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  position: relative;
  padding-left: 1.25rem;
}

.program-list li::before {
  content: "▪";
  color: var(--accent-blue);
  position: absolute;
  left: 0;
}

/* Buttons */
.btn-primary {
  background: var(--accent-blue);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-input);
  color: #fff;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-secondary:hover {
  background: #374151;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Reports Section */
.reports-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
}

.reports-section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.reports-section > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.report-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.report-card {
  background: rgba(10, 15, 25, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
}

.report-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.report-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 12px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.btn-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-close:hover {
  color: #fff;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-primary-full {
  width: 100%;
  padding: 0.75rem;
  background: var(--accent-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s ease;
}

.btn-primary-full:hover {
  background: var(--accent-hover);
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .main-content {
    padding: 1.5rem 1rem;
  }
  .hero-section {
    padding: 1.5rem;
  }
}

/* Wider modal container for multi-field intake forms */
.modal-card-wide {
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
}

/* Two-column layout for form fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

