/* Opportunities Adventure Center - Custom Styles
   Unique design system - blank slate, no shared frameworks or prior project DNA
   Primary: #0e34cd | Secondary: #c1bbb8
   Mobile-first, production-ready, accessible
*/

:root {
  --primary: #0e34cd;
  --primary-dark: #0a28a0;
  --primary-light: #3d5ce0;
  --secondary: #c1bbb8;
  --secondary-light: #e8e5e3;
  --secondary-dark: #9a9491;
  --dark: #1a1a1f;
  --text: #2d2d33;
  --text-muted: #5c5c66;
  --light: #f8f7f6;
  --white: #ffffff;
  --success: #0d9488;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(14, 52, 205, 0.08);
  --shadow-hover: 0 12px 32px rgba(14, 52, 205, 0.15);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 92px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 640px; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-sm { padding: 3rem 0; }

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(193, 187, 184, 0.4);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  text-decoration: none;
}

.logo-img {
  height: 68px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-img-white {
  height: 68px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text span { display: block; line-height: 1.15; }
.logo-text small { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); }

/* Full logo image — hide redundant text label */
.logo.has-full-logo .logo-text { display: none; }

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.nav a:hover,
.nav a.active {
  background: var(--secondary-light);
  color: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  color: white;
  border-color: var(--secondary-dark);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1.05rem;
}

.btn-block { width: 100%; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  display: block;
  padding: 0.9rem 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--secondary-light);
  color: var(--primary);
}

.mobile-nav .btn { margin-top: 1rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a1f6e 0%, #0e34cd 45%, #1a4ae0 100%);
  color: white;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  color: white;
  margin-bottom: 1.25rem;
}

.hero .lead {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero .btn-primary {
  background: white;
  color: var(--primary);
  border-color: white;
}

.hero .btn-primary:hover {
  background: var(--secondary-light);
  color: var(--primary-dark);
}

.hero .btn-outline {
  border-color: rgba(255,255,255,0.7);
  color: white;
}

.hero .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(193, 187, 184, 0.3);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-img {
  aspect-ratio: 16 / 10;
  background: var(--secondary-light);
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

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

.card-price {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--secondary-light);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
}

/* ===== Feature / Mission ===== */
.mission-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary);
}

.mission-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.05rem;
}

.mission-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: var(--primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}

.cta-banner h2 { color: white; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 1.75rem; max-width: 520px; margin-left: auto; margin-right: auto; }

.cta-banner .btn-primary {
  background: white;
  color: var(--primary);
  border-color: white;
}

.cta-banner .btn-primary:hover {
  background: var(--secondary-light);
}

/* ===== Forms ===== */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(193, 187, 184, 0.35);
  max-width: 640px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.form-group label .req { color: #dc2626; }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--secondary);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 52, 205, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-success.show { display: block; }

/* ===== FAQ ===== */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(193, 187, 184, 0.4);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.25rem;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform var(--transition);
}

.faq-item.open .faq-q::after { content: "−"; }

.faq-a {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
}

.faq-item.open .faq-a { display: block; }

/* ===== Testimonials ===== */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(193, 187, 184, 0.3);
  height: 100%;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.25rem;
  position: relative;
}

.testimonial-quote::before {
  content: "“";
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.25;
  position: absolute;
  top: -0.75rem;
  left: -0.5rem;
  font-family: Georgia, serif;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Contact info ===== */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--secondary-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.25rem;
}

.contact-item h4 { margin-bottom: 0.25rem; }
.contact-item p, .contact-item a { color: var(--text-muted); }

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; max-width: 280px; line-height: 1.55; }

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 0.3rem 0;
  font-size: 0.95rem;
}

.footer-col a:hover { color: white; }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  color: white;
  transition: background var(--transition), transform var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.powered-by a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.powered-by a:hover { color: white; }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.page-header {
  background: linear-gradient(135deg, #0a1f6e 0%, var(--primary) 100%);
  color: white;
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.page-header h1 { color: white; margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }

.two-col {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.placeholder-img {
  background: linear-gradient(145deg, var(--secondary-light), var(--secondary));
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem;
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .two-col { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.four { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 5.5rem 0; }
}

/* Focus visible for a11y */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus { top: 1rem; }
