/* style.css */
/* Updated 1/14/2026 @ 7:50 pm */


/* =============================================
   Index of Contents
   =============================================*/

/* 1. Import Fonts and Define CSS Variables */
/* 2. Global Styles */
/* 3. Text Styles */
/* 4. Header Styles */
/* 5. Content Container Styles */
/* 6. Main Content Styles */
/* 7. Footer Styles */
/* 8. Input and Button Styles */
/* 9. Hero Section Styles */
/* 10. Vimeo Container Styles */
/* 11. Section Styles */



/* Import Fonts from Google*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Orbitron:wght@400..900&family=Press+Start+2P&family=Space+Mono:ital@0;1&display=swap');

/* CSS Variables for Colors and Fonts*/
:root {
  --primary: #187BC7; /* Above Blue */
  --primary-contrast: #ffffff; /* White on primary */
  --destructive: #ff5e39; /* Red for warnings/errors */
  --success: #73c886; /* Green for success */
  --text-default: #000000; /* Black text */
  --text-light: #e3e3e5; /* Light gray text */
  --bg-dark: #000000; /* Black background */
  --bg-medium: rgb(34,34,34); /* Dark gray background */
  --bg-light: #ffffff; /* White background */
  --surface: #d9d9d9; /* Light gray surface */
  --font-default: 'Montserrat', sans-serif; /* Primary font */
  --font-title: 'Orbitron', sans-serif; /* Accented titles */
  --font-mono: 'Space Mono', monospace; /* Inputs/code */
  --font-retro: 'Press Start 2P', cursive; /* LCD/retro effects */
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
}


/* Global Styles */
body {
  font-family: var(--font-default);
  padding: 0;
  padding-top: 0 !important;
  margin: 0;
  color: var(--text-default);
  background-color: var(--bg-light);
  line-height: 1.5 rem;
}

.hidden {
  display: none !important;
} 


/* ==============================================
   Text Styles
   =============================================*/

h1, .heading-1 {
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 1px;
  margin: 0 0 20px;
}

h2, .heading-2 {
  font-family: var(--font-default);
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 300;
  color: var(--text-light);
  margin: 0 0 15px;
}

h3, .heading-3 {
  font-family: var(--font-default);
  font-size: clamp(1.0rem, 3.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text-light);
  margin: 0 0 10px;
}

h4, .heading-4 {
  font-family: var(--font-default);
  font-size: clamp(1.0rem, 3.2vw, 1.5rem);
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 10px;
}

h5, .heading-5 {
  font-family: var(--font-default);
  font-size: clamp(0.9rem, 2.9vw, 1.1rem);
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 10px;
}

p, .body-text {
  font-family: var(--font-default);
  font-size: clamp(0.8rem, 2.8vw, 1.0rem); 
  font-weight: 500;
  line-height: 1.9 rem;
  color: var(--text-light); 
  margin: 0 0 15px;
}

.body-text-dark {
  color: var(--text-default);
}

.body-text-blue {
  color: var(--primary);
}

.body-text-red {
  color: var(--destructive);
}

.body-text-small {
  font-size: 0.7 rem;
  line-height: 1.6 rem;
}

@media (max-width: 480px) {
  html {
    font-size: 15px;   /* Safety net – clamp still works, scales the entire site on a smaller screen */
  }
}

/* ==============================================
   List styles
   =============================================*/

/* Modern space-age bullet list – subtle glow + no traditional bullets */
ul, ol {
  list-style: none;
  padding-left: 0;
  margin: 1.8rem 0;
}

li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1.1rem;
  font-size: clamp(1rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  color: var(--text-light);
}

li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
  text-shadow: 
    0 0 6px rgba(24, 123, 199, 0.7),
    0 0 12px rgba(24, 123, 199, 0.4);
  transform: translateY(2px);
}

li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0.65rem;
  top: 1.9rem;
  bottom: -0.9rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary) 0%, transparent 80%);
  opacity: 0.25;
}

/* Feature List - stylized list with orb bullets */

.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.2rem;
  margin: 2rem 0;
}

.feature-list li {
  background: rgba(24, 123, 199, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(24, 123, 199, 0.18);
  border-radius: 12px;
  padding: 1.1rem 1.4rem 1.1rem 3.2rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.feature-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(24,123,199,0.22);
  border-color: rgba(24,123,199,0.45);
}

.feature-list li::before {
  content: '⦿';
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.5rem;
  opacity: 0.9;
  text-shadow: 0 0 10px currentColor;
}

/* Space List - stylized list with arrow bullets */

ul.space-list {
  list-style: none;
  padding-left: 0;
}

ul.space-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 2.4rem;
  transition: all 0.25s ease;
  color: #e0e0ff;
}

