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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  background: #0a0e14;
  color: #e6e6e6;
  line-height: 1.6;
  min-height: 100vh; /* Ensures full height for footer positioning */
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* White Header */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo-img {
  height: 90px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #00a0df;
}

.btn-primary {
  background: #00a0df;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary:hover {
  background: #008cc2;
}

/* Hero */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.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;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

/* CSS-only typing + permanent blinking red cursor */
.typing-text {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.8rem;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 4px solid #cc0000;
  width: 0;
  animation: 
    typing 3.5s steps(25, end) forwards,
    blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to   { width: 100% }
}

@keyframes blink-caret {
  from, to   { border-color: transparent }
  50%        { border-color: #cc0000 }
}

/* Mission Statement */
#services .container h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 700;
}

.mission-statement-text {
  text-align: center;
  font-size: 30px;
  color: #ffffff;
  margin-bottom: 3rem;
  font-weight: 400;
  line-height: 1.4;
}

/* Cards, metrics, forms, etc. */
.section { padding: 6rem 0; flex-grow: 1; }

.grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: 2rem; 
}

.card { 
  background: #111827; 
  padding: 2.5rem; 
  border-radius: 12px; 
  border: 1px solid #1e293b; 
  transition: transform 0.3s; 
}
.card:hover { transform: translateY(-8px); }
.card h3 { color: #00a0df; margin-bottom: 1rem; }
.card a { color: #60a5fa; text-decoration: none; font-weight: 600; }

.metrics { background: #0f1620; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; }
.stat .number { display: block; font-size: 3rem; font-weight: 700; color: #00a0df; margin-bottom: 0.5rem; }

.form { max-width: 600px; margin: auto; display: grid; gap: 1.5rem; }
input, textarea { 
  padding: 1rem; 
  border: 1px solid #1e293b; 
  background: #111827; 
  color: #e6e6e6; 
  border-radius: 6px; 
  font-size: 1rem; 
}
textarea { min-height: 150px; }
button.btn-primary { cursor: pointer; border: none; }

.quote-section { padding: 8rem 0 6rem; text-align: center; }
.quote-section h1 { font-size: 3rem; margin-bottom: 1rem; color: #00a0df; }

.quote-form { max-width: 700px; margin: 3rem auto 0; text-align: left; display: grid; gap: 1.8rem; }
.quote-form label { font-weight: 600; color: #cbd5e1; margin-bottom: 0.5rem; display: block; }
.quote-form input, .quote-form textarea { 
  width: 100%; 
  padding: 1.2rem; 
  border: 1px solid #1e293b; 
  background: #111827; 
  color: #e6e6e6; 
  border-radius: 8px; 
  font-size: 1rem; 
}
.quote-form textarea { resize: vertical; min-height: 160px; }
.quote-form button { margin-top: 1rem; padding: 1.2rem; font-size: 1.2rem; }

/* Footer – white on ALL pages, no extra lines, always at bottom */
footer {
  text-align: center;
  padding: 2rem 0;
  background: #ffffff;
  color: #1a1a1a;
  margin-top: auto;              /* Pushes footer to bottom of page */
  border: none;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links { flex-direction: column; gap: 1.5rem; }
  .hero { height: 60vh; min-height: 400px; }
  .hero h1 { font-size: 2.8rem; }
  .typing-text { font-size: 1.5rem; }
  .logo-img { height: 60px; }
  .mission-heading { font-size: 2.2rem; }
  .mission-statement-text { font-size: 24px; }
}

/* Contact page styles */
.contact-page {
  background: #ffffff;
  color: #1a1a1a;
}

.contact-hero-image {
  width: 100%;
  height: 25vh;
  overflow: hidden;
}

.contact-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-title {
  font-size: 4.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.4rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.contact-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-box {
  background: #0f1620;
  color: #e6e6e6;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  border: 2px solid #1e293b;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.contact-box:hover {
  transform: translateY(-10px);
  border-color: #00a0df;
  box-shadow: 0 0 30px rgba(0,160,223,0.7), inset 0 0 25px rgba(0,160,223,0.25);
}

.contact-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #00a0df;
}

.contact-box p {
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
}

.email-box {
  cursor: pointer;
}

.email-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
}

/* Email popup */
.email-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: #888;
}

.close-popup:hover {
  color: #000;
}

.popup-content h2 {
  margin-bottom: 1.5rem;
  color: #000;
  text-align: center;
}

#emailForm {
  display: grid;
  gap: 1.2rem;
}

#emailForm label {
  font-weight: 600;
  color: #333;
}

#emailForm input,
#emailForm textarea {
  padding: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background: #f9f9f9;
  color: #000000;           /* Black text when typing */
}

#emailForm button {
  padding: 1rem;
  font-size: 1.1rem;
  background: #00a0df;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#emailForm button:hover {
  background: #008cc2;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links { flex-direction: column; gap: 1.5rem; }
  .hero { height: 60vh; min-height: 400px; }
  .hero h1 { font-size: 2.8rem; }
  .typing-text { font-size: 1.5rem; }
  .logo-img { height: 60px; }
  .mission-heading { font-size: 2.2rem; }
  .mission-statement-text { font-size: 24px; }
  .contact-hero-image { height: 20vh; }
  .contact-info-section { padding: 3rem 0; }
  .contact-title { font-size: 3.2rem; }
  .contact-subtitle { font-size: 1.2rem; }
  .contact-box { padding: 1.8rem 1.3rem; }
}/* ── Logo click → home + 360 spin effect ── */
.logo-link {
  display: block;
  text-decoration: none;
}

.logo-img {
  height: 90px;
  width: auto;
  display: block;
  transition: transform 0.6s ease; /* smooth spin */
}

/* Spin animation when clicked */
.logo-link:active .logo-img,
.logo-link:focus .logo-img {
  animation: spin 0.6s ease; /* quick 360 spin on click */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Optional: subtle hover scale for extra polish */
.logo-link:hover .logo-img {
  transform: scale(1.08);
}
/* About section enhancements */
#about {
  background: #0f1620; /* Slightly different shade for visual separation */
}

#about h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: #00a0df;
}

#about p {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  color: #d1d5db; /* Slightly softer gray for readability */
  line-height: 1.7;
}

.license-info {
  text-align: center;
  font-size: 1rem;
  color: #94a3b8;
  margin-top: 2rem;
  font-weight: 500;
}

/* Optional: Add a subtle divider or call-to-action button */
#about .cta-button {
  display: block;
  width: fit-content;
  margin: 2rem auto 0;
  padding: 1rem 2rem;
  background: #00a0df;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

#about .cta-button:hover {
  background: #008cc2;
}
/* Bottom image on services page */
.services-bottom-image {
  margin-top: 4rem;
  text-align: center;
}

.bottom-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #1e293b;
}

.image-caption {
  margin-top: 1rem;
  font-size: 1rem;
  color: #94a3b8;
  font-style: italic;
}

/* Optional full-width version with overlay (uncomment if preferred) */
/*
.services-bottom-image {
  position: relative;
  margin-top: 4rem;
}
.bottom-image {
  width: 100%;
  object-fit: cover;
  max-height: 500px;
  border-radius: 12px;
}
.image-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
}
*/