ul.space-list li:hover {
  color: white;
  transform: translateX(6px);
}

ul.space-list li::before {
  content: '→';
  position: absolute;
  left: 0.4rem;
  top: 0.8rem;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px currentColor;
}

ul.space-list li:hover::before {
  left: 0.8rem;
  text-shadow: 0 0 16px var(--primary), 0 0 24px rgba(24,123,199,0.6);
}

/* =============================================
   Header Styles 
   =============================================*/

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 88px;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease-in-out;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 5px 40px;
  min-height: 65px;
}

header img {

  min-height: 95px;
  transition: height 0.5s ease;
}

header.scrolled img {
  min-height: 75px;
}

nav {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 700px;
  min-height: 40px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-family: var(--font-default);
  transition: color 0.2s ease;
}

nav a:hover {
  color: #00d4ff; /* Cyan accent from provided CSS */
}

@media (max-width: 768px) {
  header {
    padding: 12px 20px;
    flex-direction: column;
    gap: 10px;
  }

  header.scrolled {
    padding: 8px 20px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* ==============================================
   Content Container - used for all main content sections
   ============================================== */
.content-container {
  width: 100%;
  min-width: 220px;                /* never narrower than this */
  max-width: 1200px;
  margin: 0 auto; 
  padding: 0 30px 100px 30px; 
  box-sizing: border-box;          /* padding doesn't increase total width */
  background-color: var(--bg-medium);
}

/* Slightly larger gutters on very wide screens */
@media (min-width: 1400px) {
  .content-container {
    padding: 0 40px 100px 40px;
  }
}

/* Reduce side padding on mobile for more usable space */
@media (max-width: 768px) {
  .content-container {
    padding: 0 15px 100px 15px;
  }
}

/* ==============================================
  Main Content Styles 
  =============================================== */

main {
  padding: 0;
  margin-top: 0;
  background-color: var(--bg-dark); /* Dark background for space theme */
  color: var(--text-light);
}

main h1 {
  text-align: center;
  margin-bottom: 30px;
}

main p {
  line-height: 1.9 rem;
}

main ul {
  list-style-type: disc;
  padding-left: 20px;
}

main a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s ease;
}

main a:hover {
  color: #00d4ff;
}

/* =============================================
   Footer Styles 
   =============================================*/

footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 30px 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9 rem;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-columns > div:nth-child(1) { flex: 2; min-width: 300px; }   /* Company desc double width */
.footer-columns > div:nth-child(2),
.footer-columns > div:nth-child(3) { flex: 1; min-width: 200px; }

.copyright {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  
}

.copyright a {
  color: white;
  text-decoration: none;
  margin: 0 15px;           /* ← this creates even space on both sides */
}

.copyright a:hover {
  text-decoration: underline;
}

footer h3 {
  font-family: var(--font-default);
  font-weight: bold;
  margin-bottom: 10px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 5px;
}

footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

footer form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer input {
  padding: 10px;
  border: 1px solid var(--surface);
  border-radius: 4px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

footer button {
  padding: 10px;
  background-color: var(--bg-light);
  color: var(--text-default);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

footer button:hover {
  background-color: var(--primary-contrast);
}

footer .social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  footer { padding: 20px; }
  .footer-columns { flex-direction: column; justify-content: flex-start; }
  .footer-columns > div { flex: 1 !important; min-width: 100%; }
}

/* Make the paragraph and links stack nicely on very small screens */
@media (max-width: 480px) {
  .copyright {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .copyright a {
    margin: 0;              /* reset horizontal margin when stacked */
  }
}


/* Back to Top Button - lower left, appears on scroll */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;               /* lower right corner */
  width: 50px;
  height: 50px;
  background-color: rgba(0, 145, 255, 0.8); /* semi-transparent --primary blue */
  color: white;
  border: none;
  border-radius: 50%;       /* circular like many modern designs */
  font-size: 1.7 rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;             /* above most content */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary); /* #0091ff full opacity */
  transform: translateY(-3px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    left: 20px;
    font-size: 1.5 rem;
  }
}




/* =============================================
   Input and Button Styles
   =============================================*/

input, textarea {
  font-family: var(--font-mono);
  font-size: 0.8 rem;
  padding: 10px;
  border-bottom: 1px solid var(--surface); /* Underline style */
  background: none;
  color: var(--text-light);
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus {
  border-bottom-color: var(--primary);
}

button.primary {
  background-color: var(--bg-light);
  color: var(--text-default);
  border: 1px solid var(--text-default);
  padding: 5px 10px;
  font-family: var(--font-default);
  font-size: 1.15 rem;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow 0.1s ease, background-color 0.2s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

button.primary:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.25);
}

button.primary:active {
  box-shadow: none;
}

button.secondary {
  background-color: var(--surface);
  color: var(--text-default);
  border: none;
}

button.warning {
  background-color: var(--destructive);
  color: var(--primary-contrast);
}

/* =============================================
   Hero Section Styles
   ============================================= */

.hero-small-bg {
  position: relative;
  width: 100%;
  height: 20vh !important;          /* Partial height */
  overflow: hidden;       /* Clips any overflow from the video */
  margin: 0;
  padding: 0;
  background: #000;       /* Fallback color during load */
}


.hero-video-bg {
  position: relative;
  width: 100%;
  height: 100vh !important;          /* Full viewport height */
  overflow: hidden;       /* Clips any overflow from the video */
  margin: 0;
  padding: 0;
  background: #000;       /* Fallback color during load */
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;      /* This ensures fill + crop, no black bars */
  z-index: 1;             /* Below any future overlay/text if needed */
}

.hero-text {
  margin: 0 auto;
  padding: 60px 0;
  color: var(--text-light);
}

.hero-text p {
  font-size: clamp(1.5rem, 5vw, 1.8rem);
  font-weight: 700;
  line-height: clamp(1.7rem, 6vw, 2.2rem);
  word-spacing: clamp(0.4rem, 1vw, 0.5rem);
  text-align: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  margin-bottom: 1.8rem;
  color: var(--primary);
}

.vimeo-player-container {
  margin: 40px auto;
}


/* Responsive Adjustments */
@media (max-width: 768px) {

  .hero-video-bg {
    height: 100vh;
    min-height: 500px;
  }
  .hero-text {
    padding: 40px 15px 30px;
  }
  .hero-text h1 {
    font-size: 2.4rem;
  }
}

/* =============================================
   Vimeo Container Styles
   ============================================= */

.vimeo-container {
  width: 100%;
  margin: 40px auto;
  min-height: 200px;
  text-align: center;
}

.vimeo-inner-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}


/* =============================================
   Section Styles
   ============================================= */

.error-section {
  width: 100%;
  max-width: 1400px;
  text-align: center;
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(0.1rem, 8vw, 0.5rem);
}


.services, .programs{
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(0.1rem, 8vw, 0.5rem);
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  border-radius: 0;
  transition: all 0.35s ease;
  cursor: pointer;
}

.service-card:hover {
  background-color: rgba(99, 99, 99, .15);
  border-radius: 12px;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 145, 255, 0.02); 
}

.service-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image {
  transform: scale(1.04);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(34,34,34,1) 0%, transparent 100%);
  color: #ddd;
  font-size: clamp(0.78rem, 1.8vw, 0.9rem);
  padding: clamp(0.8rem, 2vw, 1.2rem) 1.2rem;
  line-height: 1.45;
  text-align: left;
}

.service-content {
  padding: clamp(1.2rem, 3vw, 1.8rem) 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}



.service-content p {
  font-size: clamp(0.92rem, 2.3vw, 1.05rem);
  line-height: 1.6;
  margin: 0;
  opacity: 0.92;
}

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

/* Mobile stacking + adjustments */
@media (max-width: 1024px) {
  .programs-grid-three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .programs-grid-three {
    grid-template-columns: 1fr;
  }
}



/* =============================================
   Accordian Styles
   ============================================= */

.accordian {
  margin: 0 auto;
  color: var(--text-default);
}

.accordian h5 {
  color: var(--text-default);
  margin: 0 0 0 2rem;
}

.accordian-item {
  margin-bottom: 1rem;
  border: 1px solid #e3e3e5;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-medium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.accordian-item summary {
  padding: 1.2rem 1.5rem;
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  list-style: none; /* Hide default marker */
  transition: background-color 0.3s ease;
  user-select: none;
}

.accordian-item summary::-webkit-details-marker { display: none; } /* Chrome/Safari hide arrow */
.accordian-item summary::before {
  content: '▼';
  color: var(--primary);
  transform: rotate(270deg);
  float: left;
  transition: transform 0.7s;
}

.accordian-item[open] summary::before {
  transform: rotate(360deg);
}

.accordian-item summary h3 {
  margin: 0;
  font-size: 1.3rem;
}

.accordian-text {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 1.5rem;
}

.accordian-photo {
  flex: 0 0 180px;
}

.circular-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.accordian-content {
  flex: 1;
  line-height: 1.7;
}

.accordian-content p {
  margin-bottom: 1.2rem;
}

.accordian-content h5 {
  margin: 1.5rem 0 0.8rem;
  color: var(--primary);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .accordian-text {
    flex-direction: column;
    align-items: center;
  }
  .accordian-photo {
    margin: 0 auto;
  }
}